A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

Recent Releases of HydroFunctions

HydroFunctions - hydrofunctions v0.2.4

What's Changed

New Contributors

Full Changelog: https://github.com/mroberge/hydrofunctions/compare/v0.2.3...v0.2.4

Natural Resources - Water Supply and Quality - Python
Published by mroberge almost 2 years ago

HydroFunctions - hydrofunctions v0.2.3

What's Changed

Full Changelog: https://github.com/mroberge/hydrofunctions/compare/v0.2.2...v0.2.3

Natural Resources - Water Supply and Quality - Python
Published by mroberge about 3 years ago

HydroFunctions - hydrofunctions v0.2.2

What's Changed

  • Several bugfixes
  • Improved logging
  • Added documentation

Thank you @dgketchum and @mlr07 for your contributions!

Full Changelog: https://github.com/mroberge/hydrofunctions/compare/v0.2.1...v0.2.2

Natural Resources - Water Supply and Quality - Python
Published by mroberge over 3 years ago

HydroFunctions - 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

Natural Resources - Water Supply and Quality - Python
Published by mroberge almost 4 years ago

HydroFunctions - Major Release!

  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.

Natural Resources - Water Supply and Quality - Python
Published by mroberge almost 5 years ago

HydroFunctions -

  • added a flow duration chart
  • added the cycleplot chart
  • added code coverage
  • improved the build scripts for TravisCI

Natural Resources - Water Supply and Quality - Python
Published by mroberge over 6 years ago

HydroFunctions - HydroFunctions v0.1.5

Natural Resources - Water Supply and Quality - Python
Published by mroberge about 7 years ago

HydroFunctions - updated docs, simplified namespace

Natural Resources - Water Supply and Quality - Python
Published by mroberge over 8 years ago

HydroFunctions - hydrofunctions v0.1.3

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

Natural Resources - Water Supply and Quality - Python
Published by mroberge over 8 years ago