GTSMOD

A language for automatic implementation of status changes and coefficients in the GTS sub-system

Table of content:

1)Purpose
2)Syntax
3)Keywords

   3.1)Platform
          PTT (selection Argos ID number)
          WMO (changing the WMO number)
          GTS (turning platform on/off GTS)
          DEPLOYMENT (changing deployment position)
          ALTITUDE (changing station altitude)
          DROGUE (changing drogue status)

   3.2)Sensor
          SENSOR (selecting a sensor)
          DISSEM (turning sensor on/off GTS)
          LEVEL (changing sensor level (e.g. depth))
          TIME_OFFSET (changing time offset)
          MAGVAR (turning automatic geomagnetic correction on/off)
          RECALIBRATE (changing linear correction coefficients)
          LIMITS (changing sensor user limits)
          
   3.3)Calibration curve
          CALIBRATION_FROM_SENSOR (copying calibration from preceding sensor)
          CALIBRATION_TYPE (defining calibration type)
          B1 (changing coefficients for B1 curve)
          B4 (changing coefficients for B4 curve)
          SM (changing coefficients for SM curve (Software Module))

4)Example


1) Purpose:

The purpose of the GTSMOD facility is changing calibration coefficients and other platform status information automatically by submitting an Email to the Argos Users' Guidance Office. This Email includes simple pseudo-language instructions and may include comments. The Argos Users' Guidance Office will submit the Email to the system for direct implementation of the data into the system (i.e. the GTS Description Data Base).

The Email (also called source file below) contains description information of GTS platforms already existing in the GTS Sub-System and already properly defined (sensors, etc..). The basic advantages are:

Certain fields or operations (e.g. remove or add a sensor, change calibration type, ...) cannot be handled by this program and must therefore be done manually by the Argos Users' Guidance Office.

Syntax and other types of errors can happen. It that case the Argos Users' Guidance Office will let you know so that you can modify your source file accordingly:


2) The Syntax (pseudo-language instructions)

The source file is supposed to include blocks of PTT description information (one block per PTT). A block is comprised of two or more instructions , the first instruction of a block must always be the keyword "PTT,Argos_Id" to indicate the platform number. Hence the first keyword of a file must be PTT to indicate the platform number of the first platform of the source file.

When compiling the file, the compiler will save the previous block and create a new one automatically each time a new keyword PTT is found. When all the blocks are processed, and if no error occurred, the blocks saved are automatically transferred to the GTS sub-system description data base. In case an error occurred all information processed are disregarded and the compiler stops immediately processing the source file. The Argos Users' Guidance Office will inform you in case such errors occur.

The general format of an instruction is :

KEYWORD[,ARGUMENT1[,ARGUMENT2]]

(',' is the separator, and [] are used to indicate optional arguments).

All arguments in excess of required ones will be ignored

(e.g "PTT 05566 (Argos ID Number)")

Arguments are separated by a separator which can be one of the following characters: ,:=()[]{} Spaces or Tabs (e.g."PTT:05566" or "PTT=05566" or "PTT 05566" are valid instructions)

Arguments can be included in quotes "" or '' in order for the compiler to ignore possible separators or spaces

(e.g. ARGUMENT1 = "TEMP:AIR"). Quotes are not necessary when no ambiguity is possible (e.g. ARGUMENT1 = SST).

Important:

In the Argos GTS sub-system, sensors are referenced by names. Normally these names are defined by the program manager at the time he fills out his GTS Technical File. It is however possible (e.g. the program manager did not fill out a GTS Technical File and submitted the information in a free format) that the program manager is not aware of the sensor names used for these of his platforms which are reporting on GTS. In that case he can request the Argos Users' Guidance Office to provide him with the list of sensor names used for every kind of GTS platform he is using. Also for consistency purposes, it is recommended that the following names be used in the GTS Technical File:

Sensor name Sensor
ATMPRES Atmospheric pressure
SEATEMP Sea surface temperature
AIRTEMP Air temperature
WINDSP Wind speed
WINDIR Wind direction
TEND Air pressure tendency
TENDCHAR Characteristic of the air pressure tendency
ATMPRES_SY Synoptic atmospheric pressure
ATMPRES_H-1 Previous hour atmospheric pressure
T1 First sub-surface water temperature
T2 Second sub-surface water temperature

3) List of possible instructions and keywords:

Keywords are indicated in Uppercases, Arguments in lowercases, optional elements are inside brackets []:

3.1) PTT description

PTT,argos_id

WMO,wmo_id

GTS,yes_no

DEPLOYMENT,latitude,longitude

ALTITUDE, altitude

DROGUE,yes_no

3.2) Sensor description:

SENSOR,[ALL] Sensor_Name[*]

DISSEM,yes_no

LEVEL,probe_level

TIME_OFFSET,offset_value

MAGVAR,yes_no

RECALIBRATE,RESET

RECALIBRATE,a,b

LIMITS,low,high

3.3) Calibration coefficients

CALIBRATION_FROM_SENSOR,Sensor_Name

CALIBRATION_TYPE,process_type

Changing coefficients for B1 curves (use "CALIBRATION_TYPE B1" before)

[VALUES,]binary,physical


Changing coefficients for B4 curves (user "CALIBRATION_TYPE B4" before)

A0,value

A1,value

A2 A5, B1.. B5


Changing coefficients for SM (Software Module) curves (use "CALIBRATION_TYPE SM" before

C01,value

C02,value

C03 .. C20


4) Example of GTSMOD Source file: