TeraScan File Structure |
|
The layout of
the TeraScan directories and files is presented here. |
|
$TSCANROOT (/opt/terascan) |
|
These are the first-level subdirectories of the $TSCANROOT directory, which contains all the TeraScan-related subdirectories and files installed on your system, except for the user-specific files, which are located in $HOME/.terascan. |
|
Directory for Adobe Acrobat reader for PDF online user manuals. |
|
| docs/ | Online user manuals in PDF format. Can be viewed from the TeraScan Launchpad. |
html/ |
Online help pages. |
($PASSDIR) Directories and files related to satellite pass capture. [See $PASSDIR ($TSCANROOT/pass) for contents of this directory.] |
|
($SATDATA) Satellite reference data. [See $SATDATA ($TSCANROOT/pass/satel) for contents of this directory.] |
|
($REFDATA) TeraScan reference data. [See $REFDATA ($TSCANROOT/refdata) for contents of this directory.] |
|
| sample_data/ | Sample datasets for TeraVision. (Files and shelves created if sample_data is installed.) |
Directory containing the script make_tsuser, used to set up a new TeraScan user, and default .login and .dtprofile files. The new user account should already be created and listed in /etc/passwd before you run this script. |
|
$PASSDIR ($TSCANROOT/pass) |
|
The following is a brief description of the subdirectories and files of the $PASSDIR directory. Files are binary unless otherwise noted. |
|
ASCII file that defines pass partitions for storage of newly acquired pass data (the number of partitions, their sizes and locations, and the telemetry each stores. This file can be edited via the TeraScan Pass Table Editor. |
|
Coast overlay metafile used for the pass coverage display area of TeraCapCon and XCapCon. This file is created by the function newsite, which is run as part of system setup. It is generated from the $REFDATA/coast/wdb2.thin database. |
|
Grid overlay metafile used for the pass coverage display area of TeraCapCon and XCapCon. This file is created by the function newsite, which is run as part of system setup. |
|
Background
map projection used for the pass coverage display area of TeraCapCon and XCapCon. This
file is created by the function newsite, which is run as part of system
setup. |
|
Shared memory file, used by capture processes for both control and data storage. |
|
antenna/antenna.calib |
ASCII file
containing calibration values specific to each antenna on the system. These values are
"corrections" relative to the initial values found in the $REFDATA/config/antenna.config file. |
ASCII files containing pointing commands to the antenna. There is a separate file for each telemetry chain (X= chain number). The file will contain the pointing commands (elevation and azimuth for each position) of the last pass captured until the file is overwritten with the commands of an upcoming pass just prior to the start of the pass. |
|
Lock file used to guarantee the antenna exclusive access to the serial port. XXX= device base name, e.g., dev_term_b. |
|
File
containing the user-defined rules that prescribe which passes are to be scheduled for
capture. The user sets up these autoschedule rules from TeraCapCon (or XCapCon). |
|
List of daemons running or supposed to be running (tsched, sunclock, whereami, ups_monitor, nmea_monitor). |
|
Daemon heartbeat (hb) file. Tracks the health of the daemon. |
|
ASCII file listing tape devices and their characteristics, used by archive and ingest functions. |
|
Product distribution and notification databases set up from the TeraPGS GUI. |
|
Executable shell script invoked by tscan.rc.local to load the DSP driver. |
|
ASCII file containing latitude/longitude coordinates of the location of the system and time correction. Initially, this file is created by the newsite function, which is run as part of system setup. On a system that has a GPS, this file is updated periodically by the whereami and sunclock daemons. |
|
Directory
containing a rotating series of ASCII files, one for each captured pass (schedjob.1.A to
schedjob.1.Z and schejob.2.A to schedjob.2.Z.). |
|
Directory containing the master datasets available to TeraScan functions and GUIs. Users create and modify masters from the TeraMaster GUI. |
|
File listing
online passes, the most recently captured raw passes stored online. The maximum number of
online passes is determined by the $PASSDIR/BAST file. |
|
File listing
archived passes. The size of this file will depend on how long the site has been capturing
and archiving passes and can become extremely large. |
|
Directory containing product definitions that users create from the TeraPGS GUI. These definitions are recipes read by the TeraPGS scripts to create TeraPGS products. |
|
Directory containing processing scripts available for selection from TeraCapCon (and XCapCon). Includes pgs_ingest, the script that creates whole_pass datasets for TeraPGS. |
|
($SATDATA) Directory containing files that describe satellite, telemetry, and sensor characteristics and relationships. [See $SATDATA ($TSCANROOT/pass/satel) for contents of this directory.] |
|
List of
currently scheduled satellite passes. This list is updated periodically (usually once a
day) by the autoscheduler (autosched2), and passes can be added individually by the user
from TeraCapCon (or XCapCon). Once a scheduled pass has been captured, it is removed from
the list. |
|
ASCII file that logs events involving the scheduler daemon (tsched), including capture processes and autoarchive processes. The contents of this file can be viewed via the Log Viewer. |
|
ASCII file
listing the remote receiver sites for which satellite coverage can be viewed. Sites can be
defined from within TeraCapCon (or XCapCon). |
|
ASCII file
that defines system configuration. Contains the information that TeraScan needs to
reference for system hardware and telemetry chains. |
|
Basic TeraScan setup file (ASCII), sourced from each TeraScan user's .login file. |
|
Shell script run at system bootup, called by tsched.init. Loads the DSP driver by invoking $PASSDIR/drivers/s56dsp/driver/driver_load. Starts the pass-scheduling daemon (tsched), the time- and location-monitoring daemons (sunclock and whereami), and the UPS-monitoring daemon (ups_monitor). |
|
Script called by the operating system during bootup. tsched.init invokes the TeraScan initialization file tscan.rc.local. |
|
Lock file used to guarantee the UPS exclusive access to the serial port. XXX= device base name, e.g., dev_term_b. |
|
$SATDATA ($TSCANROOT/pass/satel) |
|
The following is a brief description of the subdirectories and files of the $SATDATA directory. Files are binary unless otherwise noted. |
|
ASCII file of calibration coefficients for AVHRR channels 1 and 2. |
|
Directories containing satellite-specific reference data. There is a corresponding directory for each satellite. (See $SATDATA/satellite for the contents of these directories.) |
|
ASCII file containing nitpix coefficients for algorithms used to derive sea surface temperatures from the NOAA satellite data. |
|
Lookup table (ASCII) for converting from PDUS ID to satellite name and subpoint latitude and longitude for Meteosats and GOES satellites. |
|
ASCII file containing tip clock adjustments for NOAA satellites, used by the fixclock function to correct the time of the input dataset. |
|
$SATDATA/satellite/ |
|
The following is a brief description of the files of the $SATDATA/satellite directories. There is a separate directory for each satellite. These include: f-8, f-9, f-10, f-11, f-12, f-13, f-14, f-15, fy-1b, fy1-c, gms-4, gms-5, goes-7, goes-8, goes-9, goes-10, meteo-3, meteo-4, meteo-5, meteo-6, meteo-7, nimbus-g, noaa-6, noaa-7, noaa-8, noaa-9, noaa-10, noaa-11, noaa-12, noaa-14, noaa-15, orbview-2, sampex-1, and tiros-n. Files are binary unless otherwise noted. |
|
An ASCII
file describing the satellite, in terms of its ID number and telemetries, and defining the
state of the satellite (active, inactive, ignore). |
|
For NOAA satellites. APT sensor file with geometry and calibration information. |
|
For NOAA and TIROS-n satellites. AVHRR sensor file with geometry and calibration information. |
|
For DMSP satellites. Used by miedr to compute geophysical parameters for SSMI. |
|
File containing the compiled orbital elements for a given satellite (e.g., noaa-14). Used by the scheduler daemon for predicting the paths of polar-orbiting satellites so the antenna can track the satellite. |
|
ASCII file of readable one-line orbital elements for a given satellite (e.g., noaa-14). This file is compiled into the binary orbital elements dataset (orbdata) by the fixoes function. |
|
For DMSP satellites. Used by t1edr to compute profile for SSM/T1. |
|
For DMSP satellites. Used by t1edr to compute profile for SSM/T2. |
|
$REFDATA ($TSCANROOT/refdata) |
|
The following is a brief description of the subdirectories and files of the $REFDATA directory. Files are binary unless otherwise noted. |
|
Directory containing an X Windows defaults file for each TeraScan GUI. |
|
TDF files. Climatology files used by several TeraScan functions for making initial guesses. |
|
Land/political boundary data files, derived from the Digital Chart of the World database. Resolution is 1 km, nominally. |
|
Land/political boundary data files, derived from World Database II. Resolution is 1 km, nominally. |
|
ASCII file providing TeraScan-referenced configuration information for the frame synchronizer. |
|
config/antenna.config |
ASCII file
containing static configuration data for all polar-tracking antennas supported by the
TeraScan system. This file is used by the antenna function. |
ASCII file providing TeraScan-referenced configuration information for the bitsync. |
|
Directory containing a default system.config file for each possible permutation of the TeraScan acquisition system. These are ASCII files. |
|
ASCII file defining the configuration of the TeraScan Launchpad. |
|
ASCII file providing TeraScan-referenced configuration information for the receiver. |
|
Directory containing the Public enhancements for TDF image display in TeraVision and XVu. Public enhancements are available to all TeraScan users. |
|
Directory containing links to the .view files for Public shelves of TeraVision. |
|
Directory containing links to the .view files for Public Skew-T shelves of TeraVision. |
|
ASCII file providing parameters of the TeraScan version of the World Magnetic Model (WMM). |
|
Directory containing reference files for GRIB-related functions. |
|
ASCII table used by expgrib, the function which exports TeraScan data in GRIB (gridded binary) format. The table specifies processing center information common to all GRIB products exported from a given TeraScan system. It defines three fields: center_id, sub_center_id, and processing_id. |
|
ASCII table used by expgrib. The table relates TeraScan dataset variables to GRIB product descriptions. |
|
ASCII file of GRIB forecasts read by fnmocgrib to know which forecasts to process and which directory to deliver products to. fnmocgrib is a daemon that regularly processes GRIB data that appears in an $INPDIR directory. |
|
ASCII file of GRIB product definitions with variable names and units read by fnmocgrib to know which products to make. |
|
ASCII file containing satellite/variable-specific octet settings for GRIB PDS section. This file overrides the export_rules file. |
|
Directory defining Public palettes used in TeraVision and XVu. Public palettes are available to all TeraScan users. |
|
Directory containing ASCII files that define default settings for TeraScan GUIs (mostly TeraVision). |
|
ASCII file defining the default data representations for TDF images and overlays displayed in TeraVision. This file is referenced from the tvis.res file. |
|
ASCII file defining network-wide customizations of data representations for TeraVision. This file has the same format as the datarep.inc file. The settings of the netrep.inc file override the defaults of the datarep.inc file. |
|
settings/stv.res |
ASCII file
defining default telemetry options available to the TeraScan Satellite Weather TV GUI. |
settings/tvis.res |
ASCII file
defining default settings for the TeraVision GUI. |
ASCII file defining the Public programs accessible from the Programs panel of TeraVision and the external export converters available from the Export panel of TeraVision. |
|
ASCII file defining options available for the Image Maker field of the TeraPGS GUI. |
|
ASCII file defining data overlays (TOVS and GRIB) available for selection from the TeraPGS GUI. |
|
Variable options (and their dimensions) available for selection from the TeraPGS GUI. |
|
Database for converting from one set of units to another (ASCII file). |
|
$HOME/.terascan |
|
In each user's home directory, there is a hidden directory (.terascan) that contains user-specific directories and files. |
|
Directory containing links to the .view files for the user's Private TeraVision shelves. Private shelves are available only to the user account from which they were created. |
|
Directory containing links to the .view files for the user's Private SkewT shelves in TeraVision. Private shelves are available only to the user account from which they were created. |
|
Directory containing enhancements for TeraVision and XVu created from the current user account and saved as Private enhancements. Private enhancements are available only to the user account from which they were created. |
|
Directory containing overlays for TeraVision and XVu created from the current user account and saved as Private overlays. Private overlays are available only to the user account from which they were created. |
|
Directory containing palettes for TeraVision and XVu created from the current user account and saved as Private palettes. Private palettes are available only to the user account from which they were created. |
|
ASCII file
defining telemetry options available to the TeraScan Satellite Weather TV GUI for the
current user account. The file is updated each time the user exits the TeraScan Weather
Satellite TV GUI. |
|
Directory containing survey objects created from the Survey panel of TeraVision and saved as Private surveys. Private surveys are available only to the user account from which they were created. |
|
ASCII file
defining display settings for the TeraVision GUI for the current user account. Also
defines the programs accessible to the TeraVision Programs panel for the current account
and the math formulas created from and accessible to the current user account. The file is
updated each time the user exits TeraVision. |
|
TeraScan Environment Variables |
|
The following environment variables are needed by TeraScan users. Each TeraScan user's .login file should source the TeraScan setup file $PASSDIR/tscan.login, where these environment variables are set. |
|
Initially $TSCANROOT/pass. If this directory gets too big, it might have to be moved to another location or linked to another directory. |
|
Should include $TSCANROOT/bin, $PASSDIR/postprocs, and locations for Acrobat and Netscape. |
|
Typically /usr2/Data. Defines the directory where pgs_ingested datasets are held temporarily while awaiting action by the TeraPGS scripts to generate products from them. Contains the wefax and whole_pass directories. The whole_pass directory is further subdivided into telemetry-specific directories. |
|
Defines the directory where TeraPGS products are held (spooled) while awaiting distribution. |
|
Defines the directory where TeraPGS does all its product construction according to the product definitions stored in $PASSDIR/pgsprocs |
|
Defines shared library paths to include Motif and TDMS libraries; for SunOS: /usr/dt/lib:/usr/openwin/lib:$TSCANROOT/lib |
|
The following environment variables are used by TeraScan, but are not essential. |
|
Scratch directory for automatically expanding compressed datasets upon open. There is no default, which means there is no automatic uncompression. |
|
Debug level for antenna control and pass disk access. 1=the Default; 2= verbose; and 3= ridiculously verbose. |
|
Maximum acceptable age for orbital elements in days, i.e., do not use orbital elements older than ORBDATEDIFF days. Default is 30. Non-fatal. Warnings start to be issued when age limit is reached. |
|
Summary of Differences Between 2.6 and 3.0 |
|
Man pages have been replaced by HTML help pages located in the $TSCANROOT/html/man directories. The /html directory also contains the HTML help files for each of the TeraScan GUIs. |
|
Information of the acctelems file is now part of the $PASSDIR/config. |
|
Contains autoschedule records made in either XCapCon or TeraCapCon. |
|
schedjob files have been moved to the $PASSDIR/logfiles directory. |
|
Now pertains to both XCapCon and TeraCapCon. Contains alternate sites only, not local site. |
|
Antenna pointing commands are now found in |
|
Information of the SATSETUP file is now part of the $PASSDIR/system.config file. |
|
Sensor files are located in $PASSDIR/satel/satellite/sensor. |
|
The orbinput file for a given satellite is now found in the $PASSDIR/satel/satellite directory. satellite= noaa-14, e.g. |
|
The orbdata file for a given satellite is now found in the $PASSDIR/satel/satellite directory. satellite= noaa-14, e.g. |
|
The satel/hrptid file has been moved to the $PASSDIR directory. |
|
The satel/nitpix.coef file has been moved to the $PASSDIR directory. |
|
tscan.login, last_location, orbitfiles, sitelist,
capture_files, devtable, schedlog,
schedjob, system.config, BAST, SHMEM_ACC,
SHMEM_NMEA, unitable, msgcat,
coastfile, orbdata,
palettes, tovsfile
Last Update: $Date: 2002/05/08 01:03:51 $