McIDAS Programmer's Manual
Version 2003
[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]
Schema definition files are ASCII text files that contain lines of text defining the structure of MD files for point-source data types. To create a schema definition file, use a standard editor to enter a set of text lines. The file serves as input to the schema registration program, SCHE, that reads the text lines and forms a blueprint of the MD file's structure. SSEC distributes the schema definition files below with every McIDAS upgrade.
Schema file | Contents |
---|---|
Because schema definition files form the input to an application, you must use the formats provided below for each text line of a schema file.
A header is required for each schema definition file. Its format is shown below, followed by a table of parameter definitions.
Parameter | Definition |
---|---|
Either a row header or a column header is required for each schema definition file. The row and column header formats are shown below, followed by a table of parameter definitions.
ROWS nrows "description
rkeyname1 rscale1 runits1 "description
...
rkeynameN rscaleN runitsN "description
Parameter | Definition |
---|---|
COLUMNS ncols "description
ckeyname1 cscale1 cunits1 "description
...
ckeynameN cscaleN cunitsN "description
Parameter | Definition |
---|---|
Repeat groups are optional. They are useful when data of the same type is repeated within the data portion of a record. The format is shown below.
Parameter | Definition |
---|---|
number of repeat groups in the data portion of the schema definition |
|
To end the schema definition file, use ENDSCHEMA. To enter comments, use the format "comments.
No API functions exist for reading and writing MD schema definition files.
For more information about MD file schemas and associated terminology, see the MDXXnnnn data structure in this chapter. |
[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]