Skip to content

0.4.0

Choose a tag to compare

@forman forman released this 27 Jan 12:47
2536ea0
  • 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".
  • Introduced method Plugin.define_config which 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
      into export_config.
    • The returned value should be a list of values that can be
      converted into configuration objects: mixed Config instances,
      dictionary, or a name that refers to a named configuration of a plugin.
  • Other changes:

    • Property config of Linter now returns a ConfigList instead
      of a Config object.
    • 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.configs from dict[str, Config] to
      dict[str, list[Config]].
    • Inbuilt plugin rules now import their plugin instance from
      xrlint.plugins.<plugin>.plugin module.
    • JsonSerializable now recognizes dataclass instances 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 or fsspec's memory filesystem is updated.
    • Now making use of the expected property of RuleTest.

Full Changelog: v0.3.0...v0.4.0