ECMWF Hydrological Analysis Tools
Project description
HAT - Hydrological Analysis Toolkit
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:
- mapping station locations into hydrological model grids
- extraction of timeseries
- statistical analysis of hydrological timeseries
The documentation can be found at https://hydro-analysis-toolkit.readthedocs.io
DISCLAIMER This project is BETA and will be Experimental for the foreseeable future. Interfaces and functionality are likely to change, and the project itself may be scrapped. DO NOT use this software in any project/software that is operational.
Installation
Clone source code repository
$ git clone https://github.com/ecmwf/hat.git
$ cd hat
Create and activate conda environment
$ conda env create -n hat python=3.10
$ conda activate hat
For default installation, run
$ pip install .
For a developer installation (includes linting and test libraries), run
$ pip install .[dev]
$ pre-commit install
If you only plan to run the tests, instead run
$ pip install .[test]
If you plan to build a source and a wheel distribution, it is additionally required to run
$ pip install build
Usage
Run a command line tool
$ hat-extract-timeseries --help
Running the tests
Tests are stored in the tests/
folder and can be run with
$ pytest
Deployment
To build a source and a wheel distribution, run
$ python build
Contributing
The main repository is hosted on GitHub. Testing, bug reports and contributions are highly welcomed and appreciated.
Please report bug reports or pull-requests on GitHub.
We want your feedback, please e-mail: user-services@ecmwf.int
License
Copyright 2023 European Centre for Medium-Range Weather Forecasts (ECMWF)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
In applying this licence, ECMWF does not waive the privileges and immunities granted to it by virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
Citing
In publications, please use a link to this repository (https://github.com/ecmwf/hat) and its documentation (https://hydro-analysis-toolkit.readthedocs.io)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hydro_analysis_toolkit-0.7.3.tar.gz
.
File metadata
- Download URL: hydro_analysis_toolkit-0.7.3.tar.gz
- Upload date:
- Size: 253.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 904518ffb6d665cf442fbd91efdc54aa07ec900d13de933fd63a56b1b944a414 |
|
MD5 | ef654dc61e8fa37dc449749f1215459a |
|
BLAKE2b-256 | 4c112f93958ad0e60a1da9553f166bf6e327d017ba41a563e99ab8014fbf7c96 |
File details
Details for the file hydro_analysis_toolkit-0.7.3-py3-none-any.whl
.
File metadata
- Download URL: hydro_analysis_toolkit-0.7.3-py3-none-any.whl
- Upload date:
- Size: 252.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e88111896a1b31e7dee35ae716d59617a572b4eb82e1d02a307f32dc1d61b930 |
|
MD5 | 8299ae9294c320a975f7dd852a297448 |
|
BLAKE2b-256 | a1d6cba54a3d1fd1a4d41ab77e3e5d93205dcdd8857878e3e146cc418d97a874 |