Skip to content

Commit f8f49c6

Browse files
committed
improve writing
1 parent e3e05c8 commit f8f49c6

File tree

3 files changed

+22
-19
lines changed

3 files changed

+22
-19
lines changed

HISTORY.rst

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,26 @@
22
History
33
=======
44

5-
0.7.0 (unreleased)
5+
0.7.0 (2020-8-12)
66
------------------
77

8+
This version divides Hydrodata into six standalone Python libraries. So many of the changes
9+
listed below belong to the modules and functions that are now a separate package. This decision
10+
was made for reducing the complexity of the code base and allow the users to only install
11+
the packages that they need without having to install all the Hydrodata dependencies.
12+
813
Breaking changes
914
~~~~~~~~~~~~~~~~
10-
- Made hydrodata, a Python software stack by separating a couple of of the classess
11-
and libraries into a stand-alone package.
1215
- The ``services`` module is now a separate package called PyGeoOGCC and is set as a requirement
13-
for Hydrodata. PyGeoOGC is a leaner package with much less dependecies and is suitable for
16+
for Hydrodata. PyGeoOGC is a leaner package with much less dependencies and is suitable for
1417
people who might only need an interface to web services.
1518
- Unified function names for getting feature by ID and by box.
1619
- Combined ``start`` and ``end`` arguments into a ``tuple`` argument
17-
called ``dates`` across the codebase.
20+
called ``dates`` across the code base.
1821
- Rewrote NLDI function and moved most of its classmethods to Station
1922
so now Station class has more cohesion.
20-
- Removed exploratory functionality of ``ArcGISREST``, since it's more convinient
21-
to do so from a broweser. Now, ``base_url`` is a required arguments.
23+
- Removed exploratory functionality of ``ArcGISREST``, since it's more convenient
24+
to do so from a browser. Now, ``base_url`` is a required arguments.
2225
- Renamed ``in_crs`` in ``datasets`` and ``services`` functions to ``geo_crs`` for geometry and
2326
``box_crs`` for bounding box inputs.
2427
- Re-wrote the ``signatures`` function from scratch using ``NamedTuple`` to improve readability
@@ -30,17 +33,17 @@ Breaking changes
3033
- Renamed two functions: ``ArcGISRESTful`` and ``wms_bybox``. These function now return
3134
``requests.Response`` type output.
3235
- ``onlyipv4`` is now a class method in ``RetrySession``.
33-
- The ``plot.signatures`` function now assums that the input time series are in mm/day.
36+
- The ``plot.signatures`` function now assumes that the input time series are in mm/day.
3437
- Added a flag to ``get_streamflow`` function in the ``NWIS`` class to convert from cms
35-
to mm/day which is useful for plotting hydorlogic signatures using the ``signatures``
38+
to mm/day which is useful for plotting hydrologic signatures using the ``signatures``
3639
functions.
3740

3841
Enhancements
3942
~~~~~~~~~~~~
4043
- Remove soft requirements from the env files.
4144
- Refactored ``requests`` functions into a single class and a separate file.
4245
- Made all the classes available directly from ``hydrodata``.
43-
- Added `CodeFactor <https://www.codefactor.io/>`_ to the Github pipline and addressed
46+
- Added `CodeFactor <https://www.codefactor.io/>`_ to the Github pipeline and addressed
4447
the some of issues
4548
that CodeFactor found.
4649
- Added `Bandit <https://bandit.readthedocs.io/en/latest/>`_ to check the code for
@@ -50,9 +53,9 @@ Enhancements
5053
- Added ``pytest`` fixtures to improve the tests speed.
5154
- Refactored ``daymet`` and ``nwis_siteinfo`` functions to reduce code complexity
5255
and improve readability.
53-
- Major refactoring of the codebase while adding type hinting.
56+
- Major refactoring of the code base while adding type hinting.
5457
- The input geometry (or bounding box) can be provided in any projection
55-
and the neccessary re-projections are done under the hood.
58+
and the necessary re-projections are done under the hood.
5659
- Refactored the method for getting object IDs in ``ArcGISREST`` class to improve
5760
robustness and efficiency.
5861
- Refactored ``Daymet`` class to improve readability.
@@ -111,7 +114,7 @@ Bug fixes
111114
- An almost complete re-writing of the code base and not backward-compatible
112115
- New website design
113116
- Added vector accumulation
114-
- Added base classes and function accesing any ArcGIS REST, WMS, WMS service
117+
- Added base classes and function accessing any ArcGIS REST, WMS, WMS service
115118
- Standalone functions for creating datasets from responses and masking the data
116119
- Added threading using pqdm to speed up the downloads
117120
- Interactive map for exploring USGS stations
@@ -123,9 +126,9 @@ Bug fixes
123126

124127
- Added new databases: NLDI, NHDPLus V2, OpenTopography, gridded Daymet, and SSEBop
125128
- The gridded data are returned as xarray DataArrays
126-
- Removed dependecy on StreamStats and replaced it by NLDI
127-
- Improved overal robustness and efficiency of the code
128-
- Not backward comparible
129+
- Removed dependency on StreamStats and replaced it by NLDI
130+
- Improved overall robustness and efficiency of the code
131+
- Not backward comparable
129132
- Added code style enforcement with isort, black, flake8 and pre-commit
130133
- Added a new shiny logo!
131134
- New installation method

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Some of the major capabilities if Hydrodata are:
8585
* Easy access to many web services for subsetting data and returning them as masked xarrays
8686
or GeoDataFrames.
8787
* Splitting the requests into smaller chunks under-the-hood since web services limit
88-
the number of items per request. So the only bottolneck for subsetting the data
88+
the number of items per request. So the only bottleneck for subsetting the data
8989
is the local available memory.
9090
* Navigating and extracting data from the NHDPlus database using web services without
9191
downloading the whole database.
@@ -99,7 +99,7 @@ it on you system by clicking on the binder badge below the Hydrodata banner. A J
9999
instance with the Hydrodata software stack pre-installed will be launched in your web browser
100100
and you can start coding!
101101

102-
The full documnetation can be found at https://hydrodata.readthedocs.io.
102+
The full documentation can be found at https://hydrodata.readthedocs.io.
103103

104104
Features
105105
--------

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Some of the major capabilities if Hydrodata are:
6464
* Easy access to many web services for subsetting data and returning them as masked xarrays
6565
or GeoDataFrames.
6666
* Splitting the requests into smaller chunks under-the-hood since web services limit
67-
the number of items per request. So the only bottolneck for subsetting the data
67+
the number of items per request. So the only bottleneck for subsetting the data
6868
is the local available memory.
6969
* Navigating and extracting data from the NHDPlus database using web services without
7070
downloading the whole database.

0 commit comments

Comments
 (0)