Converts an IRCAM data file to a series of NDFs
"
Notes"
for a detailed list of the rules of the conversion. "STARE"
— the image of the object or sky;
"CHOP"
— the chopped image of the sky;
"KTCSTARE"
— the electronic pedestal or bias associated with the stare image of the object
or sky;
"KTCCHOP"
— the electronic pedestal or bias associated with the chopped image of the
sky.Note that at the time of writing chopping has not been implemented for IRCAM. For practical
purposes CONFIG="STARE"
should be used. The suggested default is the current value. ["STARE"]
FALSE
, the data type of the data array in the NDF will be the same as that in the IRCAM
file, and there is no scale factor and offset applied. If FMTCNV is TRUE
, whenever the IRCAM
observation has non-null scale and offset values, the observation data array will be converted
to type _REAL in the NDF, and the scale and offset applied to the input data values to
give the ‘true’ data values. A null scale factor is 1 and a null offset is 0. [FALSE]
[4,6-9,12,14-16]
will read observations
4,6,7,8,9,12,14,15,16. (Note that the brackets are required to distinguish this array of characters from
a single string including commas. The brackets are unnecessary when there is only one
item.)
If you wish to extract all the observations enter the wildcard
∗
.
5-∗
will
read from 5 to the last observation. The processing will continue until the last observation is
converted. The suggested value is the current value.
ircam_27aug89_1cl
into a series of NDFs called
rhooph1, rhooph2 etc. There is no format conversion applied. ircam_27aug89_1cl
into NDFs called rhooph32, rhooph34, rhooph35, rhooph36. The scale and offset
are applied. ircam_04nov90_1c.sdf
into an NDF called
bias5 containing the electronic pedestal in its data array. There is no format conversion
applied. IRCAM file | NDF | Comments | |
.OBS.PHASEA.DATA_ARRAY | ⇒ | .DATA_ARRAY | when Parameter
CONFIG= |
.OBS.PHASEB.DATA_ARRAY | ⇒ | .DATA_ARRAY | when Parameter
CONFIG= |
.OBS.KTCA.DATA_ARRAY | ⇒ | .DATA_ARRAY | when Parameter
CONFIG= |
.OBS.KTCB.DATA_ARRAY | ⇒ | .DATA_ARRAY | when Parameter
CONFIG= |
| |||
.OBS.DATA_LABEL | ⇒ | .LABEL | |
.OBS.DATA_UNITS | ⇒ | .UNITS |
|
.OBS.TITLE | ⇒ | .TITLE | If .OBS.TITLE is a blank string, OBS.DATA_OBJECT is copied to the NDF title instead. |
.OBS.AXIS1_LABEL | ⇒ | .AXIS(1).LABEL |
|
.OBS.AXIS2_LABEL | ⇒ | .AXIS(2).LABEL |
|
.OBS.AXIS1_UNITS | ⇒ | .AXIS(1).UNITS |
|
.OBS.AXIS2_UNITS | ⇒ | .AXIS(2).UNITS |
|
IRCAM file | NDF | Comments | |
.GENERAL.INSTRUMENT.PLATE_SCALE becomes the
increment between the axis centres, with co-ordinate
(0.0,0.0) located at the image centre. The NDF axis units
both become "arcseconds" . |
|
||
| |||
.GENERAL | ⇒ | .MORE.IRCAM.GENERAL | |
.GENERAL.x | ⇒ | .MORE.IRCAM.GENERAL.x |
|
.GENERAL.x.y | ⇒ | .MORE.IRCAM.GENERAL.x.y |
|
|
|||
.OBS.x | ⇒ | .MORE.IRCAM.OBS.x | This excludes the components of OBS already listed above and DATA_BLANK. |
The data types of the IRCAM GENERAL structures have not been propagated to the NDF IRCAM extensions, because it would violate the rules of SGP/38. In the IRCAM file these all have the same type STRUCTURE. The new data types are as follows:
Extension Name | Data Type
|
IRCAM.GENERAL | IRCAM_GENERAL |
IRCAM.GENERAL.INSTRUMENT | IRCAM_INSTRUM |
IRCAM.GENERAL.ID | IRCAM_ID |
IRCAM.GENERAL.TELESCOPE | IRCAM_TELESCOPE |
Upon completion the number of observations successfully converted to NDFs is reported.
The data array in the NDF is in the primitive form.
The application aborts if the data array chosen by parameter CONFIG does not exist in the observation.