loaddnmi control_file
This utility was written for loading 2-D tide data from a numerical model into a CODAS database. These data were made available by the Norwegian Meteorological Institute (Det Norske Meteorologiske Institutt) where the name loaddnmi.
Currently, only data files containing 2-D tide data is supported. The required producer definition file defining the database is DNMI_2DT.def.
The following parameters have to be defined in the control file:
Name of database, eventually prefixed with the path to its
location, if not in the current directory. Remember that the
base name if a database should not exceed five characters.
Name and path of producer definition file defining the CODAS database.
The following options are implemented:
This key word can be used to improve the clarity of the control
file and specify the beginning of options. It has no effect.
Specify this for converting longitude values between -180 and
+180 degree before using them.
In the case where data stored in the binary files refer to a
polar stereographic map projection grid, the number of grid
points from the Equator to the North Pole along the center
meridian must be known for converting data back into
geographical positions. Because files do not always have
this parameter saved together with the data, this parameter must
be provided separately.
The time range in the usual format, i.e.
YYYY/MM/DD hh:mm:ss to YYYY/MM/DD hh:mm:ssspecifying which part of the data to load into the database. Note that this option must be specified.
Position range specifying the area of selected data to load into
the database. The format is the following:
lat1 lon1 to lat2 lon2where latitudes and longitudes can be specified in the following formats:
{d}dd mm' ss.ss" Swhere the optional leading digit d is for longitudes, the sign S is one of NSy+- for latitudes and EWX+- for longitudes. Hemisphere signs XY refer to bad positions and +- are used for the form where the sign S is placed in front of data. Note that this option must be specified.
{d}dd mm.mmmm' S
{d}dd.dddddd S
S{d}dd.dddddd
This keyword is mandatory and terminates the list of selected options.
Finally, the control file is terminated by the list of DNMI files to parse.
The only files generated by this utility are the database files.
Pierre Jaccard, Geophysical Institute, University of Bergen, 1999