NetCDF format specification

From

Revision as of 13:15, 24 May 2013 by Ilya (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Глобальные атрибуты

  • title
A succinct description of what is in the dataset.
  • institution
Specifies where the original data was produced.
  • source
The method of production of the original data. If it was model-generated, source should name the model and its version, as specifically as could be useful. If it is observational, source should characterize it (e.g., "surface observation" or "radiosonde").
  • history
Provides an audit trail for modifications to the original data. Well-behaved generic netCDF filters will automatically append their name and the parameters with which they were invoked to the global history attribute of an input netCDF file. We recommend that each line begin with a timestamp indicating the date and time of day that the program was executed.
  • references
Published or web-based references that describe the data or methods used to produce it.
  • comment
Miscellaneous information about the data or methods used to produce it.


Выбор имени переменной

Когда возможно, пожалуйста, используйте имена из таблицы стандартных имен и размерностей. В ином случае, используется следующая конвенция:

  • Допустимы только буквы в нижнем регистре, цифры и подчеркивания, название атрибута должно начинаться с буквы, заглавные буквы не используются;
  • Используется американский английский (vapor, color, etc.);
  • При необходимости, используется нотация, полностью описывающая характер переменной: [surface] [component] standard_name [at surface] [in medium] [due to process] [assuming condition]

См. первоисточник для детальной информации.

Описание переменной

Каждая переменная в netCDF файле описывается тремя атрибутами: units, long_name, и standard_name. Значения атрибута units - символьная строка. См. спецификацию единиц измерения. Для переменных типа latitude, longitude, time должны быть соответствующие standard_name и units, чтобы быть автоматически распознанными сторонними пакетами.

Отсутствующие данные

Атрибуты _FillValue, missing_value, valid_min, valid_max, valid_range используются для описания диапазона значений и указания отсутствующих данных.

Типы данных

Следующие типы данных поддерживаются: char, byte, short, int, float / real, double

Personal tools
MediaWiki Appliance - Powered by TurnKey Linux