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 D<br />

Guidelines for writing CIA routines<br />

D.1 Introduction<br />

Users are encouraged to supply their own routines for inclusion into CIA. In such cases it is<br />

asked that the following be understood.<br />

• Routines should not duplicate existing code or data structures. If in doubt, please ask<br />

before coding! Additional data structures will not be permitted.<br />

• Supplying a routine to CIA carries with it an implicit agreement to its distribution to all<br />

CIA sites.<br />

• It should be clear to all parties involved with whom responsibility for the maintenance of<br />

the routine lies.<br />

• Routines should conform to the requirements outlined in Section D.2.<br />

Users can also supply routines to be distributed with CIA as contributed routines (found in<br />

the directory $cia vers/contrib. These are not supported by the CIA team. Bug reports should<br />

be made directly to the author.<br />

D.2 Basic requirements<br />

Please ensure that your routine conforms to the following requirements:<br />

• All files must contain a header (see Section D.3 below).<br />

• A routine should display its calling parameters if it is called without any parameters.<br />

• High and medium level routines should use the CIA error reporting conventions (CIA is<br />

full of examples). Normally this will be routines in the ‘User’ category.<br />

• Mask handling and the setting of undefined values should follow the appropriate conventions.<br />

323

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

Saved successfully!

Ooh no, something went wrong!