Skip to content

Commit a4b96cb

Browse files
authored
Merge pull request #391 from RTIInternational/390-release-v048
390 release v048
2 parents c792e37 + 75faece commit a4b96cb

File tree

9 files changed

+43
-15
lines changed

9 files changed

+43
-15
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ python -m teehr.utils.install_spark_jars
3737
```
3838
Use Docker
3939
```bash
40-
$ docker build -t teehr:v0.4.7 .
41-
$ docker run -it --rm --volume $HOME:$HOME -p 8888:8888 teehr:v0.4.7 jupyter lab --ip 0.0.0.0 $HOME
40+
$ docker build -t teehr:v0.4.8 .
41+
$ docker run -it --rm --volume $HOME:$HOME -p 8888:8888 teehr:v0.4.8 jupyter lab --ip 0.0.0.0 $HOME
4242
```
4343

4444
## Examples

docs/sphinx/api/index.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ The top-level class for interacting with and exploring a TEEHR Evaluation.
1919
.. autosummary::
2020
:template: custom-class-template.rst
2121
:toctree: generated
22+
:nosignatures:
2223

2324
Evaluation
2425

@@ -29,6 +30,7 @@ Creating and Managing an Evaluation
2930
Methods for creating, cloning, and configuring an Evaluation.
3031

3132
.. autosummary::
33+
:nosignatures:
3234

3335
Evaluation.clone_template
3436
Evaluation.list_s3_evaluations
@@ -45,6 +47,7 @@ Classes for creating, describing, and querying the Evaluation dataset tables.
4547
.. autosummary::
4648
:template: custom-class-template.rst
4749
:toctree: generated
50+
:nosignatures:
4851

4952
BaseTable
5053
UnitTable
@@ -66,6 +69,7 @@ Methods for fetching NWM and USGS data from external sources.
6669

6770
.. autosummary::
6871
:toctree: generated
72+
:nosignatures:
6973

7074
Fetch.usgs_streamflow
7175
Fetch.nwm_retrospective_points
@@ -83,6 +87,7 @@ Functions for calculating metrics.
8387
:toctree: generated
8488
:template: custom-module-template.rst
8589
:recursive:
90+
:nosignatures:
8691

8792
teehr.metrics.deterministic_funcs
8893
teehr.metrics.signature_funcs
@@ -98,6 +103,7 @@ Classes for defining and customizing metrics and bootstrap models.
98103
:toctree: generated
99104
:template: custom-class-template.rst
100105
:recursive:
106+
:nosignatures:
101107

102108
DeterministicMetrics
103109
SignatureMetrics
@@ -113,6 +119,7 @@ Classes for defining and customizing user-defined field models.
113119
.. autosummary::
114120
:toctree: generated
115121
:template: custom-class-template.rst
122+
:nosignatures:
116123

117124
RowLevelCalculatedFields
118125
TimeseriesAwareCalculatedFields
@@ -126,5 +133,6 @@ Methods for visualizing Evaluation data.
126133
.. autosummary::
127134
:template: custom-class-template.rst
128135
:toctree: generated
136+
:nosignatures:
129137

130138
TEEHRDataFrameAccessor

docs/sphinx/changelog/index.rst

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,39 @@
11
Release Notes
22
=============
33

4+
0.4.8 - 2025-02-17
5+
------------------
6+
7+
Added
8+
^^^^^
9+
- Adds box zoom to location plots.
10+
- Adds User Guide page for fetching NWM point data.
11+
- Adds new row level calculated fields, DayOfYear, ThresholdValueExceeded, ForecastLeadTime.
12+
13+
14+
Changed
15+
^^^^^^^
16+
- Changes NWM fetching methods from ``nwm_forecast_<xxxx>`` to ``nwm_operational_<xxxx>``.
17+
18+
- Set ``use_table_schema`` to False when cloning the ``joined_timeseries`` table from s3,
19+
so that extra fields will not be dropped. Note, this will raise an error if the table is
20+
empty or does not exist.
21+
22+
- Made auto-adding of configuration_name in NWM and USGS fetching optional.
23+
24+
- Removed 2 evaluations from s3 (HEFS, NWM fetching), using TEEHR data module instead.
25+
426

527
0.4.7 - 2025-01-08
6-
--------------------
28+
------------------
729

830
Added
931
^^^^^
1032
* Adds RowLevelCalculatedFields and TimeseriesAwareCalculatedFields which are hopefully descriptive enough names.
1133

1234
* Adds a User Guide page to describe what they are and how to use them.
1335

14-
* Adds hvplot dependency to poerty
36+
* Adds hvplot dependency to poetry
1537

1638
* Adds add_calculated_fields() methods to joined_timeseries and metrics "tables"
1739

docs/sphinx/getting_started/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ Or, if you do not want to install TEEHR in your own virtual environment, you can
3737

3838
.. code-block:: bash
3939
40-
docker build -t teehr:v0.4.7 .
41-
docker run -it --rm --volume $HOME:$HOME -p 8888:8888 teehr:v0.4.7 jupyter lab --ip 0.0.0.0 $HOME
40+
docker build -t teehr:v0.4.8 .
41+
docker run -it --rm --volume $HOME:$HOME -p 8888:8888 teehr:v0.4.8 jupyter lab --ip 0.0.0.0 $HOME
4242
4343
Project Objectives
4444
------------------

docs/sphinx/user_guide/notebooks/05_clone_from_s3.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"cell_type": "markdown",
6161
"metadata": {},
6262
"source": [
63-
"### Clone Evaluation Data form S3\n",
63+
"### Clone Evaluation Data from S3\n",
6464
"As mentioned above, for this exercise we will be cloning a complete Evaluation dataset from the TEEHR S3 bucket. First we will list the available Evaluations and then we will clone the `e0_2_location_example` evaluation which is a small example Evaluation that only contains 2 gages."
6565
]
6666
},
@@ -396,7 +396,7 @@
396396
"name": "python",
397397
"nbconvert_exporter": "python",
398398
"pygments_lexer": "ipython3",
399-
"version": "3.10.15"
399+
"version": "3.10.12"
400400
}
401401
},
402402
"nbformat": 4,

docs/sphinx/user_guide/notebooks/10_fetching_nwm_streamflow.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@
316316
" :recursive:\n",
317317
" :nosignatures:\n",
318318
"\n",
319-
" teehr.Fetch.nwm_forecast_grids\n",
319+
" teehr.Fetch.nwm_operational_grids\n",
320320
" teehr.Fetch.nwm_retrospective_grids\n",
321321
"```\n",
322322
"\n",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "teehr"
3-
version = "0.4.7"
3+
version = "0.4.8"
44
description = "Tools for Exploratory Evaluation in Hydrologic Research"
55
authors = [
66
"RTI International",

src/teehr/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Initialize the TEEHR package."""
2-
__version__ = "0.4.7"
2+
__version__ = "0.4.8"
33

44
from teehr.evaluation.evaluation import Evaluation # noqa
55
from teehr.models.metrics.deterministic_models import DeterministicMetrics # noqa
@@ -43,6 +43,4 @@
4343
from teehr.evaluation.tables.unit_table import UnitTable
4444
from teehr.evaluation.tables.variable_table import VariableTable
4545
from teehr.evaluation.fetch import Fetch # noqa
46-
from teehr.visualization.dataframe_accessor import TEEHRDataFrameAccessor # noqa
47-
from teehr.metrics import deterministic_funcs, signature_funcs, probabilistic_funcs # noqa
48-
from teehr.metrics.signature_funcs import count # noqa
46+
from teehr.visualization.dataframe_accessor import TEEHRDataFrameAccessor # noqa

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.4.7
1+
0.4.8

0 commit comments

Comments
 (0)