This page is auto-generated from XRLint's builtin rules (python -m mkruleref).
New rules will be added by upcoming XRLint releases.
Ensure that the time it takes to open a dataset from its source does a exceed a given threshold in seconds. The default threshold is 2.5.
Contained in: all-:material-lightning-bolt: recommended-:material-alert:
A dataset should provide information about where the data came from and what has been done to it. This information is mainly for the benefit of human readers. The rule accepts the following configuration parameters:
globals: list of names of required global attributes. Defaults to['title', 'history'].commons: list of names of required variable attributes that can also be defined globally. Defaults to['institution', 'source', 'references', 'comment'].no_vars: do not check variables at all. Defaults toFalse.ignored_vars: list of ignored variables (regex patterns). Defaults to['crs', 'spatial_ref'].
Contained in: all-:material-lightning-bolt: recommended-:material-alert:
Datasets should identify the applicable conventions using the Conventions attribute.
The rule has an optional configuration parameter match which is a regex pattern that the value of the Conventions attribute must match, if any. If not provided, the rule just verifies that the attribute exists and whether it is a character string.
More...
Contained in: all-:material-lightning-bolt: recommended-:material-alert:
Dimensions of data variables should have corresponding coordinates.
Contained in: all-:material-lightning-bolt: recommended-:material-lightning-bolt:
Grid mappings, if any, shall have valid grid mapping coordinate variables. More...
Contained in: all-:material-lightning-bolt: recommended-:material-lightning-bolt:
Latitude coordinate should have standard units and standard names. More...
Contained in: all-:material-lightning-bolt: recommended-:material-lightning-bolt:
Longitude coordinate should have standard units and standard names. More...
Contained in: all-:material-lightning-bolt: recommended-:material-lightning-bolt:
Every dataset element should have metadata that describes it.
Contained in: all-:material-lightning-bolt: recommended-:material-alert:
Empty chunks should not be encoded and written. The rule currently applies to Zarr format only. More...
Contained in: all-:material-lightning-bolt: recommended-:material-circle-off-outline:
Time coordinates should have valid and unambiguous time units encoding. More...
Contained in: all-:material-lightning-bolt: recommended-:material-lightning-bolt:
Check that each data variable provides an identification and description of the content. The rule can be configured by parameter attrs which is a list of names of attributes that provides descriptive information. It defaults to ['standard_name', 'long_name'].
More...
Contained in: all-:material-lightning-bolt: recommended-:material-alert:
Validate attributes 'flag_values', 'flag_masks' and 'flag_meanings' that make variables that contain flag values self describing. More...
Contained in: all-:material-lightning-bolt: recommended-:material-lightning-bolt:
Checks the recommended use of missing data, i.e., coordinate variables should not define missing data, but packed data should. Notifies about the use of valid ranges to indicate missing data, which is currently not supported by xarray. More...
Contained in: all-:material-lightning-bolt: recommended-:material-alert:
Every variable should provide a description of its units. More...
Contained in: all-:material-lightning-bolt: recommended-:material-alert:
A datacube should have spatial data variables. More...
Contained in: all-:material-lightning-bolt: recommended-:material-lightning-bolt:
Order of dimensions in spatio-temporal datacube variables should be [time, ..., y, x]. More...
Contained in: all-:material-lightning-bolt: recommended-:material-lightning-bolt:
Spatial data variables should encode xcube color mappings in their metadata. More...
Contained in: all-:material-lightning-bolt: recommended-:material-alert:
Datasets should be given a non-empty title. More...
Contained in: all-:material-lightning-bolt: recommended-:material-lightning-bolt:
Grid mapping variables should be called 'spatial_ref' or 'crs' for compatibility with rioxarray and other packages. More...
Contained in: all-:material-lightning-bolt: recommended-:material-alert:
Time coordinate labels should be monotonically increasing. More...
Contained in: all-:material-lightning-bolt: recommended-:material-lightning-bolt:
Latitude and longitude coordinates and dimensions should be called 'lat' and 'lon'. More...
Contained in: all-:material-lightning-bolt: recommended-:material-lightning-bolt:
Multi-level datasets should provide a '.zlevels' meta-info file, and if so, it should be consistent. Without the meta-info file the multi-level dataset cannot be reliably extended by new time slices as the aggregation method used for each variable must be specified. More...
Contained in: all-:material-lightning-bolt: recommended-:material-lightning-bolt:
The time dimension of multi-level datasets should use a chunk size of 1. This allows for faster image tile generation for visualisation.
More...
Contained in: all-:material-lightning-bolt: recommended-:material-alert:
Multi-level dataset levels should provide spatial resolutions decreasing by powers of two. More...
Contained in: all-:material-lightning-bolt: recommended-:material-lightning-bolt:
Coordinate variables should not be chunked. Can be used to identify performance issues, where chunked coordinates can cause slow opening if datasets due to the many chunk-fetching requests made to (remote) filesystems with low bandwidth. You can use the limit parameter to specify an acceptable number of chunks. Its default is 5.
Contained in: all-:material-lightning-bolt: recommended-:material-alert:
A single grid mapping shall be used for all spatial data variables of a datacube. More...
Contained in: all-:material-lightning-bolt: recommended-:material-lightning-bolt:
Time coordinate and dimension should be called 'time'. More...
Contained in: all-:material-lightning-bolt: recommended-:material-lightning-bolt:
Global attributes that are highly reccomended by ACDD-1.0. More...
Contained in: acdd_1.0-:material-lightning-bolt:
Global attributes that are recommended by ACDD-1.0. More...
Contained in: acdd_1.0-:material-alert:
Global attributes that are suggested by ACDD-1.0. More...
Contained in: acdd_1.0-:material-alert:
Global attributes that are highly recommended by ACDD-1.3. More...
Contained in: acdd_1.3-:material-lightning-bolt: acdd_1.3_strict-:material-lightning-bolt: acdd_1.3_strict_reccomended-:material-lightning-bolt: acdd_1.3_warn-:material-alert: recommended-:material-lightning-bolt:
Global attributes that are recommended by ACDD-1.3. More...
Contained in: acdd_1.3-:material-alert: acdd_1.3_strict-:material-lightning-bolt: acdd_1.3_strict_reccomended-:material-lightning-bolt: acdd_1.3_warn-:material-alert: recommended-:material-alert:
Global attributes that are suggested by ACDD 1.3. More...
Contained in: acdd_1.3-:material-alert: acdd_1.3_strict-:material-lightning-bolt: acdd_1.3_strict_reccomended-:material-alert: acdd_1.3_warn-:material-alert: recommended-:material-alert:
The Conventions global attribute should include ACDD-1.3.
More...
Contained in: acdd_1.3-:material-lightning-bolt: acdd_1.3_strict-:material-lightning-bolt: acdd_1.3_strict_reccomended-:material-lightning-bolt: acdd_1.3_warn-:material-alert: recommended-:material-lightning-bolt:
ACDD date attributes must be in ISO format. More...
Contained in: acdd_1.3-:material-alert: acdd_1.3_strict-:material-lightning-bolt: acdd_1.3_strict_reccomended-:material-alert: acdd_1.3_warn-:material-alert: recommended-:material-alert:
The metadata attribute should be a URL.
More...
Contained in: acdd_1.3-:material-alert: acdd_1.3_strict-:material-lightning-bolt: acdd_1.3_strict_reccomended-:material-alert: acdd_1.3_warn-:material-alert: recommended-:material-alert:
The id attribute should not contain blanks.
More...
Contained in: acdd_1.3-:material-alert: acdd_1.3_strict-:material-lightning-bolt: acdd_1.3_strict_reccomended-:material-alert: acdd_1.3_warn-:material-alert: recommended-:material-alert: