Skip to content

Releases: Descanonge/neba

v0.2.0

26 Feb 17:29

Choose a tag to compare

What's Changed

Data

  • Renamed Dataset to DataInterface to avoid confusion
  • DataInferace is not a configurable Section anymore (this is now available as DataInterfaceSection)
  • Overhaul of DataInterface parameters storage:
    • Renamed module to Parameters
    • New API allowing to easily access parameters from the module, independant of underlying container
  • Metadata is now generated by dedicated object MetadataGenerator that is easier to modify and extend.
  • Excecutions during module initialization and setup will now be raised and not ignored
  • Switch attributes open_dataset_kwargs, open_mfdataset_kwargs, to_netcdf and to_zarr of XarrayLoader and XarrayWriter to lowercase
  • Centralize utilities in neba.utils
  • Fix restoring cache after DataInterface.save_excursion
  • Fix ModuleMix.select when the selection method is unbound

Config

  • Remove traitlets.config.LoggingConfigurable from Application bases (which made it a subclass of Configurable)
  • Loaded configuration is now stored in Application.config, Application.file_config and Application.cli_config
  • Generated configuration files will not have their values commented by default. This can be changed with argument comment_default
  • Fix Application.write_config not defaulting to "abort" when file already exist
  • Rename to Section.values_from_func_signature
  • Standardize (somewhat) serialization across loaders

Full Changelog: v0.1.0...v0.2.0

v0.1.0

10 Feb 15:44

Choose a tag to compare

Add publish workflow