Skip to content

Commit 01ae4cd

Browse files
authored
update the getting_started docs (#586)
* update the getting_started docs * Addresses additional errors in the docs
1 parent be029f7 commit 01ae4cd

File tree

2 files changed

+50
-60
lines changed

2 files changed

+50
-60
lines changed

docs/sphinx/getting_started/index.rst

Lines changed: 42 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,62 @@ Getting started
88
:local:
99
:depth: 1
1010

11+
Introducing TEEHR
12+
=================
13+
14+
15+
Why TEEHR?
16+
^^^^^^^^^^
17+
TEEHR is a python package that provides a framework for the evaluation of hydrologic model performance.
18+
It is designed to enable iterative and exploratory analysis of hydrologic data, and facilitates this through:
19+
20+
* Scalability - TEEHR's computational engine is built on PySpark, allowing it to take advantage of your available compute resources.
21+
22+
* Data Integrity - TEEHR's internal data model (:doc:`teehr_framework`) makes it easier to work with and validate the various data making up your evaluation, such as model outputs, observations, location attributes, and more.
23+
24+
* Flexibility - TEEHR is designed to be flexible and extensible, allowing you to easily customize metrics, add bootstrapping, and group and filter your data in a variety of ways.
25+
26+
27+
Project Objectives
28+
^^^^^^^^^^^^^^^^^^
29+
30+
* Easy integration into research workflows
31+
32+
* Use of modern and efficient data structures and computing platforms
33+
34+
* Scalable for rapid execution of large-domain/large-sample evaluations
35+
36+
* Simplified exploration of performance trends and potential drivers (e.g., climate, time-period, regulation, and basin characteristics)
37+
38+
* Inclusion of common and emergent evaluation methods (e.g., error statistics, skill scores, categorical metrics, hydrologic signatures, uncertainty quantification, and graphical methods)
39+
40+
* Open source and community-extensible development
41+
42+
1143
The TEEHR Data Model and Framework
12-
----------------------------------
44+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1345
The :doc:`TEEHR Framework <teehr_framework>` provides an overview of the TEEHR data model,
1446
the Evaluation directory structure, and the Evaluation tables.
1547

48+
1649
An Intro to TEEHR and PySpark
17-
-----------------------------
50+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1851
Check out the :doc:`Spark Guide <spark_guide>` to learn more about PySpark's integration with
1952
TEEHR, how to customize its configuration, and how to address some common warnings you may encounter.
2053

54+
55+
Installing TEEHR
56+
================
57+
58+
2159
Installation Guide for macOS & Linux
22-
------------------------------------
60+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2361
TEEHR requires the following dependencies:
2462

2563
* Python 3.10 or later
2664

2765
* Java 17 or later for Spark
2866

29-
* Poetry v2 or later
30-
3167

3268
The easiest way to install TEEHR is from PyPI using `pip`.
3369
If using `pip` to install TEEHR, we recommend installing TEEHR in a virtual environment.
@@ -153,54 +189,8 @@ Currently, TEEHR dependencies require users install on Linux or macOS. To use TE
153189
pip install teehr
154190
155191
156-
Set-up Guide for Docker
157-
-----------------------
158-
If you do not want to install TEEHR in your own virtual environment, you can use Docker. A Dockerfile
159-
is provided in a separate repository at: https://github.com/RTIInternational/teehr-hub
160-
161-
Clone the repository, build and run the Docker image. The following commands will build and run the Docker image,
162-
mount your home directory to the Docker container, and start a Jupyter Lab server.
163-
164-
When building the Docker image, specify the version of TEEHR you want to use by passing it in as a build
165-
argument. Pass "dev" to use the latest development version.
166-
167-
.. code-block:: bash
168-
169-
git clone https://github.com/RTIInternational/teehr-hub.git
170-
cd teehr-hub
171-
docker build --build-arg IMAGE_TAG="dev" -t teehr:dev .
172-
docker run -it --rm --volume $HOME:$HOME -p 8888:8888 teehr:dev jupyter lab --ip 0.0.0.0 $HOME
173-
174-
Project Objectives
175-
------------------
176-
177-
* Easy integration into research workflows
178-
179-
* Use of modern and efficient data structures and computing platforms
180-
181-
* Scalable for rapid execution of large-domain/large-sample evaluations
182-
183-
* Simplified exploration of performance trends and potential drivers (e.g., climate, time-period, regulation, and basin characteristics)
184-
185-
* Inclusion of common and emergent evaluation methods (e.g., error statistics, skill scores, categorical metrics, hydrologic signatures, uncertainty quantification, and graphical methods)
186-
187-
* Open source and community-extensible development
188-
189-
190-
Why TEEHR?
191-
----------
192-
TEEHR is a python package that provides a framework for the evaluation of hydrologic model performance.
193-
It is designed to enable iterative and exploratory analysis of hydrologic data, and facilitates this through:
194-
195-
* Scalability - TEEHR's computational engine is built on PySpark, allowing it to take advantage of your available compute resources.
196-
197-
* Data Integrity - TEEHR's internal data model (:doc:`teehr_framework`) makes it easier to work with and validate the various data making up your evaluation, such as model outputs, observations, location attributes, and more.
198-
199-
* Flexibility - TEEHR is designed to be flexible and extensible, allowing you to easily customize metrics, add bootstrapping, and group and filter your data in a variety of ways.
200-
201-
202192
TEEHR Evaluation Example
203-
------------------------
193+
========================
204194
The following is an example of initializing a TEEHR Evaluation, cloning a dataset from the TEEHR S3 bucket,
205195
and calculating two versions of KGE (one with bootstrap uncertainty and one without).
206196

docs/sphinx/user_guide/metrics/metrics.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,42 +23,42 @@ Signatures operate on a single field to characterize timeseries properties.
2323
- Average
2424
- :math:`Average`
2525
- :math:`\frac{\sum(prim)}{count}`
26-
- `Average <https://rtiinternational.github.io/teehr/api/generated/teehr.SignatureMetrics.html#teehr.SignatureMetrics.Average>`__
26+
- `Average <https://rtiinternational.github.io/teehr/api/generated/teehr.Signatures.html#teehr.Signatures.Average>`__
2727
* - :material-regular:`check;1.5em;sd-text-success`
2828
- Count
2929
- :math:`Count`
3030
- :math:`count`
31-
- `Count <https://rtiinternational.github.io/teehr/api/generated/teehr.SignatureMetrics.html#teehr.SignatureMetrics.Count>`__
31+
- `Count <https://rtiinternational.github.io/teehr/api/generated/teehr.Signatures.html#teehr.Signatures.Count>`__
3232
* - :material-regular:`check;1.5em;sd-text-success`
3333
- Flow Duration Curve Slope
3434
- :math:`FDC\ Slope`
3535
- :math:`\frac{q85-q25}{p85-p25}`
36-
- `Flow Duration Curve Slope <https://rtiinternational.github.io/teehr/api/generated/teehr.SignatureMetrics.html#teehr.SignatureMetrics.FlowDurationCurveSlope>`__
36+
- `Flow Duration Curve Slope <https://rtiinternational.github.io/teehr/api/generated/teehr.Signatures.html#teehr.Signatures.FlowDurationCurveSlope>`__
3737
* - :material-regular:`check;1.5em;sd-text-success`
3838
- Max Value Time
3939
- :math:`Max\ Value\ Time`
4040
- :math:`peak\ time_{prim}`
41-
- `Max Value Time <https://rtiinternational.github.io/teehr/api/generated/teehr.SignatureMetrics.html#teehr.SignatureMetrics.MaxValueTime>`__
41+
- `Max Value Time <https://rtiinternational.github.io/teehr/api/generated/teehr.Signatures.html#teehr.Signatures.MaxValueTime>`__
4242
* - :material-regular:`check;1.5em;sd-text-success`
4343
- Maximum
4444
- :math:`Max`
4545
- :math:`max(prim)`
46-
- `Maximum <https://rtiinternational.github.io/teehr/api/generated/teehr.SignatureMetrics.html#teehr.SignatureMetrics.Maximum>`__
46+
- `Maximum <https://rtiinternational.github.io/teehr/api/generated/teehr.Signatures.html#teehr.Signatures.Maximum>`__
4747
* - :material-regular:`check;1.5em;sd-text-success`
4848
- Minimum
4949
- :math:`Min`
5050
- :math:`min(prim)`
51-
- `Minimum <https://rtiinternational.github.io/teehr/api/generated/teehr.SignatureMetrics.html#teehr.SignatureMetrics.Minimum>`__
51+
- `Minimum <https://rtiinternational.github.io/teehr/api/generated/teehr.Signatures.html#teehr.Signatures.Minimum>`__
5252
* - :material-regular:`check;1.5em;sd-text-success`
5353
- Sum
5454
- :math:`Sum`
5555
- :math:`\sum(prim)`
56-
- `Sum <https://rtiinternational.github.io/teehr/api/generated/teehr.SignatureMetrics.html#teehr.SignatureMetrics.Sum>`__
56+
- `Sum <https://rtiinternational.github.io/teehr/api/generated/teehr.Signatures.html#teehr.Signatures.Sum>`__
5757
* - :material-regular:`check;1.5em;sd-text-success`
5858
- Variance
5959
- :math:`Variance`
6060
- :math:`\sigma^2_{prim}`
61-
- `Variance <https://rtiinternational.github.io/teehr/api/generated/teehr.SignatureMetrics.html#teehr.SignatureMetrics.Variance>`__
61+
- `Variance <https://rtiinternational.github.io/teehr/api/generated/teehr.Signatures.html#teehr.Signatures.Variance>`__
6262

6363

6464
Deterministic Metrics

0 commit comments

Comments
 (0)