From 99359f036ee7db2f9e3679ff26c30c117afc1efc Mon Sep 17 00:00:00 2001 From: Emilio Mayorga Date: Wed, 1 Sep 2021 21:26:45 -0700 Subject: [PATCH] Bump to version 0.8.7 for release; update CHANGES; minor wof/cuahsi tweaks --- CHANGES | 52 +++++++++++++++++++++-------- INSTALL | 24 ++++++------- VERSION.txt | 2 +- ulmo/__init__.py | 2 +- ulmo/cuahsi/his_central/__init__.py | 2 +- ulmo/cuahsi/wof/README.rst | 6 ++-- ulmo/cuahsi/wof/core.py | 4 +-- 7 files changed, 57 insertions(+), 35 deletions(-) diff --git a/CHANGES b/CHANGES index ecef86ac..3bfb4280 100644 --- a/CHANGES +++ b/CHANGES @@ -1,7 +1,31 @@ Changelog --------- -**0.8.6 (release 2020-08-20)** +**0.8.7 (released 2020-09-01)** + +- This release focused primarily on two improvements: + 1. Added new NOAA GOES reader for GOES DSC/DCP data ingest. This new reader + replaces the USGS EDDN reader, which is no longer functional + (web service is inaccessible) and was removed in this release. + 2. Overhauled the dependencies (requirements files) and test and continuous + integration (CI) infrastructure to enable support for more recent Python 3 versions + (3.7, 3.8 and 3.9) and reestablish the CI tests. Previously only 3.6 was supported, + due to dependency pinning that was no longer necessary. +- ulmo readers + - New NOAA GOES reader + - Fixed GHCN Daily get_data compatibility bug with newer (1.1 and higher) Pandas versions + - Update to https in documentation and test references to http://hydroportal.cuahsi.org +- Builds, dependencies, tests and continuous integration + - Removed broken Travis CI and AppVeyor integration, and replaced them with + new GitHub Action + - Split `requirements.txt` file into `requirements.txt` and `requirements-dev.txt` + - Removed pytables dependencies that's no longer used and removed + all dependency version pinning + - Removed hdf5 and pytables tests (no longer used) + - Fixed some failing tests + + +**0.8.6 (released 2020-08-20)** - The largest change was to the ReadTheDocs documentation system. It had not been updated in a long time, and the auto-update CI was broken. Many sections @@ -11,20 +35,20 @@ Changelog formatting works well. Additional documentation was added for CUAHSI readers. - Bug fixes and small enhancements for multiple readers: cpc, cuahsi.his_central, cuahsi.wof, usgs.eddn, usgs.nwis -- cuahsi.wof and cuahsi.his_central: added optional `user_cache` argument to - service requests, to direct WSDL caching files to user app directory. - Avoids problems with the user not having permission to write cache files - to the system tmp space (the default) -- usgs.eddn: generalized twdb_fts parser to accept batter_voltage and - water_level data in any order -- usgs.nwis: - - `get_site_data` can now accept a list of parameter codes as an argument - instead of a string of comma separated values - - enabled retrieval of iv data prior to 2007 -- Fixed or updated several tests + - cuahsi.wof and cuahsi.his_central: added optional `user_cache` argument to + service requests, to direct WSDL caching files to user app directory. + Avoids problems with the user not having permission to write cache files + to the system tmp space (the default) + - usgs.eddn: generalized twdb_fts parser to accept batter_voltage and + water_level data in any order + - usgs.nwis: + - `get_site_data` can now accept a list of parameter codes as an argument + instead of a string of comma separated values + - enabled retrieval of iv data prior to 2007 + - Fixed or updated several tests -**0.8.5 (release 2019-03-22)** +**0.8.5 (released 2019-03-22)** - Bug fixes and some small enhancements for multiple plugins: CDEC, CPC, CUAHSI WaterML/WOF, NASA ORNL Daymet, NCDC GSOD and GHCN, @@ -36,7 +60,7 @@ Changelog - Continuous Integration and test infrastructure, including Python 3.6 and 3.7 builds -**0.8.4 (release 2017-02-06)** +**0.8.4 (released 2017-02-06)** - added stevens dual well parser for eddn service - bugfixes for twc-kbdi service diff --git a/INSTALL b/INSTALL index 63d389e5..50af3360 100644 --- a/INSTALL +++ b/INSTALL @@ -12,31 +12,29 @@ channel with the following command: Otherwise, follow the instructions below: -Once the requisite scientific python libraries are installed, the most recent release -of ulmo can be installed from pypi. Pip is a good way to do that: +Once the requisite scientific python libraries are installed, the +most recent release of ulmo can be installed from PyPI using ``pip``: pip install ulmo To install the bleeding edge development version, grab a copy of the `source code`_ and run setup.py from the root directory: - python setup.py install - To setup a development environment using conda: conda env create -n myenv --file conda_environment.yml - source activate myenv #(use 'activate test_environment' on windows) - - python setup.py develop + # use 'activate myenv' on windows + source activate myenv -optionally run tests: - python setup.py test + pip install -e . -.. _Anaconda: http://continuum.io/downloads.html -.. _Miniconda: http://conda.pydata.org/miniconda.html -.. _conda-forge: https://conda-forge.github.io -.. _scipy: http://scipy.org/install.html .. _source code: https://github.com/ulmo-dev/ulmo +.. _issue tracker: https://github.com/ulmo-dev/ulmo/issues?labels=new+dataset&state=open +.. _more sophisticated tools: http://pandas.pydata.org +.. _scipy: http://scipy.org/install.html +.. _Anaconda: http://continuum.io/downloads.html +.. _Miniconda: https://docs.conda.io/en/latest/miniconda.html +.. _conda-forge: https://conda-forge.org diff --git a/VERSION.txt b/VERSION.txt index a4ddda2f..1e9b46b2 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -0.8.7dev +0.8.7 diff --git a/ulmo/__init__.py b/ulmo/__init__.py index e42c75c4..cd15b730 100644 --- a/ulmo/__init__.py +++ b/ulmo/__init__.py @@ -7,7 +7,7 @@ from __future__ import (absolute_import, division, print_function) # ulmo version PEP-0440 -__version__ = '0.8.7dev' +__version__ = '0.8.7' from . import cdec from . import cpc diff --git a/ulmo/cuahsi/his_central/__init__.py b/ulmo/cuahsi/his_central/__init__.py index ab7d42e4..fdeffb26 100644 --- a/ulmo/cuahsi/his_central/__init__.py +++ b/ulmo/cuahsi/his_central/__init__.py @@ -1,6 +1,6 @@ """ `CUAHSI HIS Central`_ catalog web services - .. _CUAHSI HIS Central: http://hiscentral.cuahsi.org/ + .. _CUAHSI HIS Central: https://hiscentral.cuahsi.org/ """ from .core import get_services diff --git a/ulmo/cuahsi/wof/README.rst b/ulmo/cuahsi/wof/README.rst index 0217eba9..2b1eca6a 100644 --- a/ulmo/cuahsi/wof/README.rst +++ b/ulmo/cuahsi/wof/README.rst @@ -12,6 +12,6 @@ The notes below provides additional usage details for some data sources. response are in PST (UTC-8). -.. _CUAHSI WaterOneFlow: http://his.cuahsi.org/wofws.html -.. _CUAHSI HIS Central: http://hiscentral.cuahsi.org/ -.. _NRCS SNOTEL: http://hiscentral.cuahsi.org/pub_network.aspx?n=241 \ No newline at end of file +.. _CUAHSI WaterOneFlow: https://his.cuahsi.org/wofws.html +.. _CUAHSI HIS Central: https://hiscentral.cuahsi.org +.. _NRCS SNOTEL: https://hiscentral.cuahsi.org/pub_network.aspx?n=241 diff --git a/ulmo/cuahsi/wof/core.py b/ulmo/cuahsi/wof/core.py index 4641f87f..06a07e07 100644 --- a/ulmo/cuahsi/wof/core.py +++ b/ulmo/cuahsi/wof/core.py @@ -3,7 +3,7 @@ ~~~~~~~~~~~~~ This module provides direct access to `CUAHSI WaterOneFlow`_ web services. - .. _CUAHSI WaterOneFlow: http://his.cuahsi.org/wofws.html + .. _CUAHSI WaterOneFlow: https://his.cuahsi.org/wofws.html """ from future import standard_library standard_library.install_aliases() @@ -179,7 +179,7 @@ def get_values(wsdl_url, site_code, variable_code, start=None, end=None, available will typically be returned. However, some service providers will return an error if either start or end are omitted; this is specially true for services hosted or redirected by CUAHSI via the CUAHSI HydroPortal, which have a 'WSDL' url - using the domain http://hydroportal.cuahsi.org. For HydroPortal, a start datetime + using the domain https://hydroportal.cuahsi.org. For HydroPortal, a start datetime of '1753-01-01' has been known to return valid results while catching the oldest start times, though the response may be broken up into chunks ('paged'). """