Skip to content

Commit

Permalink
replace hard coded time dimension name with var.T.name in call to xar…
Browse files Browse the repository at this point in the history
…ray concatenate
  • Loading branch information
wrongkindofdoctor committed Dec 7, 2024
1 parent b8ef29f commit 2ab3954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ def query_catalog(self,
if not var_xr:
var_xr = cat_subset_dict[k]
else:
var_xr = xr.concat([var_xr, cat_subset_dict[k]], "time")
var_xr = xr.concat([var_xr, cat_subset_dict[k]], var.T.name)
else:
# get xarray dataset for static variable
cat_index = [k for k in cat_subset_dict.keys()][0]
Expand Down

0 comments on commit 2ab3954

Please sign in to comment.