Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 21, 2024
1 parent cfd919e commit 1c5d49f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cf_xarray/parametric.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,9 @@ def computed_standard_name(self) -> str:
elif orog_stdname == "surface_height_above_geopotential_datum":
out_stdname = "height_above_geopotential_datum"

Check warning on line 340 in cf_xarray/parametric.py

View check run for this annotation

Codecov / codecov/patch

cf_xarray/parametric.py#L339-L340

Added lines #L339 - L340 were not covered by tests
else:
raise ValueError(f"Unknown standard name for hybrid height coordinate: {orog_stdname!r}")
raise ValueError(

Check warning on line 342 in cf_xarray/parametric.py

View check run for this annotation

Codecov / codecov/patch

cf_xarray/parametric.py#L342

Added line #L342 was not covered by tests
f"Unknown standard name for hybrid height coordinate: {orog_stdname!r}"
)

return out_stdname

Expand Down

0 comments on commit 1c5d49f

Please sign in to comment.