The netCDF file format is UniPlot’s standard data file format. These files can contain attributes of the form
AttributName = AttributValue
A netCDF attribute contains information about a netCDF variable or about the entire netCDF file. Attributes are used to specify such properties as units, special values and parameters. For example, “units” is an attribute represented by a string such as “Nm”
The attribute names are case sensitive. Units and units are different attributes.
Here is a list of attribute names that have a special meaning for UniPlot:
| Attribute Name | Data Type | Meaning |
|---|---|---|
| Origin | char | Name of a source file, e.g. “c:test.xls”. |
| Source | char | Import filter creator. |
| Creator | char | Name of the import filter. The name may contain a version number, e.g. UniPlot Pasy 1.0 |
| Date | char | Date when the NC file was created |
| Time | char | Time when the NC file was created |
| Range | 2*int |
| Attribute Name | Data Type | Meaning | |
|---|---|---|---|
| title | char | A succinct description | |
| long_name | char | A long desciptive name containing the unit | |
| units | char | A string that specifies the units of the variable’s data. | |
| scale_factor | double | If present, it is used to be multiplied by this factor after the data is read. | |
| add_offset | double | If present, it is used to be added to the data after the data is read. | |
| missing_value | same as the channel | see notes | |
| Type | char | Values is “Time Channel” or “Data Channel” | |
| datatype | char | Values are: “date”, “time”, “datetime” | |
| C_format | char | Format string that can be used to print values, see printf | |
| __Delete__ | int | Channel is marked as deleted if the value is 1. | |
| Description | char | A description | |
| Comment | char | A comment | |
| _FillValue | |||
| _formula_text | char | ||
| _formula_description | char | ||
| _formula_comment | char | ||
| _formula_onlyif | char | ||
| _channel_type | char | “formula” or “formula_not_registered” | |
| valid_range | same as the channel | see notes |
The data type of the attribute missing_value is identical to the channel’s data type.
valid_range is a channel attribute that holds two numbers specifying the minimum and maximum valid values. The type of each valid_range attribute should match the type of its variable. If a channel value is outside the valid range it will be displayed in the grid with the font color red.
See also
id-2031695