We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99b2304 commit 7b47732Copy full SHA for 7b47732
regional_mom6/regional_mom6.py
@@ -2887,6 +2887,9 @@ def regrid_velocity_tracers(
2887
# If repeat-year forcing, add modulo coordinate
2888
if self.repeat_year_forcing:
2889
segment_out["time"] = segment_out["time"].assign_attrs({"modulo": " "})
2890
+ # Add axes to suppress annoying runtime warnings
2891
+ segment_out[f"ny_{self.segment_name}"] = segment_out[f"ny_{self.segment_name}"].assign_attrs({"axis":"Y"})
2892
+ segment_out[f"nx_{self.segment_name}"] = segment_out[f"nx_{self.segment_name}"].assign_attrs({"axis":"X"})
2893
segment_out.load().to_netcdf(
2894
self.outfolder / f"forcing_obc_{self.segment_name}.nc",
2895
encoding=encoding_dict,
0 commit comments