NRAO Home  >  Green Bank  |  Wiki Topic:    GB > Software > TWikiUsers > RamonCreager > DcrFitsNotes
   Changes | Index | Contents | Search | Statistics | Go

DCR FITS Notes



Introduction

These are notes to help in the transition between the old VxWorks DCR and the new Linux DCR. Part of the transition involves updading the DCR FITS files. There are three issues to address in this transition:

  1. The DCR does not write its own FITS files.
  2. The DcrServer currently uses a Solaris only FITS library called TABFITS.
  3. DCR FITS files are not standard.

The DCR does not write its own FITS files

The DCR relies on a DcrServer process on a Solaris machine (vortex) to write the files. The DCR manager communicates via RPC with this server. The FITS writing capability is to be integrated into the new Linux DCR. This involves the creation of a new DcrFits class, based on the M&C FitsIO class, that will be integrated into the DCR process.

The DCR uses TABFITS, a Solaris only library

The new Linux DCR will use instead the standard M&C approach, which is to use the M&C FitsIO class, itself based on the CFITSIO library.

DCR FITS files are not standard.

DCR's non-standard nomenclature

The DCR uses terms to describe the parts of a measurement that are at odds with the terms used in other GBT backends. These diagrams show the differences:


SwitchingSignalDiagram.png
GBTDataAcquisitionDiagram.png

Primary vs. standard Primary FITS headers

The DCR Primary Header does not follow the M&C standard. It includes some keywords included in the standard, some that map to the standard but are not the same as the standard, and also includes its own DCR specific keywords. The following examples help illustrate this.

The DCR FITS main header looks like this:

A compliant FITS Primary Header looks like this (from Device and Log FITS Files for the GBT):

The difference between the two headers are as follows:

DCR specific keywords:

DCR STATE vs standard STATE table headers

A standard STATE table looks like this:

The DCR's STATE table header looks like this:

As can be seen, it is fairly close to the standard. There are a few differences:

DCR RECEIVER table

DCR DATA table

The DCR's current DATA table:

The Spectrometer's DATA table looks like this:

CFITSIO Features and Quirks

-- RamonCreager - 31 Mar 2005

Attachment: sort Action: Size: Date: Who: Comment:
GBTDataAcquisitionDiagram.png action 6258 22 Apr 2005 - 18:54 RamonCreager  
SwitchingSignalDiagram.png action 5764 28 Apr 2005 - 17:38 RamonCreager  

Topic DcrFitsNotes . { Edit | Attach | Ref-By | Printable | Diffs | r1.8 | > | r1.7 | > | r1.6 | More }
Revision r1.8 - 22 Apr 2008 - 17:54 GMT - AmyShelton
Parents: TWikiUsers > RamonCreager
Content copyright © 1999-2007 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.