>  Docs Center  >  Libraries  >  Buie  >  WRREF
Libraries

WRREF

WRREF

Name


  wrref

Purpose (one Line Only)


  Write a astrometry support (.ref) file.

Description


Category


File I/o


Calling Sequence


  wrref,file,ref,error

Inputs


  file - Name of file to be written
  ref - Anonymous structure that contains the information read from file.
            Tags in structure always provided:
              objrad - object aperture radius (pixels)
              nstars - Number of stars in the list
            Tags needed if nstars > 0
              xpos - float, X position of star
              ypos - float, Y position of star
              fwhm - float, FWHM of object (pixels)
              mag - float, instrumental magnitude of star
              err - float, uncertainty on magnitude
              sig_max - float, DN value of peak pixel in image
              ra - double, RA of star (radians)
              dec - double, Dec of star (radians)
              catmag - float, Catalog magnitude for star

Optional Input Parameters


Keyword Input Parameters


Outputs


  error - Flag, if set indicates there was a problem writing the file.

Keyword Output Parameters


Common Blocks


Side Effects


Restrictions


Procedure


Modification History


  Written 2008/10/31 by Marc W. Buie, Southwest Research Institute.
  2009/07/29, MWB, explicit cast of data to make sure file contains the
                correct type of data.



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