0.4.0
-
Fixed and enhanced core rule
time-coordinate. `(#33) -
New xcube rule
no-chunked-coords. (#29) -
New xcube multi-level dataset rules:
ml-dataset-meta: verifies that a meta info file exists and is consistent;ml-dataset-xy: verifies that the levels have expected spatial resolutions;ml-dataset-time: verifies that the levels have expected time dimension, if any.
-
Now supporting xcube multi-level datasets
*.levels:- Added xcube plugin processor
"xcube/multi-level-dataset"that is used
inside the predefined xcube configurations "all" and "recommended".
- Added xcube plugin processor
-
Introduced method
Plugin.define_configwhich defines a named plugin
configuration. It takes a name and a configuration object or list of
configuration objects. -
Changed the way how configuration is defined and exported from
Python configuration files:- Renamed function that exports configuration from
export_configs
intoexport_config. - The returned value should be a list of values that can be
converted into configuration objects: mixedConfiginstances,
dictionary, or a name that refers to a named configuration of a plugin.
- Renamed function that exports configuration from
-
Other changes:
- Property
configofLinternow returns aConfigListinstead
of aConfigobject. - Directories that are recognized by file patterns associated with a non-empty
configuration object are no longer recursively traversed. - Node path names now contain the dataset index if a file path
has been opened by a processor produced multiple
datasets to validate. - Changed type of
Plugin.configsfromdict[str, Config]to
dict[str, list[Config]]. - Inbuilt plugin rules now import their
plugininstance from
xrlint.plugins.<plugin>.pluginmodule. JsonSerializablenow recognizesdataclassinstances and no longer
serializes property values that are also default values.- Pinned zarr dependency to be >=2.18, <3 until test
tests.plugins.xcube.processors.test_mldataset.MultiLevelDatasetProcessorTest
is adjusted orfsspec's memory filesystem is updated. - Now making use of the
expectedproperty ofRuleTest.
- Property
Full Changelog: v0.3.0...v0.4.0