Skip to content

Commit

Permalink
Merge branch 'master' into fix-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre authored Oct 11, 2024
2 parents 20a8d37 + db12392 commit 0099fba
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"project_slug": "ravenpy",
"project_short_description": "A Python wrapper to setup and run the hydrologic modelling framework Raven.",
"pypi_username": "CSHS-CWRA",
"version": "0.15.1-dev.2",
"version": "0.15.1-dev.3",
"use_pytest": "y",
"use_black": "y",
"use_conda": "y",
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Internal changes
* Many `numpydoc`-style docstrings have been adjusted for consistency.
* Added `setuptools` to the `gis` build recipe to ensure that the `gdal` bindings are built successfully. (PR #400)
* Modified the sub-basin and channel profile extraction functions to correctly set the river length to zero and set default values for reach attributes in sub-basins with no channel routing (i.e., sub-basins with lakes or headwater basins). (issue #354, PR #401)
* Improved the HBV-EC emulator by adding parameter information (name, definition, and Raven default values) and fixed the variable name for the adiabatic temperature lapse rate. (PR #404)
* Improved the HBV-EC emulator by adding parameter information (name, definition, and Raven default values), fixed the variable name for the adiabatic temperature lapse rate, and added an alias for rain snow fraction to match other emulators. (PR #404 and #408)
* Modified the `sphinx` configuration to better support SVG and to remove incompatible elements from the PDF build. (PR #407)

v0.15.0 (2024-06-20)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ target-version = [
]

[tool.bumpversion]
current_version = "0.15.1-dev.2"
current_version = "0.15.1-dev.3"
commit = true
commit_args = "--no-verify"
tag = false
Expand Down
2 changes: 1 addition & 1 deletion src/ravenpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@

__author__ = """David Huard"""
__email__ = "[email protected]"
__version__ = "0.15.1-dev.2"
__version__ = "0.15.1-dev.3"
4 changes: 3 additions & 1 deletion src/ravenpy/config/emulators/hbvec.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ class HBVEC(Config):
lw_radiation_method: o.LWRadiationMethod = Field(
"LW_RAD_DEFAULT", alias="LWRadiationMethod"
)
rain_snow_fraction: o.RainSnowFraction = Field("RAINSNOW_HBV")
rain_snow_fraction: o.RainSnowFraction = Field(
"RAINSNOW_HBV", alias="RainSnowFraction"
)
potential_melt_method: o.PotentialMeltMethod = Field(
"POTMELT_HBV", alias="PotentialMeltMethod"
)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ravenpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ def test_package_metadata():
contents = f.read()
assert """David Huard""" in contents
assert '__email__ = "[email protected]"' in contents
assert '__version__ = "0.15.1-dev.2"' in contents
assert '__version__ = "0.15.1-dev.3"' in contents

0 comments on commit 0099fba

Please sign in to comment.