Converts an NDF to a Figaro (Version 2) DST file NDF2DST
"
Notes"
. Since both are hierarchical formats most files can be be
converted with little or no information lost. ".dst"
. old.sdf
) to the
Figaro file new.dst
. spectre.sdf
) to the Figaro file spectre.dst
. NDF | Figaro file | Comments
| |
Main data array | .Z.DATA |
|
|
Imaginary array | .Z.IMAGINARY |
|
|
Bad-pixel flag | .Z.FLAGGED |
|
|
Units | .Z.UNITS |
|
|
Label | .Z.LABEL |
|
|
Variance | .Z.ERRORS | After processing |
|
Quality | It is not copied directly though bad values indicated by QUALITY flags will be flagged in .Z.DATA in addition to any flagged values actually in the input main data array. .Z.FLAGGED is set accordingly. |
||
NDF | Figaro file | Comments
| |
Title | .OBS.OBJECT |
|
|
| |||
AXIS(1) structure | .X | ||
AXIS(1) Data | .X.DATA_ARRAY | unless there is a DATA component of AXIS(1).MORE.FIGARO to allow for a non-1-dimensional array |
|
AXIS(1) Variance | .X.VARIANCE | unless there is a VARIANCE component of AXIS(1).MORE.FIGARO to allow for a non-1-dimensional array |
|
AXIS(1) Width | .X.WIDTH | unless there is a WIDTH component of AXIS(1).MORE.FIGARO to allow for a non-1-dimensional array |
|
AXIS(1) Units | .X.UNITS |
|
|
AXIS(1) Label | .X.LABEL |
|
|
AXIS(1).MORE.FIGARO.xxx | .X.xxx |
|
|
Similarly for AXIS(2), …, AXIS(6) which are renamed to .Y .T .U .V or .W |
|||
|
|||
FIGARO extension: |
|
||
.MORE.FIGARO.MAGFLAG | .Z.MAGFLAG |
|
|
.MORE.FIGARO.RANGE | .Z.RANGE |
|
|
.MORE.FIGARO.SECZ | .OBS.SECZ |
|
|
.MORE.FIGARO.TIME | .OBS.TIME |
|
|
.MORE.FIGARO.xxx | .xxx | recursively |
|
|
|||
FITS extension: |
|
||
.MORE.FITS |
|
||
Items | .FITS.xxx |
|
|
Comments | .COMMENTS.xxx |
|
|
|
|||
Other extensions: |
|
||
.MORE.other | .MORE.other |
|
|