Input4mips-validation

Latest version: v0.15.0

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 10

0.10.3a1

0.10.2

Announcements

* Hot fix for v0.10.1, making loguru-config an actual optional dependency

Changelog



🐛 Bug Fixes

- Make [loguru-config](https://github.com/erezinman/loguru-config) an optional dependency in `pyproject.toml` too ([#50](https://github.com/climate-resource/input4mips_validation/pulls/50))

🔧 Trivial/Internal Changes

- [50](https://github.com/climate-resource/input4mips_validation/pulls/50)



Changes

* 085cddb bump: version 0.10.2a1 -> 0.10.2
* 627bc56 CHANGELOG
* 8078f08 Make loguru-config an optional dependency
* 4c77f01 Fix up recipe print script
* 364a99a CHANGELOG
* 0c40b23 Fix up action
* 1fa5ddf Update lock file

0.10.2a1

0.10.1

Announcements

* Various bug fixes for [v0.10.0](https://github.com/climate-resource/input4mips_validation/releases/tag/v0.10.0) mainly. As in the announcements for v0.10.0, we're now ready to help with producing and uploading input4mips files: see [the v0.10.1 docs here](https://input4mips-validation.readthedocs.io/en/v0.10.1/)

Changelog



🎉 Improvements

- Clarify handling of dry run in [`upload_ftp`][input4mips_validation.upload_ftp] ([45](https://github.com/climate-resource/input4mips_validation/pulls/45))
- [loguru-config](https://github.com/erezinman/loguru-config)
is now an optional dependency.
This makes it possible to install the package from conda
without things exploding, as loguru-config is not available on conda.
This may be changed in future, if loguru-config is released on conda
(relevant MR here: https://github.com/conda-forge/staged-recipes/pull/27110) ([#48](https://github.com/climate-resource/input4mips_validation/pulls/48))

🔧 Trivial/Internal Changes

- [44](https://github.com/climate-resource/input4mips_validation/pulls/44), [#46](https://github.com/climate-resource/input4mips_validation/pulls/46), [#47](https://github.com/climate-resource/input4mips_validation/pulls/47), [#49](https://github.com/climate-resource/input4mips_validation/pulls/49)



Changes

* b0b05dc bump: version 0.10.1a1 -> 0.10.1
* b2b65af Hot fix pyproject toml
* 1393160 Update docs
* 2a70fef Update test conda install and CHANGELOG
* 955248f Update conda workflow too
* 3afd7ba Fix workflow definition
* d67aec1 Test new workflow
* b79eee2 CHANGELOG
* 2293c7b Make loguru-config a late dependency
* 352e95e CHANGELOG
* b66ed6c Add script that dumps out pins for conda recipe
* ec74f35 CHANGELOG
* c8630de Add CHANGELOG build to docs CI
* 37d5178 CHANGELOG
* bd3f2ae Fix up None handling
* d8fa442 CHANGELOG
* 8f6b096 Add missing cross ref
* 33b77ef Fix lock after bump

0.10.0

Announcements

* We are now ready for helping with input4MIPs file generation and uploads.
* To use this, use v0.10.1 and see docs at https://input4mips-validation.readthedocs.io/en/v0.10.1/

Changelog



⚠️ Breaking Changes

- - Removed `--verbose` option from the `input4mips-validation` command
- Moved logging to `input4mips_validation.logging`

([40](https://github.com/climate-resource/input4mips_validation/pulls/40))

🆕 Features

- - Added `--version` flag to the `input4mips-validation` command

- Added `--no-logging` to the `input4mips-validation` command to disable logging
- Added `--logging-config` to the `input4mips-validation` command to allow the user to specify the path to the logging configuration file
- Added `--logging-level` to the `input4mips-validation` command to allow the user to simply specify the logging level to use. Note that `--logging-config` takes precedence over this flag.

- Fixed up the logging levels throughout the CLI and associated commands

- Added the [`Input4MIPsDataset.non_input4mips_metadata`][input4mips_validation.dataset.Input4MIPsDataset.non_input4mips_metadata]
attribute to handle metadata that is not part of the known input4MIPs keys
- Added [`Input4MIPsDataset.from_ds`][input4mips_validation.dataset.Input4MIPsDataset.from_ds]
to allow easy creation from a loaded [xarray.Dataset][]

- Added the `--rglob-input` option to better control files of interest.
This appplies to both `input4mips-validation validate-tree`
and `input4mips-validation create-db`

- Added [`input4mips_validation.hashing`][input4mips_validation.hashing]

- Added [`DataReferenceSyntax.get_esgf_dataset_master_id`][input4mips_validation.cvs.drs.DataReferenceSyntax.get_esgf_dataset_master_id]

([40](https://github.com/climate-resource/input4mips_validation/pulls/40))
- - Added the `input4mips-validation upload-ftp` command
- Added [`input4mips_validation.upload_ftp`][input4mips_validation.upload_ftp]

([43](https://github.com/climate-resource/input4mips_validation/pulls/43))

🎉 Improvements

- - Added support for fields used by input4MIPs database:
- comment
- comment_post_publication
- data_node
- esgf_dataset_master_id
- filepath
- latest
- publication_status
- replica
- sha256
- timestamp
- validated_input4mips
- xlink

- Made all metadata-related classes frozen so they can be hashed,
which makes sorting and comparison easier
(and has almost no downsides
as these classes do not generally need to be changed once created,
and if they do need to be changed, that can be done with [attrs.evolve][]).

- Made [commit `52841b0117474efd2705a083c21b3760531974f3`](https://raw.githubusercontent.com/PCMDI/input4MIPs_CVs/52841b0117474efd2705a083c21b3760531974f3/CVs/)
a known registry for the raw CVs.

([40](https://github.com/climate-resource/input4mips_validation/pulls/40))

🐛 Bug Fixes

- - Fixed a bug in the behaviour of `input4mips-validation validate-file`'s `--write-in-drs` flag.
If this flag is used, this command now fixes file names too
and will update the tracking ID and creation ID
if anything about the file (including its name) is changed.
The command now also raises an error if you try overwrite an existing file.
- Removed the product and region properties from the minimum dataset producer metadata related classes
- Replaced all uses of [xarray.load_dataset][] with [xarray.open_dataset][].
The latter doesn't load the file's data into memory, hence is much faster
(especially for large files).
- Fixed the behaviour of [`Input4MIPsDatabaseEntryFile.from_file`][input4mips_validation.database.database.Input4MIPsDatabaseEntryFile.from_file].
Now, if there is a clash between metadata, a warning is logged
but the existing value is used
(i.e. the value from higher-priority sources is used)
rather than an error being raised.

([40](https://github.com/climate-resource/input4mips_validation/pulls/40))

📚 Improved Documentation

- Updated README so that the snippet comments don't show up ([37](https://github.com/climate-resource/input4mips_validation/pulls/37))
- - Added docs about project status to the README
- Added docs about preparing a file in the how-to guides. How to upload will come in the next MR.
- See ["How can I prepare my input4MIPs files for publication on ESGF?"](https://input4mips-validation.readthedocs.io/en/latest/how-to-guides/#how-can-i-prepare-my-input4mips-files-for-publication-on-esgf)

([40](https://github.com/climate-resource/input4mips_validation/pulls/40))
- Added documentation about how to upload to an FTP server, and cross-linked these with the rest of the docs ([43](https://github.com/climate-resource/input4mips_validation/pulls/43))

🔧 Trivial/Internal Changes

- [40](https://github.com/climate-resource/input4mips_validation/pulls/40)



Changes

* 389ff5c bump: version 0.9.1a1 -> 0.10.0
* ce8fb60 mypy
* 3b0d9af CHANGELOG
* 4682307 Add cross-links
* 69813ac Finish off docs and dry run mode
* 57e28a3 Add docs without dry run flag
* 881f073 Next bit
* 3267aad Start on docs
* 8337af2 Fix up location of CVs note
* e6fdf22 mypy
* 0644606 Add known registry and fix up CVs usage
* 9f54566 Clean up RtD yaml
* e41bc47 Remove trickery
* 677ea3d Add cfchecker to docs dependencies
* 0b31589 Add debug logs
* abcae97 Fix order of operations
* fa1383a Add more output
* bf9f085 Try getting more output
* 1639e06 Try fixing up write path
* a2ceb9d Improve error message
* e448477 Fix up docs environment creation
* f4fd426 Fix docs errors
* 474a0e8 mypy and tests
* 2f9980f mypy
* 4786cf3 Fix notebooks
* e7eb9d5 Finish CHANGELOG
* dfb4942 Start on CHANGELOG
* 0c4103d Fix up rglob passing
* 8a08fdf Fix up logging variable names
* 21ad9c8 Remove accidentally committed files
* 2961a3d Fix up type of xlink
* 35a8cd6 Fix up link in README
* 3584b93 Finish checking docs
* 83780a3 Start on docs for writing files
* fbec5d5 CHANGELOG
* f74f2db Update README.md

0.9.1a1

Page 4 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.