Produced by IDL 7.1.1
User Documentation

./contrib
sdd__define.pro

Last modification date:
Wed Sep 28 13:27:15 2016

This is a class for reading data from a unipops SDD file and turning that into a gbtidl data container. It is probably not ideal for end users who will most likely find the conversion script, uni2sdfits, more useful. That script uses this class to convert a unipops data file into an sdfits file that gbtidl can read directly.

The SCAN field in the original unipops data is converted to SCAN_NUMBER and PROCSEQN in the data container.

Unipops data doesn't have any polarization information in it. All data containers are set to have polarization="I".

if_number, polarization_num and feed_num are al set to 0 in the converted data container.

This only works for spectral line data. It will likely not work for 12-m OTF data.

This works for recent 12m data, which reverses the byte ordering from the original big-endian SDD format.

Contributed By: Bob Garwood, NRAO-CV

Routine Summary  6 routines

function SDD::init(file_name)

This is a class for reading data from a unipops SDD file and turning that into a gbtidl data container.

function SDD::GET_UNISCAN(loc)

Get a scan into a structure, preserves all information in the original.

function SDD::getdc(loc)

Get the scan at location into a gbtidl data container.

function SDD::getindx(loc)

Get the index record at the given location

function SDD::nscans()

How many indicies are used

function SDD::indexUsed(loc)

Is a particular index in use (nbytes > 0)

Routine Details

SDD::init

function SDD::init(file_name)

This is a class for reading data from a unipops SDD file and turning that into a gbtidl data container. See Appendix G of the UniPOPS cookbook for a detailed description of the data format of an SDD file.

Version
$Id$

Parameters
file_name
.

SDD::GET_UNISCAN

function SDD::GET_UNISCAN(loc)

Get a scan into a structure, preserves all information in the original.

Parameters
loc
in, required
long integer
The index location to fetch.

SDD::getdc

function SDD::getdc(loc)

Get the scan at location into a gbtidl data container.

Parameters
loc
in, required
long integer
The index location to fetch.

SDD::getindx

function SDD::getindx(loc)

Get the index record at the given location

Parameters
loc
in, required
long integer
The index location to fetch.

SDD::nscans

function SDD::nscans()

How many indicies are used

Returns
number of indicies in use (maximum loc for other SDD calls)

SDD::indexUsed

function SDD::indexUsed(loc)

Is a particular index in use (nbytes > 0)

Returns
true (1) if the indicated location is in use.

Parameters
loc
in, required
integer
The index location to check.


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:49 2016