Recent Releases of pynldas2
pynldas2 - v0.19.3
Release Notes
New Features
- Add a new argument to both
get_bygeomandget_bycoordsfunctions calledvalidate_filesize. When set toTrue, the function checks the file size of the previously cached files and will re-download if the local filesize does not match that of the remote. Defaults toFalse. Setting this toFalsecan be useful when you are sure that the cached files are not corrupted and just want to get the combined dataset more quickly. This is faster because it avoids web requests that are necessary for getting the file sizes.
Internal Changes
- Use [TinyRetriever](https://github.com/cheginit/tiny-retriever) for all server requests. It offers the same functionalities as the previous
_streamingmodule and has the same dependencies. It has a more robust handling of async threads and is more efficient.
- Python
Published by github-actions[bot] 12 months ago
pynldas2 - v0.19.1
Release Notes
This release is a major refactoring of the package to make it more lightweight and independent. The package now uses aiohttp and aiofiles with a limit on the number of simulnatious connections to the host, for handling all server requests. This avoids hammering the server with multiple requests and improves the performance and reliability of the package. The package no longer depends on other HyRiver libraries, making it more lightweight and faster to load.
Internal Changes
- Remove dependency on other HyRiver libraries to make the package more lightweight and independent.
- Use
aiohttpandaiofilesfor handling all server requests. This avoids hammering the server with multiple requests and improves the performance and reliability of the package. - Remove dependency on
geopandasand useshapelyonly for handling geometries. This makes the package more lightweight and faster.
Breaking Changes
- Since the GRIB source has been discontinued by NASA, the
sourceargument has been removed from theget_bygeomandget_bycoordsfunctions. The package now only supports the NetCDF source. - Remove the option to disable SSL in all functions. Now, SSL verification is always enabled.
- Python
Published by github-actions[bot] about 1 year ago
pynldas2 - v0.19.0
Release Notes
This release is a major refactoring of the package to make it more lightweight and independent. The package now uses aiohttp and aiofiles with a limit on the number of simulnatious connections to the host, for handling all server requests. This avoids hammering the server with multiple requests and improves the performance and reliability of the package. The package no longer depends on other HyRiver libraries, making it more lightweight and faster to load.
Internal Changes
- Remove dependency on other HyRiver libraries to make the package more lightweight and independent.
- Use
aiohttpandaiofilesfor handling all server requests. This avoids hammering the server with multiple requests and improves the performance and reliability of the package. - Remove dependency on
geopandasand useshapelyonly for handling geometries. This makes the package more lightweight and faster.
Breaking Changes
- Since the GRIB source has been discontinued by NASA, the
sourceargument has been removed from theget_bygeomandget_bycoordsfunctions. The package now only supports the NetCDF source. - Remove the option to disable SSL in all functions. Now, SSL verification is always enabled.
- Python
Published by github-actions[bot] about 1 year ago
pynldas2 - v0.18.0
Release Notes
Breaking Changes
- Drop support for Python 3.8 since its end-of-life date is October 2024.
- Remove all exceptions from the main module and raise them from the
exceptionsmodule. This is to declutter the public API and make it easier to maintain.
- Python
Published by github-actions[bot] over 1 year ago
pynldas2 - v0.17.0
Release Notes
Internal Changes
- Add the
exceptionsmodule to the high-level API to declutter the main module. In the future, all exceptions will be raised from this module and not from the main module. For now, the exceptions are raised from both modules for backward compatibility. - Switch to using the
srclayout instead of theflatlayout for the package structure. This is to make the package more maintainable and to avoid any potential conflicts with other packages. - Add artifact attestations to the release workflow.
- Python
Published by github-actions[bot] over 1 year ago
pynldas2 - v0.15.1
Release Notes
Bug Fixes
- Fix a bug in computing snow where the
t_snowargument was not being converted to Kelvin.
New Features
- If
snow=Trueis passed to bothget_bygeomandget_bycoordsfunctions, thevariablesargument will be checked to see if it containsprcpandtemp, if not, they will be added to the list of variables to be retrieved. This is to ensure that thesnowargument works as expected.
- Python
Published by github-actions[bot] over 2 years ago
pynldas2 - v0.15.0
Release Notes
From release 0.15 onward, all minor versions of HyRiver packages will be pinned. This ensures that previous minor versions of HyRiver packages cannot be installed with later minor releases. For example, if you have py3dep==0.14.x installed, you cannot install pydaymet==0.15.x. This is to ensure that the API is consistent across all minor versions.
New Features
- Add
sourceargument to bothget_bygeomandget_bycoordsfunctions. Valid values for source aregrib(default) andnetcdf. Both return the same values, the latter also offers additional variablepsurffor surface pressure. Valid variable names fornetcdfare:prcp,pet,wind_u,wind_v,humidity,temp,rsds,rlds,psurfValid variable names forgribsource are unchanged as to not introduce breaking changes.
By Luc Rébillout. - For now, retain compatibility with shapely<2 while supporting shapley>=2.
- Python
Published by github-actions[bot] almost 3 years ago
pynldas2 - v0.14.0
Release Notes
New Features
- Add
snowandsnow_paramsarguments to bothget_bygeomandget_bycoordsfunctions for computing snow fromprcpandtemp. - Rewrite
by_coordsfunctions to improve performance and reduce memory usage. Also, itsto_xarrayargument now returns a much better structuredxarray.Dataset. Moreover, the function has a new argument calledcoords_idwhich allows the user to specify IDs for the input coordinates. This is useful for cases where the coordinates belong to some specific features, such as station location, that have their own IDs. These IDs will be used for both cases where the data is returned aspandas.DataFrameorxarray.Dataset.
Internal Changes
- Sync all minor versions of HyRiver packages to 0.14.0.
- Python
Published by github-actions[bot] almost 3 years ago
pynldas2 - v0.1.1
Release Notes
Bug Fixes
- Fix an issue where for single variable, i.e., not a list, could not be detected correctly.
- Fix an issue in converting the response from the service to a dataframe or dataset when service fails and throws an error.
- Python
Published by github-actions[bot] about 3 years ago