Pydaymet

Latest version: v0.16.1

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

Scan your dependencies

Page 4 of 6

0.12.2

Release Notes

Internal Changes

- Clean up the PET computation functions\' output by removing temporary variables that are created during the computation.
- Add more attributes for `elevation` and `pet` variables.
- Add type checking with `typeguard` and fixed typing issues raised by `typeguard`.
- Refactor `show_versions` to ensure getting correct versions of all dependencies.

0.12.1

Release Notes

Internal Changes

- Use the three new `ar.retrieve_*` functions instead of the old `ar.retrieve` function to improve type hinting and to make the API more consistent.

0.12.0

Release Notes

New Features

- Expose the `ssl` argument for disabling the SSL certification verification (:issue_day:[41]{.title-ref}). Now, you can pass `ssl=False` to disable the SSL verification in both `get_bygeom` and `get_bycoord` functions. Moreover, you can pass `--disable_ssl` to PyDaymet\'s command line interface to disable the SSL verification.

Breaking Changes

- Set the request caching\'s expiration time to never expire. Add two flags to all functions to control the caching: `expire_after` and `disable_caching`.

Internal Changes

- Add all the missing types so `mypy --strict` passes.

0.11.4

Release Notes

Internal Changes

- Use `importlib-metadata` for getting the version insead of `pkg_resources` to decrease import time as discussed in this [issue](https://github.com/pydata/xarray/issues/5676).

0.11.3

Release Notes

Bug Fixes

- There was an issue in the PET computation due to `dayofyear` being added as a new dimention. This version fixes it and even further simplifies the code by using `xarray`\'s `dt` accessor to gain access to the `dayofyear` method.

0.11.2

Release Notes

New Features

- Add `hargreaves_samani` and `priestley_taylor` methods for computing PET.

Breaking Changes

- Rewrite the command-line interface using `click.group` to improve UX. The command is now `pydaymet [command] [args] [options]`. The two supported commands are `coords` for getting climate data for a dataframe of coordinates and `geometry` for getting gridded climate data for a geo-dataframe. Moreover, Each sub-command now has a separate help message and example.
- Deprecate `get_byloc` in favor of `get_bycoords`.
- The `pet` argument in both `get_bycoords` and `get_bygeom` functions now accepts `hargreaves_samani`, `penman_monteith`, `priestley_taylor`, and `None`.

Internal Changes

- Refactor the `pet` module for reducing duplicate code and improving readability and maintainability. The code is smaller now and the functions for computing physical properties include references to equations from the respective original paper.

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.