Skip to content

Commit

Permalink
OK got to expand dims for entire dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
henryaddison committed Dec 1, 2023
1 parent a2f033c commit 9fb2042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ml_downscaling_emulator/bin/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def gcmify(
):
def process_samples(ds):
ds = to_gcm_domain(ds.sel(ensemble_member=ensemble_member))
ds["pred_pr"] = ds["pred_pr"].expand_dims({"ensemble_member": ensemble_member})
ds = ds.expand_dims({"ensemble_member": ensemble_member})
return ds

process_each_sample(
Expand Down

0 comments on commit 9fb2042

Please sign in to comment.