Skip to content

Commit 8651078

Browse files
authored
Merge pull request #416 from RTIInternational/415-release-version-049
415 release version 049
2 parents 7222ff9 + d23e8b6 commit 8651078

File tree

7 files changed

+35
-8
lines changed

7 files changed

+35
-8
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN TEEHR_VERSION=$(cat /teehr/version.txt) && \
1212
mv dist/teehr-${TEEHR_VERSION}.tar.gz dist/teehr-build.tar.gz
1313

1414
# Install TEEHR in the Pangeo Image
15-
FROM pangeo/pangeo-notebook:2024.10.01
15+
FROM pangeo/base-notebook:2025.01.24
1616

1717
USER root
1818
ENV DEBIAN_FRONTEND=noninteractive

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.8 .
41-
$ docker run -it --rm --volume $HOME:$HOME -p 8888:8888 teehr:v0.4.8 jupyter lab --ip 0.0.0.0 $HOME
40+
$ docker build -t teehr:v0.4.9 .
41+
$ docker run -it --rm --volume $HOME:$HOME -p 8888:8888 teehr:v0.4.9 jupyter lab --ip 0.0.0.0 $HOME
4242
```
4343

4444
## Examples

docs/sphinx/changelog/index.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,33 @@
11
Release Notes
22
=============
33

4+
5+
0.4.9 - 2025-03-26
6+
------------------
7+
8+
Added
9+
^^^^^
10+
- Adds pandera schema for the weights file and validates weights dataframe on read and write, coercing values into schema data types
11+
- Adds ``starting_z_hour`` and ``ending_z_hour`` arguments to operational NWM fetching methods (point, gridded)
12+
- Adds function to drop NaN values (from value field) when fetching NWM and USGS data
13+
- Adds a check so that if schema validation fails, the current file is skipped and fetching continues
14+
- Adds versions 1.2 and 2.0 to operational NWM fetching (version 2.2 (nwm22) is allowed to be used with a note that it is no different from 2.1)
15+
- Adds a test notebook for testing on remote teehr-hub kernel
16+
- Adds wrapper functions for deterministic and signature metrics
17+
18+
19+
Changed
20+
^^^^^^^
21+
- Fixes doc strings for fetch.nwm_retrospective_grids()
22+
- Removes ``add_configuration_name`` in fetching and automatically adds if it doesn't exist
23+
- Updates dask version
24+
- Fixes a bug in parsing the z_hour and day from the remote json paths when an ensemble configuration is selected
25+
- Removes the imports in ``__init__.py`` that were for documentation purposes
26+
- Removes hydrotools as a dependency
27+
- Updates API documentation, adding evaluation.metrics.Metrics methods
28+
- Changes base docker image to ``base-notebook:2025.01.24``
29+
30+
431
0.4.8 - 2025-02-17
532
------------------
633

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.8 .
41-
docker run -it --rm --volume $HOME:$HOME -p 8888:8888 teehr:v0.4.8 jupyter lab --ip 0.0.0.0 $HOME
40+
docker build -t teehr:v0.4.9 .
41+
docker run -it --rm --volume $HOME:$HOME -p 8888:8888 teehr:v0.4.9 jupyter lab --ip 0.0.0.0 $HOME
4242
4343
Project Objectives
4444
------------------

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.8"
3+
version = "0.4.9"
44
description = "Tools for Exploratory Evaluation in Hydrologic Research"
55
authors = [
66
"RTI International",

src/teehr/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Initialize the TEEHR package."""
2-
__version__ = "0.4.8"
2+
__version__ = "0.4.9"
33

44
from teehr.evaluation.evaluation import Evaluation # noqa
55
from teehr.models.metrics.deterministic_models import DeterministicMetrics # noqa

version.txt

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

0 commit comments

Comments
 (0)