Clisops

Latest version: v0.13.0

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

Scan your dependencies

Page 1 of 5

0.13.0

New Features
* `clisops` now officially supports Python 3.12 (330).

Bug Fixes
* Fixed standard file-namer fallback method (318).
* Fixed `KeyError` for temporal subsetting by components if not all components can be found in the dataset (316).
* Raising `KeyError` for temporal subsetting by components when no time steps match the selection criteria (316).
* Coordinate detection for remapping operator via standard_name if detection via `cf-xarray` fails / is ambiguous (316).
* Remove encoding settings with regards to compression for string variables to avoid netCDF write errors with newer `netcdf-c` library versions (>4.9.0) (319).
* Fixed a few docstrings, specifies some class methods as static methods (321).
* Renamed a few internal variables for clarity, rephrased a few sentences for grammar/spelling (321).
* Fixed a bug related to the creation of the `weights_dir` for regridding that was causing issues for Windows platforms (313).

Other Changes
* The compression level is capped at 1 to reduce write times (319).
* Updated `pre-commit` hooks, pinned linting tools to their pre-commit equivalents (321).
* Added a pre-commit hook as well as a configuration for `codespell` (321).
* Added `dependabot` to maintain package and GitHub Action versions (322).
* The `require_module` decorator can now accept supported version information (321).
* Testing data caching now uses platformdirs to determine the OS-appropriate caching location (321).
* Updated `black` in linting tools to v24.2.0 (330).
* Changes some print calls into logging calls in the tests (330).
* A warning is now emitted on `clisops` import if the installed `xesmf` is too old (330).
* Replaced `styfle/cancel-workflow-action` with GitHub Workflow concurrency settings (330).

0.12.2

What's Changed
* Regridding: handling of zonal mean datasets and datasets with shifted longitude frame by sol1105 in https://github.com/roocs/clisops/pull/313
* Add core/average.py/average_shape to ops/average.py by charlesgauthier-udm in https://github.com/roocs/clisops/pull/312
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/roocs/clisops/pull/315
* Prepare v0.12.2 by Zeitsperre in https://github.com/roocs/clisops/pull/314

New Contributors
* charlesgauthier-udm made their first contribution in https://github.com/roocs/clisops/pull/312

**Full Changelog**: https://github.com/roocs/clisops/compare/v0.12.1...v0.12.2

0.12.1

What's Changed
* Pin xarray for xesmf-based regridding by Zeitsperre in https://github.com/roocs/clisops/pull/310
* Fix issue 308 fillvalue by cehbrecht in https://github.com/roocs/clisops/pull/309
* prepare patch release 0.12.1 by cehbrecht in https://github.com/roocs/clisops/pull/311


**Full Changelog**: https://github.com/roocs/clisops/compare/v0.12.0...v0.12.1

0.12.0

New Features

* ``clisops.ops.regrid``, ``clisops.core.regrid``, ``clisops.core.Weights`` and ``clisops.core.Grid`` added (243). Allowing the remapping of geospatial data on various grids by applying the `xESMF <https://pangeo-xesmf.readthedocs.io/en/latest/>`_ regridder.

Bug Fixes

* Calling `subset_shape()` with a `locstream case` (288) returned all coordinates inside `inner_mask` which is equivalent to the bounding box of the polygon, not the area inside the polygon. Fixed by defining the `inner_mask` in `subset_shape()` for the locstream case. (292).

Other Changes

* Extending the removal of redundant _FillValue attributes to all data variables and coordinates (243).
* Extending the removal of redundant coordinates in the coordinates variable attribute from bounds to all data variables (243).
* GitHub Workflows for upstream dependencies are now examined a schedule or via `workflow_dispatch` (243).
* `black` steps are now called `lint` for clarity/inclusiveness of other linting hooks. (243).
* pre-commit hooks now include checks for TOML files, and for ReadTheDocs and GitHub Actions configuration files. (243).
* pre-commit hooks now include sorting of TOML file sections and running `black` on docstring Python examples. (306).
* `clisops` now uses GitHub Actions with environments for handling deployment via Trusted Publishing. (306).
* Documentation has been updated to reflect the new GitHub Actions CI/CD workflow. (306).
* `bump2version` has been replaced with `bump-my-version` for handling versioning. (306).

0.11.0

New Features
* `clisops` has adopted `PEP 517 <https://peps.python.org/pep-0517/>`_ and `PEP 621 <https://peps.python.org/pep-0621/>`_ and now uses ``pyproject.toml`` files (using the `flit` backend) for package configuration. (#296).
* Metadata has been modified to reflect current development status and scope of CLISOPS. (296).
* New file (``requirements_upstream.txt``) and Makefile recipe (``"$ make upstream"``) for tracking and easily installing upstream dependencies. (296).

Bug Fixes
* The ``tests`` folder has been flattened and namespace files haves been removed in order to prevent `pip` from recognizing the folder as its own package. (296).
* The contribution guidelines were duplicated in two locations and contained conflicting information. The guidelines have now been consolidated into a single location and updated to reflect package changes. (296).

Other Changes
* GitHub Workflows for pure Python builds now use `tox` (4.0) to run tests. (296).
* GitHub Workflows for conda builds now test `clisops` using the ``mamba-org/setup-micromamba`` action. (296).
* The `travis.yml` file has been removed. (296).

0.10.1

Bug Fixes
* Fixed an issue with the type hinting for subset functions that were broken due to changes in `xarray` (2023.08). (295).
* Updated ReadTheDocs configuration to use `Mambaforge` (22.9) as engine for building documentation. (295).

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.