Skip to content

Commit

Permalink
🐛 Fix intermediate bug
Browse files Browse the repository at this point in the history
  • Loading branch information
akrherz committed Dec 19, 2024
1 parent f23d6b1 commit 0f2b069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/iemre/init_stage4_daily.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def init_year(ts: datetime, ci: bool) -> Optional[str]:
x.bounds = "x_bounds"
x[:] = stage4.XAXIS

x_bounds = nc.createVariable("x_bounds", float, ("x", "bnds"))
x_bounds = nc.createVariable("x_bounds", float, ("x", "nv"))
x_bounds[:, 0] = stage4.XAXIS - stage4.DX / 2.0
x_bounds[:, 1] = stage4.XAXIS + stage4.DX / 2.0

Expand All @@ -65,7 +65,7 @@ def init_year(ts: datetime, ci: bool) -> Optional[str]:
y.bounds = "y_bounds"
y[:] = stage4.YAXIS

y_bounds = nc.createVariable("y_bounds", float, ("y", "bnds"))
y_bounds = nc.createVariable("y_bounds", float, ("y", "nv"))
y_bounds[:, 0] = stage4.YAXIS - stage4.DY / 2.0
y_bounds[:, 1] = stage4.YAXIS + stage4.DY / 2.0

Expand Down

0 comments on commit 0f2b069

Please sign in to comment.