Skip to content

Commit

Permalink
Bugfix: missing colon in dz_m
Browse files Browse the repository at this point in the history
  • Loading branch information
blychs committed Oct 7, 2024
1 parent 7c5ee66 commit 6424c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monetio/models/_camx_mm.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ def _calc_midlayer_height_agl(dset):

dz_m = xr.zeros_like(layer_height_agl)
dz_m[:, 0, :, :] = layer_height_agl[:, 0, :, :].values
dz_m[:, 1:, :, :] = layer_height_agl[:, 1, :, :].values - layer_height_agl[:, :-1, :, :].values
dz_m[:, 1:, :, :] = layer_height_agl[:, 1:, :, :].values - layer_height_agl[:, :-1, :, :].values
dz_m.attrs["long_name"] = "dz in meters"
dz_m.attrs["var_desc"] = "Layer thickness in meters"
return alt_agl_m_mid, layer_height_agl
Expand Down

0 comments on commit 6424c1c

Please sign in to comment.