SDFITS program to fill Lab Spectrometer data into the sdfits format, so that it can then be read into our supported analysis tool, GBTIDL.
GBTIDL is SDFITS, which currently cannot fill data that are missing the above mentioned data files.
This MR will describe the modifications needed to the sdfits program so that it can produce SDFITS files which in turn can be imported into GBTIDL with enough information to support basic analysis procedures.
Note: The SDFITS format does not include the raw lags from the spectrometer. To do advanced analysis on raw lags (they can be just viewed with GFM), special tools will need to be written.
sdfits program must be able to fill data when the project directory structure only contains:
sdfits program is not responsible for creating a missing ScanLog.fits file. This can be created using the pre-existing scanlogsim application.
sdfits, when read into GBTIDL, must not introduce exceptions when performing the following basic operations:
sdfits, when read into GBTIDL, will not support high level calibration routines. This is due to the lack of IF, Feed and Polarization information in the sdfits file. Faking these values in the abscence of auxillary FITS files is beyond the scope of this MR, and GBTIDL users will have to write their own calibration routines, using the sampler name instead of the above mentioned variables. Some of the calibration routines not supported include:
sdfits program must use default values for SDFITS keywords or columns when an auxillary FITS file is missing. An auxillary FITS file is defined as one of the following types:
sdfits must obtain this value from the backend. These values include:
sdfits fills scans that are missing any auxillary FITS files, it must issue a single warning message. This message will include:
sdfits when missing auxillary files. The Notes column explains how the column's value must be derived.
| Field | Available | Missing File | Notes |
|---|---|---|---|
| object | | from backend file. | |
| bandwid | | from backend file. | |
| tdim7 | | ||
| tunit7 | | ||
| ctype1 | | contstant: "FREQ-OBS", translated as "TOPO" in GBTIDL | |
| crpix1 | | from backend file. | |
| cdelt1 | | from backend file. | |
| freqres | | from backend file. | |
| ctype2 | | GO | |
| ctype3 | | GO | |
| crval4 | | IF | |
| observer | | GO | |
| obsid | | available in backend file. | |
| scan | | avaialable in backend file. | |
| obsmode | | GO | |
| frontend | | Receiver | |
| tcal | | Receiver | 1.0 |
| veldef | | LO1 | "RADI-OBS" |
| restfreq | | GO | bandwid/2 |
| velocity | | GO | 0.0 |
| equinox | | GO | |
| sampler | | ||
| feed | | IF | 0 |
| srfeed | | IF | 0 |
| beamxoff | | IF | |
| beameoff | | IF | |
| sideband | | IF | |
| procsize | | GO | |
| procseqn | | GO | |
| laston | | GO | |
| lastoff | | GO | |
| timestamp | | ||
| tambient | | Antenna | |
| pressure | | Antenna | |
| humidity | | Antenna | |
| date-obs | | ||
| duration | | ||
| exposure | | ||
| tsys | | ||
| data | | ||
| lst | | Antenna | |
| crval1 | | LO1 | bandwid/2 |
| obsfreq | | LO1 | bandwid/2 |
| crval2 | | Antenna | |
| crval3 | | Antenna | |
| azimuth | | Antenna | |
| elevation | | Antenna | |
| sig | | ||
| cal | | ||
| zerochan | | ||
| vframe | | LO1 | "TOPO" |
| rvsys | | LO1 | 0.0 |
| projid | | available in backend file. | |
| sitelong | | Antenna | |
| sitelat | | Antenna | |
| siteelev | | Antenna |
sdfits and its supporting libraries robust to missing auxillary FITS files. Class by class, these changes include:
SDFITS GFM.
scanlogsim and sdfits to import data into GBTIDL. Of course, the SDFITS wiki documentation will be updated.
sdfits release notes should note these changes: that sdfits is now robust to missing auxillary FITS files, and will only warn users of missing FITS files if the -debug option is set.
sdifts can then be used to fill the data from both the original directory and then the copy.
SDFITS files should show that:
sdfits can then be used to fill this data.
SDFITS file should be viewed (using fv) to ensure that the appropriate values are using default values, etc.
SDFITS files from the previous two tests should be read into GBTIDL to see if they pass the requirments stated above.
| Written | |
|---|---|
| Checked | |
| Approved by Sponsor | |
| Approved by CCC | |
| Accepted/Delivered by Sponsor | |
%X% if MR is not complete (will display %Y% if MR iscomplete (will display | Topic ModificationRequest5C306 . { Edit | Attach | Ref-By | Printable | Diffs | r1.10 | > | r1.9 | > | r1.8 | More } |
|
Revision r1.10 - 17 May 2006 - 16:56 GMT - RonMaddalena Parents: PlanOfRecordC32006 |
Content copyright © 1999-2007 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. |