Skip to content

Latest commit

 

History

History
350 lines (289 loc) · 10.2 KB

appa.adoc

File metadata and controls

350 lines (289 loc) · 10.2 KB

Appendix A: Attributes

All CF attributes are listed here except for those that are used to describe grid mappings. See Appendix F for the grid mapping attributes.

The "Type" values are S for string, N for numeric, and D for the type of the data variable. The "Use" values are G for global, Gr for applying to groups, C for variables containing coordinate data, D for data variables, M for geometry container variables, Do for domain variables, and - for variables with a special purpose. "Links" indicates the location of the attribute"s original definition (first link) and sections where the attribute is discussed in this document (additional links as necessary).

Table A.1. Attributes
Attribute Type Use Links Description

actual_range

N

C, D

[missing-data]

The smallest and the largest valid non-missing values occurring in the variable.

add_offset

N

C, D

NUG Appendix A, "Attribute Conventions", and [packed-data]

If present for a variable, this number is to be added to the data after it is read by an application. If both scale_factor and add_offset attributes are present, the data are first scaled before the offset is added. In cases where there is a strong constraint on dataset size, it is allowed to pack the coordinate variables (using add_offset and/or scale_factor), but this is not recommended in general.

ancillary_variables

S

D

[ancillary-data]

Identifies a variable that contains closely associated data, e.g., the measurement uncertainties of instrument data.

axis

S

C

[coordinate-types]

Identifies latitude, longitude, vertical, or time axes.

bounds

S

C

[cell-boundaries]

Identifies a boundary variable.

calendar

S

C

[calendar]

Calendar used for encoding time axes.

cell_measures

S

D, Do

[cell-measures]

Identifies variables that contain cell areas or volumes.

cell_methods

S

D

[cell-methods], [climatological-statistics]

Records the method used to derive data that represents cell values.

cf_role

S

C

[coordinates-metadata]

Identifies the roles of variables that identify features in discrete sampling geometries

climatology

S

C

[climatological-statistics]

Identifies a climatology variable.

comment

S

G, C, D

[description-of-file-contents]

Miscellaneous information about the data or methods used to produce it.

compress

S

C

[compression-by-gathering], [reduced-horizontal-grid]

Records dimensions which have been compressed by gathering.

computed_standard_name

S

C

[parametric-vertical-coordinate]

Indicates the standard name, from the standard name table, of the computed vertical coordinate values, computed according to the formula in the definition.

Conventions

S

G

NUG Appendix A, "Attribute Conventions"

Name of the conventions followed by the dataset.

coordinate_interpolation

S

D, Do

[compression-by-coordinate-subsampling]

Indicates that coordinates have been compressed by sampling and identifies the tie point coordinate variables and their associated interpolation variables.

coordinates

S

D, M, Do

[coordinate-system], [labels], [alternative-coordinates]

Identifies auxiliary coordinate variables, label variables, and alternate coordinate variables.

dimensions

S

Do

[domain-variables]

Identifies the dimensions that define a domain variable.

external_variables

S

G

[external-variables], [cell-measures]

Identifies variables which are named by cell_measures attributes in the file but which are not present in the file.

_FillValue

D

C, D

NUG Appendix A, "Attribute Conventions", and [missing-data], and [ch9-missing-data]

A value used to represent missing or undefined data. Allowed for auxiliary coordinate variables but not allowed for coordinate variables.

featureType

S

G

[featureType]

Specifies the type of discrete sampling geometry to which the data in the scope of this attribute belongs, and implies that all data variables in the scope of this attribute contain collections of features of that type.

flag_masks

D

D

[flags]

Provides a list of bit fields expressing Boolean or enumerated flags.

flag_meanings

S

D

[flags]

Use in conjunction with flag_values to provide descriptive words or phrases for each flag value. If multi-word phrases are used to describe the flag values, then the words within a phrase should be connected with underscores.

flag_values

D

D

[flags]

Provides a list of the flag values. Use in conjunction with flag_meanings.

formula_terms

S

C

[parametric-vertical-coordinate]

Identifies variables that correspond to the terms in a formula.

geometry

S

C, D, Do

[geometries]

Identifies a variable that defines geometry.

geometry_type

S

M

[geometries]

Indicates the type of geometry present.

grid_mapping

S

D, M, Do

[grid-mappings-and-projections]

Identifies a variable that defines a grid mapping.

history

S

G, Gr

NUG Appendix A, "Attribute Conventions"

List of the applications that have modified the original data.

instance_dimension

S

-

[representations-features]

An attribute which identifies an index variable and names the instance dimension to which it applies. The index variable indicates that the indexed ragged array representation is being used for a collection of features.

institution

S

G, D

[description-of-file-contents]

Where the original data was produced.

interior_ring

S

M

[geometries]

Identifies a variable that indicates if polygon parts are interior rings (i.e., holes) or not.

leap_month

N

C

[calendar]

Specifies which month is lengthened by a day in leap years for a user defined calendar.

leap_year

N

C

[calendar]

Provides an example of a leap year for a user defined calendar. It is assumed that all years that differ from this year by a multiple of four are also leap years.

long_name

S

C, D, Do

NUG Appendix A, "Attribute Conventions", and [long-name]

A descriptive name that indicates a variable"s content. This name is not standardized.

missing_value

D

C, D

[missing-data], and [ch9-missing-data]

A value or values used to represent missing or undefined data. Allowed for auxiliary coordinate variables but not allowed for coordinate variables.

month_lengths

N

C

[calendar]

Specifies the length of each month in a non-leap year for a user defined calendar.

node_coordinates

S

M

[geometries]

Identifies variables that contain geometry node coordinates.

node_count

S

M

[geometries]

Identifies a variable indicating the count of nodes per geometry.

nodes

S

C

[geometries]

Identifies a coordinate node variable.

part_node_count

S

M

[geometries]

Identifies a variable providing the count of nodes per geometry part.

positive

S

C

[COARDS]

Direction of increasing vertical coordinate value.

references

S

G, D

[description-of-file-contents]

References that describe the data or methods used to produce it.

sample_dimension

S

-

[representations-features]

An attribute which identifies a count variable and names the sample dimension to which it applies. The count variable indicates that the contiguous ragged array representation is being used for a collection of features.

scale_factor

N

C, D

NUG Appendix A, "Attribute Conventions", and [packed-data]

If present for a variable, the data are to be multiplied by this factor after the data are read by an application. See also the add_offset attribute. In cases where there is a strong constraint on dataset size, it is allowed to pack the coordinate variables (using add_offset and/or scale_factor), but this is not recommended in general.

source

S

G, D

[description-of-file-contents]

Method of production of the original data.

standard_error_multiplier

N

D

[standard-name-modifiers]

If a data variable with a standard_name modifier of standard_error has this attribute, it indicates that the values are the stated multiple of one standard error.

standard_name

S

C, D

[standard-name]

A standard name that references a description of a variable"s content in the standard name table.

title

S

G, Gr

NUG Appendix A, "Attribute Conventions"

Short description of the file contents.

units

S

C, D

NUG Appendix A, "Attribute Conventions", and [units]

Units of a variable"s content.

valid_max

N

C, D

NUG Appendix A, "Attribute Conventions"

Largest valid value of a variable.

valid_min

N

C, D

NUG Appendix A, "Attribute Conventions"

Smallest valid value of a variable.

valid_range

N

C, D

NUG Appendix A, "Attribute Conventions"

Smallest and largest valid values of a variable.