Skip to content

Releases: mroberge/hydrofunctions

hydrofunctions v0.2.4

14 Jun 22:08
3b808ee
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.3...v0.2.4

hydrofunctions v0.2.3

18 Apr 22:10
26a2022
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.2...v0.2.3

hydrofunctions v0.2.2

08 Nov 03:42
a9a0566
Compare
Choose a tag to compare

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

29 May 01:50
c0b4cf1
Compare
Choose a tag to compare
  • 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!

19 Jun 20:59
00ee7bf
Compare
Choose a tag to compare
  1. 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.
  2. New and improved REPR: lists stations, parameters, and frequency for a dataset.
  3. 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
  4. 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
  5. parameterCd now accepts multiple parameters in request.
    • If parameterCd is not specified, then all available parameters will be requested (default).
  6. 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.
  7. Dropped Python 3.4 & 3.5 support, added 3.8.

v.0.1.7

14 Nov 01:16
9042e49
Compare
Choose a tag to compare
  • added a flow duration chart
  • added the cycleplot chart
  • added code coverage
  • improved the build scripts for TravisCI

HydroFunctions v0.1.5

23 Feb 02:15
9db596f
Compare
Choose a tag to compare
Merge pull request #7 from mroberge/develop

Update Master from Develop

updated docs, simplified namespace

19 Sep 03:26
Compare
Choose a tag to compare
Pre-release
v0.1.4

bumpversion patch

hydrofunctions v0.1.3

10 Sep 00:45
Compare
Choose a tag to compare
hydrofunctions v0.1.3 Pre-release
Pre-release

Unstable release. Includes functions for retrieving data from NWIS, checking user input, and unpacking the response object.