NRAO Home  >  Green Bank  |  Wiki Topic:    GB > Data > DishUsersGuideForGBT > SdRecord
   Changes | Index | Contents | Search | Statistics | Jump to Topic

Upon open ing the data with dish, the user has access to an SDRecord data structure (Single Dish Record), which places all of the information from the data set into a single Glish record organized as follows:

In addition to the fixed structure described above. An SDRecord may contain an optional ns_header field. This is a Glish record which can contain any additional information not found in the fixed portion of an SDRecord. This field will typically be used for telescope-dependent information. If the SDRecord came from a MeasurementSet, the appropriate row in each sub-table of the MeasurementSet that is associated with this data will have a sub-record in the ns_header field. Only columns in each sub-table which are not directly represented in the standard portions of the SDRecord are kept here (e.g. the data array from the main table only appears once, in the arr field). Other data sources (e.g. SDFITS) will have any information not otherwise found in the SDRecord stored in the ns_header whenever possible.

To summarize, in pseudo-Glish an SDRecord looks like this:

    sdrecord := [data=[=], header=[=], hist=[=], ns_header=[=]];
    sdrecord.data := [arr=[...], flag=[...], desc=[=], weight=[...]];
    sdrecord.data.desc := [units=,stokes=,ctype=,crpix=,crval=,cdelt=];
    sdrecord.header := [time=,scan_number=,object=,etc.];
    sdrecord.hist := ["# useful history","# as a vector","# etc. etc."];
    sdrecord.ns_header := [non-standard fields]

ns_header is optional

-- BobGarwood - 07 Jan 2004

Topic SdRecord . { Edit | Attach | Ref-By | Printable | Diffs | r1.1 | More }
Revision r1.1 - 07 Jan 2004 - 22:03 GMT - BobGarwood
Parents: WebHome > DishUsersGuideForGBT
Content copyright © 1999-2007 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.