Skip to content

Commit

Permalink
ahh no it was missing square brakets to define the value
Browse files Browse the repository at this point in the history
  • Loading branch information
henryaddison committed Dec 1, 2023
1 parent 9fb2042 commit d0fc90e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ml_downscaling_emulator/bin/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ def gcmify(
):
def process_samples(ds):
ds = to_gcm_domain(ds.sel(ensemble_member=ensemble_member))
ds = ds.expand_dims({"ensemble_member": ensemble_member})
ds["pred_pr"] = ds["pred_pr"].expand_dims(
{"ensemble_member": [ensemble_member]}
)
return ds

process_each_sample(
Expand Down

0 comments on commit d0fc90e

Please sign in to comment.