23.04.2015 Views

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

ISOCAM Interactive Analysis User's Manual Version 5.0 - ISO - ESA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

80 CHAPTER 12. DATA SLICING<br />

CIA> nscd = sscd_get( ’nscd’, erd_sscd )<br />

CIA> print, nscd<br />

41<br />

Using a simple IDL loop we can convert all the ERD SCDs to SPD SCDs in one line:<br />

CIA> spd_scds = strarr( nscd )<br />

CIA> for i = 0, nscd - 1 do spd_scds[i] = erd2spd( erd_scds[i], $<br />

CIA> ssid=erd_sscd, /del)<br />

Note that the del keyword is set to delete the ERD SCDs from memory as the SPD<br />

SCDs are created.<br />

Finally, for convenience create a new variable containing the name of the SPD SSCD.<br />

Since the name of SSCD is unchanged this is achieved by copying the variable erd sscd:<br />

CIA> spd_sscd = erd_sscd<br />

NowwecanremovetheoldERD SSCD and its ERD SCDs from disk.<br />

sscd remove to do just that.<br />

We can use<br />

CIA> sscd_remove, erd_sscd, dir=scd_dir<br />

Finally we can save the SPD SSCD with its new SPD SCDs.<br />

CIA> sscd_write, spd_sscd, dir=scd_dir<br />

5. As an alternative to the above steps using spdtoscd we can directly create SPD SCDs in<br />

memory (and on disk) with the SPD data product:<br />

CIA> spdtoscd, ’cisp14300601.fits’, spd_sscd, dir=product_dir, $<br />

CIA> scd_dat=scd_dir, ack=ack<br />

6. Our next step is to find the data we require from the SSCD. The whole AOT is contained<br />

within the SSCD, but we may be only interested in a single CONFIGURATION. In our<br />

example here, we have a raster observation with two CONFIGURATIONs, one for filterwheel<br />

LW6 and one for LW3, and in addition several STATEs corresponding to internal<br />

calibrations and detector stabilisation.<br />

We can get an overview of the contents of the SSCD with sscd info – it lists important<br />

parameters of all the SCDs in an SSCD. (These parameters are simply values extracted<br />

from fields within the SCD structure.) The contents of the SCDs are in fact a history of<br />

the observation. Reading down through the list below you can see the behaviour of CAM<br />

through out the AOT. In particular, look out for which filter (the field FLTRWHL) and<br />

which OP-MODE (the field MODE) is given for each SCD. Remember, in this observation<br />

the filter defines the difference between the two CONFIGURATIONs.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!