>  Docs Center  >  Libraries  >  Buie  >  RDTFILE
Libraries

RDTFILE

RDTFILE

Name


  rdtfile

Purpose


  Reads the template file, tfile.dat, for a given night.

Description


  This program reads in the first line of the tfile.dat for a specific
  observing night and returns the information the file contains.

Category


File I/o


Calling Sequence


  rdtfile,object,tempobj,marker,fnstack,outsize,degree,error

Inputs


Optional Input Parameters


Keyword Input Parameters


  LOWELL - Flag, if set will require the tfile to be in a Lowell format
              to successfully return information.
  PATH - Optional string for the path to the tfile, default is the
              current directory.

Outputs


  object - the object for the image data
  tempobj - object name of template for the image
  marker - unique identifier
  fnstack - name of image template
  outsize - size of output difference image
  degree - order of variation
  error - Flag, set if there was a problem. This could be because the
              file does not exist or that the night has been marked bad.
              In any case, if this comes back set to 1 then you should
              not proceed with this dataset.

Keyword Output Parameters


  OBSCODE - Observatory code for the data. This is a guess based on
              various heuristics and from the file format.
  COMMENTS- any text after the first line

Common Blocks


Side Effects


Restrictions


Procedures


  Reads in the tfile.dat from an observing night and returns the first
  line of information.

Modification History


  2012/01/24 Written by Erin R. George, Southwest Research Institute
  2012/03/27, MWB, added support for NMSU data
  2012/07/25, BLE, add COMMENTS keyword
  2014/02/04, MWB, added PATH keyword and some clean up



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us