v0.14.0
Announcements
- We have improved the API, particularly for writing data to disk. This gives you much more control over writing and the ability to make changes at multiple steps along the way (which can be necessary, given the complexity of the netCDF conversion). However, this also introduced quite a number of breaking changes. For details, see below.
Changelog
⚠️ Breaking Changes
-
- The function signatures for [
input4mips_validation.dataset.Input4MIPsDataset.from_data_producer_minimum_information
][]
and [input4mips_validation.dataset.Input4MIPsDataset.from_data_producer_minimum_information_multiple_variable
][]
have now been simplified to use an injectable [prepare_func
][input4mips_validation.dataset.dataset.PrepareFuncLike
][],
the default value of which is [input4mips_validation.dataset.dataset.prepare_ds_and_get_frequency
][].
This makes the API simpler and gives the user more control.
However, it is a breaking change. - We removed fine-grained control of writing to disk when using [
Dataset.write
][input4mips_validation.dataset.Input4MIPsDataset.write]
and [input4mips_validation.io.write_ds_to_disk
][].
Instead, use [Dataset.get_out_path_and_disk_ready_dataset
][input4mips_validation.dataset.Input4MIPsDataset.get_out_path_and_disk_ready_dataset]
or [input4mips_validation.io.prepare_out_path_and_cubes
][] then write using you own writing function
(typically [iris.save
][] instead). - Renamed
bounds_dim
tobounds_indicator
in [input4mips_validation.dataset.dataset.handle_ds_standard_long_names
][].
(#80)
- The function signatures for [
🆕 Features
-
- Added [
Dataset.get_out_path_and_disk_ready_dataset
][input4mips_validation.dataset.Input4MIPsDataset.get_out_path_and_disk_ready_dataset]
and [input4mips_validation.io.prepare_out_path_and_cubes
][]
to permit finer-grained control of file preparation and writing. - Added [
input4mips_validation.dataset.dataset.add_bounds
][].
(#80)
- Added [
🐛 Bug Fixes
- Fixed up passing of input arguments to underlying functions in
input4mips-validation validate-tree
(#75) - [
input4mips_validation.cvs.load_cvs
][] now supports variables of typePath
for thecv_source
argument.
As part of this fix, [input4mips_validation.cvs.loading_raw.get_raw_cvs_loader
][] now also supports variables of typePath
for thecv_source
argument. (#80)
🔧 Trivial/Internal Changes
Changes
- e3a445e bump: version 0.13.3a1 -> 0.14.0
- f68736e Remove script
- 9f3462c Fix up some more tests
- 95c9841 Fix changelog entries
- 946a910 Fix changelog entries
- e8980de Fix docs
- 953a673 Update CHANGELOG
- 198e2a9 Add changelog placeholders
- 6ee990e Add test of path handling for cv_source
- a516c1f Fix up general handling
- 0b5e0f0 CHANGELOG
- 59cfbd9 First fix ups
- 48df3cd Allow loading CVs from a Path
- d7c9d14 Fix up pinning for conda
- db6fb0d CHANGELOG
- 2522862 Fix up argument passing
- 64ff0ae bump(pre-release): version 0.13.2 > 0.13.3a1