Skip to content

Commit 033fed0

Browse files
Remove hydrostats and extraction functionality from HAT (#79)
* bulk remove hydrostats and extraction code * remove more files and udpate README * remove missing lines in docs * remove missed hat-extract-timeseries occurence in docs
1 parent 1b564cd commit 033fed0

File tree

16 files changed

+6
-898
lines changed

16 files changed

+6
-898
lines changed

README.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@
2828
2929
The Hydrological Analysis Toolkit (HAT) is a software suite for hydrologists working with simulated and observed river discharge. HAT performs data analysis on hydrological datasets, with its main features being:
3030
- mapping station locations into hydrological model grids
31-
- extraction of timeseries at station locations from gridded model outputs
32-
- statistical analysis of hydrological timeseries
31+
- interactive visualizations
32+
33+
> [!NOTE]
34+
> The station extraction and hydrostats functionality formerly in HAT now live in [ecmwf/hyve](https://github.com/ecmwf/hyve).
3335
3436
### Installation
3537

@@ -50,18 +52,6 @@ pip install -e .[dev]
5052
pre-commit install
5153
```
5254

53-
HAT provides **experimental** support for earthkit-data's [gribjump source](https://earthkit-data.readthedocs.io/en/latest/guide/sources.html#gribjump).
54-
To install the gribjump extras for testing and experimentation, run:
55-
```bash
56-
pip install hydro-analysis-toolkit[gribjump]
57-
```
58-
59-
> [!NOTE]
60-
> The gribjump feature is experimental. It is not recommended for production use and may change or break in future releases.
61-
> Information on how to build gribjump can be found in [GribJump's source code](https://github.com/ecmwf/gribjump/). Experimental
62-
> wheels of `gribjumplib` can also be found [on PyPI](https://pypi.org/project/gribjumplib/).
63-
64-
6555
## Licence
6656

6757
```

docs/hat_extract-timeseries.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

docs/hat_hydrostats.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

docs/index.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Welcome to HAT
22

3-
The Hydrological Analysis Toolkit (HAT) is a software suite for hydrologists working with simulated and observed river discharge. HAT performs data analysis on hydrological datasets, with its main features being:
3+
The Hydrological Analysis Toolkit (HAT) is a software suite for hydrologists working with simulated and observed river discharge. HAT performs data analysis on hydrological datasets, with its main feature being:
44

55
- mapping station locations into hydrological model grids
6-
7-
- extraction of timeseries
8-
9-
- statistical analysis of hydrological timeseries

docs/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ If you have already [installed](installation.md) hat then
1010

1111
Run a command line tool, for example
1212

13-
$ hat-extract-timeseries --help
13+
$ hat-station-mapping --help
1414

1515
For more information on individual command line tools, use the `--help` option at the command line or read the documentation, for instance for the [station mapping](station_mapping.md) tool.
1616

hat/cli.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
import sys
44

55
from hat import _LOGGER as logger
6-
from hat.compute_hydrostats.stat_calc import stat_calc
7-
from hat.extract_timeseries.extractor import extractor
86
from hat.station_mapping.mapper import mapper
97

108

@@ -24,8 +22,6 @@ def wrapper(args=None):
2422

2523

2624
mapper_cli = commandlineify(mapper)
27-
extractor_cli = commandlineify(extractor)
28-
stat_calc_cli = commandlineify(stat_calc)
2925

3026

3127
if __name__ == "__main__":

hat/compute_hydrostats/stat_calc.py

Lines changed: 0 additions & 42 deletions
This file was deleted.

hat/compute_hydrostats/stats.py

Lines changed: 0 additions & 83 deletions
This file was deleted.

hat/core.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)