Fix a bug in computing snow where the
t_snowargument was not being converted to Kelvin.
snow=Trueis passed to both
variablesargument will be checked to see if it contains
temp, if not, they will be added to the list of variables to be retrieved. This is to ensure that the
snowargument works as expected.
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.
sourceargument to both
get_bycoordsfunctions. Valid values for source are
netcdf. Both return the same values, the latter also offers additional variable
psurffor surface pressure. Valid variable names for
psurfValid variable names for
gribsource are unchanged as to not introduce breaking changes. By Luc Rébillout.
For now, retain compatibility with
snow_paramsarguments to both
get_bycoordsfunctions for computing snow from
by_coordsfunctions to improve performance and reduce memory usage. Also, its
to_xarrayargument now returns a much better structured
xarray.Dataset. Moreover, the function has a new argument called
coords_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 as
Sync all minor versions of HyRiver packages to 0.14.0.
Convert relative imports to absolute with
Sync all patch versions of HyRiver packages to x.x.12.
show_versionsfunction to improve performance and print the output in a nicer table-like format.
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.