Applying conventions to your files

Naming conventions

Coordinate system

Requirements:

The time units of a time coordinate variable must contain a reference time.

The reference time of a time coordinate variable must be a legal time in the specified calendar.

Recommendations:

The use of a reference time in the year 0 to indicate climatological time is deprecated. This restriction only applies to the real-world calendar as used by the udunits package.

Units of year and month and any equivalent units should be used with caution.

Cliamtological statistics (check document)

Variable attributes

The CF Conventions provides a complete list of variable attributes it covers. Here we are covering only the ones we believe are more critical. It is also worth to point out that lots of these attributes are not required but highly recommended for backwards compatibility with COARDS. However, they are usually expected for the files to be considered CF compliants, whenever they are applicable.

Important link: https://cfconventions.org/Data/cf-documents/requirements-recommendations/conformance-1.8.html

exceptions for boundary and climatology variables

The units level, layer, and sigma_level are deprecated.

Global attributes

Global attributes are the ones that apply to the entire file. Global attributes are useful to record provenance: keep track of operations applied to the file, data sources and software used to generate the data, any party involved. They are also used at publication stage when conventions like ACDD build on the CF ones to add publication related information, as DOI, contact, license and references. While global attributes are the most useful when sharing data, for example to increase discoverability, using some key ones from the start of the file creation is important to keep track of the file history. Often this level of information is neglected when saving data to a file, which can make it hard if not impossible reconstruct the analysis workflow later on with some certainty. Also, as global attributes are preserved during most of analysis operations, output files end up containing a legacy of global attributes from the source file which is usually not anymore relevant to the new data. Institution, source, references, and comment can also be assigned to individual variables, in such case the variable version has precedence.