We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04d85f8 commit b378630Copy full SHA for b378630
gencast_fp/postprocess/gencast_cf.py
@@ -61,7 +61,8 @@ def proc_time_step(
61
ds_org, ctime, ref_date,
62
output_dir: Path, case="init", ens_mean=True
63
):
64
-
+
65
+ GRAV = 9.80665
66
FILL_VALUE = np.float32(1.0e15)
67
68
ds = ds_org.sel(time=ctime).expand_dims("time")
@@ -161,6 +162,9 @@ def proc_time_step(
161
162
"missing_value": FILL_VALUE,
163
"fmissing_value": FILL_VALUE,
164
}
165
166
+ # --- geopotential to height ---
167
+ ds['H'] = ds['H']/GRAV
168
169
# --- globals ---
170
ds.attrs = {
0 commit comments