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.

Appendix I<br />

Upgrading old CIA structures<br />

Structures created in previous versions of CIA will need some upgrading to be 100% compatible<br />

with CIA 3.0.<br />

I.1 Upgrading CIA 2.0 structures<br />

• Since the MAR98 version of CIA there are unit tags in the PDSs: .CUBE UNIT, .IM-<br />

AGE UNIT and .RASTER UNIT. If you want to use conv flux on a BS PDS or raster<br />

PDS, then you will need to add .RASTER UNIT to a pre-MAR98 PDS and fill it with<br />

‘ADU/gain/sec’ (assuming you have not already manually changed the units). Likewise,<br />

for a CVF PDS and general PDS you will need to add .IMAGE UNIT. This can be done<br />

with IDL’s CREATE STRUCT.<br />

CIA> new_pds = create_struct( temporary( old_pds ), ’raster_unit’,<br />

CIA> ’ADU/gain/sec’ )<br />

Use IDL’s TEMPORARY to prevent making a duplicate copy of the structure while appending<br />

the new tag.<br />

I.2 Upgrading CIA 1.0 structures<br />

• There is a small bug in the .ASTR substructure of the CIA 1.0 CVF PDS: the type of<br />

the field .ASTR.CDELT is float instead of double. This problem will only manifest itself<br />

when you attempt to load a CIA 1.0 CVF PDS when you have a definition of the ASTR<br />

structure already in memory, eg. .ASTR in a CIA 3.0 raster PDS.<br />

CIA> restore, ’old_cvf.xdr’<br />

% RESTORE: Unable to restore structure, tag type disagrees with<br />

existing definition: ASTR_STRUC.<br />

% Temporary variables are still checked out - cleaning up...<br />

Though small, this problem is awkward to solve. Open a second CIA session in parallel<br />

with your first. In this new session load the CVF PDS as attempted above.<br />

347

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

Saved successfully!

Ooh no, something went wrong!