TOC  |      |      |              |              | INDEX


xsites

Creates, modifies, displays station information files.


OVERVIEW

xsites maintains site information used in GPS baseline and orbit processing. xsites can display, add to, modify, delete, and print this information interactively or print requested information using command line options.

The interactive window has three parts: a menu bar, a file name panel, and the list containing the ASCII representation of the binary information. Pulldown menus are the primary means of program control and include:

In addition, information in the list can be selected for modification or deletion by double-clicking on that record in the display.

This program was written in ANSI standard C. The graphical user interface (GUI) uses the X version 5.0 and Motif 1.2 libraries. All source code except the X and Motif libraries is available from the author.


COMMAND LINE OPTIONS

  xsites {-a name} {-f #} {-p} {-r name} {-s name} {file}
where
{-a name} : antenna information file (DEFAULT is search)
{-f #}    : output format where # = 0 = standard (DEFAULT)
                                    1 = epoch
                                    2 = POM
{-p}      : non-interactive print mode (DEFAULT is interactive mode)
{-r name} : receiver information file (DEFAULT is search)
{-s name} : site (DEFAULT is the first site file)
{file}    : binary site information file
The command line options are primarily used for automatic printing. For example, a script could be written which would create up-to-date POM files for all sites to be processed.

Some common examples of xsites use are:

  xsites oldfile
starts the program using a previously existing file oldfile.
  xsites -s algo -s mas1 oldfile
starts the program using a previously existing file oldfile. Two sites, algo and fair will be displayed initially.
  xsites -f2 -p -s mas1 oldfile > mas1.pom
runs the program non-interactively with the output being redirected into the file mas1.pom. The output format is 2, the pom file format. Information from a pre-existing file, oldfile, for a single site, mas1, will be printed.


X RESOURCES


PULLDOWN MENUS

File


Display


New

Help

ON-SCREEN AND PRINTED DISPLAYS

Site information can be displayed (or printed) in three different formats:
  1. Standard format

  2. all information ordered by type and chronology,
  3. Epoch format

  4. the last information of each type and the construction of the site coordinates at the user specified epoch,
  5. POM format

  6. the last information of each type presented in the format of an OMNI style Position/Offset/Met file. The information displayed must meet the selection criteria which the user has specified. These criteria can be modified using the "Display" pulldown menu from the menu bar.

    The three display formats are described in detail in the following screens. An examples can be accessed through the labels.

    STANDARD DISPLAY FORMAT
    The information for a site is grouped by purpose, e.g. the information describing a monument, the position, velocity, DOMES number, etc., are grouped together. Each "group" will hereafter be called record for that site. There are five record types each of which is identified by a single character:

      A = antenna type, offset for mounting hardware, and phase center offsets;
      C = monument name, coordinates, reference epoch and velocity;
      G = geocentric (XYZ) offset;
      R = receiver type;
      T = topocentric (local north, east, up) offset.
    Records for a site are grouped together and are displayed in the order: C, G and T, R, A, M, O.

    These records are further ordered by their validity and modification dates.

    Detailed descriptions and an example of each record type are given below. Note that some types of information are common in all records.

    STANDARD DISPLAY FORMAT FOR COORDINATES/VELOCITIES

    C ID--->S      plate= PLAT  frame= FRAME-> PLAT                   VAL---------->  MOD---------->
      DOMES--->; NAME------------------->; ALTERNATE------------------------------>                 
      Comment: "COMMENT---------------------------------------------------->"                       
     X------------> Y------------> Z------------>  Coordinates @ REF---------->                     
     XSIG---------> YSIG---------> ZSIG--------->  Coordinate Sigmas                                
     XVEL---------> YVEL---------> ZVEL--------->  Velocity                                         
     XVELSIG------> YVELSIG------> ZVELSIG------>  Velocity Sigmas
    where:
      C         = coordinate record type identifier
      ID        = six character site ID (typically only four characters are used)
      S         = site sequence identifier (e.g. the Goldstone, CA site was designated
                  gold  a = DOMES number 40405S028 before the Landers earthquake and
                  gold  b = DOMES number 40405S031 after)
      PLAT      = four character plate ID
      FRAME     = reference frame of these coordinates
      VAL       = date after which this record becomes valid and should be used
      MOD       = date that this record was last modified
      DOMES     = DOMES number
      NAME      = site name
      ALTERNATE = alternate site name
      COMMENT   = descriptive comment about this record such as source and author
      X         = X monument coordinate [m]
      Y         = Y monument coordinate [m]
      Z         = Z monument coordinate [m]
      REF       = epoch of the XYZ coordinates
      XSIG      = 1 sigma uncertainty of X coordinate [m]
      YSIG      = 1 sigma uncertainty of Y coordinate [m]
      ZSIG      = 1 sigma uncertainty of Z coordinate [m]
      XVEL      = X velocity [m/yr]
      YVEL      = Y velocity [m/yr]
      ZVEL      = Z velocity [m/yr]
      XVELSIG   = 1 sigma uncertainty of X velocity [m/yr]
      YVELSIG   = 1 sigma uncertainty of Y velocity [m/yr]
      ZVELSIG   = 1 sigma uncertainty of Z velocity [m/yr]
    STANDARD DISPLAY FORMAT FOR GEOCENTRIC OFFSETS
    G ID--->S   N                                                     VAL---------->  MOD---------->
      Comment: "COMMENT---------------------------------------------------->"                       
     XOFFSET------> YOFFSET------> ZOFFSET------> FROM-----------> TO------------->
    where:
      G         = geocentric offset (XYZ) record type identifier
      ID        = six character site ID (typically only four characters are used)
      S         = site sequence identifier (e.g. the Goldstone, CA site was designated
                  gold  a = DOMES number 40405S028 before the Landers earthquake and
                  gold  b = DOMES number 40405S031 after)
      N         = number identifying common offsets if more than one is needed to
                  connect the monument to the antenna mount
      VAL       = date after which this record becomes valid and should be used
      MOD       = date that this record was last modified
      COMMENT   = descriptive comment about this record such as source and author
      XOFFSET   = X component of the offset [m]
      YOFFSET   = Y component of the offset [m]
      ZOFFSET   = Z component of the offset [m]
      FROM      = short description of the starting point of the offset
      TO        = short description of the end point of the offset
    STANDARD DISPLAY FORMAT FOR TOPOCENTRIC OFFSETS
    T ID--->S   N                                                     VAL---------->  MOD---------->
      Comment: "COMMENT---------------------------------------------------->"                       
    NOFFSET------->EOFFSET------->UOFFSET-------> FROM-----------> TO------------->
    where:
      T         = local topocentric (NEU) offset record type identifier
      ID        = six character site ID (typically only four characters are used)
      S         = site sequence identifier (e.g. the Goldstone, CA site was designated
                  gold  a = DOMES number 40405S028 before the Landers earthquake and
                  gold  b = DOMES number 40405S031 after)
      N         = number identifying common offsets if more than one is needed to
                  connect the monument to the antenna mount
      VAL       = date after which this record becomes valid and should be used
      MOD       = date that this record was last modified
      COMMENT   = descriptive comment about this record such as source and author
      NOFFSET   = north component of the offset [m]
      EOFFSET   = east component of the offset [m]
      UOFFSET   = up component of the offset [m]
      FROM      = short description of the starting point of the offset
      TO        = short description of the end point of the offset
    STANDARD DISPLAY FORMAT FOR RECEIVERS
    R ID--->S    TYPE-----------> S/N------------> F/W------------>   VAL---------->  MOD---------->
      Comment: "COMMENT---------------------------------------------------->"
    where:
      R         = receiver record type identifier
      ID        = six character site ID (typically only four characters are used)
      S         = site sequence identifier (e.g. the Goldstone, CA site was designated
                  gold  a = DOMES number 40405S028 before the Landers earthquake and
                  gold  b = DOMES number 40405S031 after)
      TYPE      = receiver name
      S/N       = serial number
      F/W       = firmware identification number
      VAL       = date after which this record becomes valid and should be used
      MOD       = date that this record was last modified
      COMMENT   = descriptive comment about this record such as source and author
    STANDARD DISPLAY FORMAT FOR ANTENNAS
    A ID--->S    TYPE-----------> S/N------------>                    VAL---------->  MOD---------->
      Comment: "COMMENT---------------------------------------------------->"                       
    NOFFSET------->EOFFSET------->UOFFSET-------> FROM-----------> TO------------->
    where:
      A         = antenna record type identifier
      ID        = six character site ID (typically only four characters are used)
      S         = site sequence identifier (e.g. the Goldstone, CA site was designated
                  gold  a = DOMES number 40405S028 before the Landers earthquake and
                  gold  b = DOMES number 40405S031 after)
      TYPE      = antenna descriptive name
      S/N       = serial number
      VAL       = date after which this record becomes valid and should be used
      MOD       = date that this record was last modified
      COMMENT   = descriptive comment about this record such as source and author
      NOFFSET   = north component of the offset caused by mounting hardware [m]
      EOFFSET   = east offset component [m]
      UOFFSET   = up offset component [m]
    STANDARD DISPLAY FORMAT FOR MET SENSORS
    M ID--->S                                                         VAL---------->  MOD---------->
      Comment: "COMMENT---------------------------------------------------->"
       PR_NAME------------> S/N------------>  OFFSET---> Pressure Sensor
       RH_NAME------------> S/N------------>             Relative Humidity Sensor
       TM_NAME------------> S/N------------>             Temperature Sensor
    where:
      M         = met sensor record type identifier
      ID        = six character site ID (typically only four characters are used)
      S         = site sequence identifier (e.g. the Goldstone, CA site was designated
                  gold  a = DOMES number 40405S028 before the Landers earthquake and
                  gold  b = DOMES number 40405S031 after)
      PR_NAME   = pressure sensor identfier such as manufacturer name
                  and model number
      RH_NAME   = relative humidity sensor identfier such as manufacturer name
                  and model number
      TM_NAME   = temperature sensor identfier such as manufacturer name
                  and model number
      S/N       = serial number
      OFFSET    = pressure sensor minus ARP vertical offset [meters]
      VAL       = date after which this record becomes valid and should be used
      MOD       = date that this record was last modified
      COMMENT   = descriptive comment about this record such as source and author
    STANDARD DISPLAY FORMAT FOR OCEAN-LOADING PARAMETERS
    M ID--->S                                                         VAL---------->  MOD---------->
      Comment: "COMMENT---------------------------------------------------->"
    AMPLITUDE---> PHASE------->  M2  Principal Lunar          12.42 h
    AMPLITUDE---> PHASE------->  S2  Principal Solar          12.42 h
        .            .                   .
        .            .                   .
        .            .                   .
    AMPLITUDE---> PHASE------->  Mm  Lunar Monthly            27.55 d
    AMPLITUDE---> PHASE------->  Ssa Solar semiannual         182.62 d
    
    where:
      M         = met sensor record type identifier
      ID        = six character site ID (typically only four characters are used)
      S         = site sequence identifier (e.g. the Goldstone, CA site was designated
                  gold  a = DOMES number 40405S028 before the Landers earthquake and
                  gold  b = DOMES number 40405S031 after)
      TYPE      = receiver name
      AMPLITUDE = indicated tidal harmonic amplitude [meters]
      PHASE     = indicated tidal harmonic phase lag [degrees]
      VAL       = date after which this record becomes valid and should be used
      MOD       = date that this record was last modified
      COMMENT   = descriptive comment about this record such as source and author
    EPOCH DISPLAY FORMAT

    Only the latest of each record type for a site is shown. This format mimicks the station information block in a pages.sum file. Following this information, the coordinates for that site are constructed from these pieces. Each piece (converted to geocentric system if necessary), the final result giving the coordiantes of the L1 phase center at the specified epoch, the vector which must be added to get the L2 phase center, and the phi, lambda, height (latitude/longitude/ellipsoid height) that corresponds to the L1 coordinates. Each line in this construction is labeled for clarity.

    POM DISPLAY FORMAT

    The latest of each record type for a site is used to construct an OMNI style Position/Offset/MET display. The coordinates are for the L1 phase center at the specified epoch. A zero offset will therefore be given, but the L1-L2 vertical offset should be appropriate. The MET values are generated by a global model which accounts for seasonal variations in temperature, and ellipsoidal height for the pressure. The antenna type follows on a separate line. The final line is a comment giving the history of this information.



     TOC  |      |      |              |              | INDEX


    xsites.html
    October 6, 2000