Releases: mroberge/hydrofunctions
Releases · mroberge/hydrofunctions
hydrofunctions v0.2.4
What's Changed
- Update publish-release-to-pypi.yml by @mroberge in #116
- Update publish-release-to-pypi.yml by @mroberge in #117
- fix URL print out for hf.stats by @mroberge in #119
- Bug pandas catchup by @jmccreight in #122
- clean-up & update by @mroberge in #123
New Contributors
- @jmccreight made their first contribution in #122
Full Changelog: v0.2.3...v0.2.4
hydrofunctions v0.2.3
hydrofunctions v0.2.2
What's Changed
- Several bugfixes
- Improved logging
- Added documentation
Thank you @dgketchum and @mlr07 for your contributions!
Full Changelog: v0.2.1...v0.2.2
hydrofunctions v0.2.1
- Moved from TravisCI to Github Actions.
- Added Python 3.9 support.
- Added the flood stage service from the USGS waterwatch (iem)
- Created a verbose mode that is on by default.
- Save & read NWIS data in json.gzip files
- Added ability to read multiple instrument methods at the same times
- bugfix: divide by zero error when you request data from many sites
- bugfix: save_parquet
Major Release!
- NWIS has a simpler interface and improved functionality:
- No need to use .get_data(); data is fetched automatically.
- NWIS.df() creates dataframes using only the parts you want
- .df(‘discharge’) returns a dataframe with only discharge data
- .df(‘01585200’) returns all of the data for just this site
- .df(‘flags’) returns a dataframe with the qualifier flags.
- New and improved REPR: lists stations, parameters, and frequency for a dataset.
- Saving data to a file:
- the ‘file’ parameter for NWIS allows you to save your data locally
- If the file doesn’t exist, NWIS requests the data and creates the file
- Uses the parquet format for faster load times and smaller file sizes
- Improved parsing of data from NWIS:
- missing observations are noted & can be replaced with interpolated values
- duplicates found & removed
- unsorted data found & cleaned.
- different frequencies raise a warning when resampled
- parameterCd now accepts multiple parameters in request.
- If parameterCd is not specified, then all available parameters will be requested (default).
- Access to several USGS data services:
- hf.rating_curve(site) retrieves the current rating curve for a USGS site.
- hf.peaks(site) retrieves the annual peak discharges for a USGS site.
- hf.field_meas(site) retrieves the field data and notes used by the USGS to create a rating curve.
- hf.stats(site, statReportType) retrieves Annual, Monthly, or Daily reports from the USGS.
- hf.site_file(site) retrieves expanded site file.
- hf.data_catalog(site) retrieves history of data collected at site.
- Dropped Python 3.4 & 3.5 support, added 3.8.
v.0.1.7
HydroFunctions v0.1.5
Merge pull request #7 from mroberge/develop Update Master from Develop
updated docs, simplified namespace
v0.1.4 bumpversion patch
hydrofunctions v0.1.3
Unstable release. Includes functions for retrieving data from NWIS, checking user input, and unpacking the response object.