The CF conventions support so-called flag variables which can be regarded as categorical variables. It would be good if this was supported.
The CovJSON specification has an example of a categorical parameter. To derive the category/flag labels from the flag_meanings attribute of the netCDF file, the typical way is to replace underscores with whitespace and uppercase each word. For example "outside_valid_range" would be the ID of the category, and the label would be "Outside Valid Range".
The CF conventions support so-called flag variables which can be regarded as categorical variables. It would be good if this was supported.
The CovJSON specification has an example of a categorical parameter. To derive the category/flag labels from the
flag_meanings
attribute of the netCDF file, the typical way is to replace underscores with whitespace and uppercase each word. For example "outside_valid_range" would be the ID of the category, and the label would be "Outside Valid Range".