Skip to content

Commit

Permalink
update variable names for wind and pressure according to hydromt-core (
Browse files Browse the repository at this point in the history
  • Loading branch information
roeldegoede authored Aug 29, 2024
1 parent e5245a9 commit 74039af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hydromt_sfincs/sfincs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2326,7 +2326,7 @@ def setup_pressure_forcing_from_grid(
press, str, Path, xr.Dataset, xr.DataArray
Path to pressure rasterdataset netcdf file or xarray dataset.
* Required variables: ['press' (Pa)]
* Required variables: ['press_msl' (Pa)]
* Required coordinates: ['time', 'y', 'x']
dst_res: float
Expand All @@ -2342,7 +2342,7 @@ def setup_pressure_forcing_from_grid(
geom=self.region,
buffer=2,
time_tuple=self.get_model_time(),
variables=["press"],
variables=["press_msl"],
)

# reproject to model utm crs
Expand Down Expand Up @@ -2384,7 +2384,7 @@ def setup_wind_forcing_from_grid(self, wind, dst_res=None, **kwargs):
wind, str, Path, xr.Dataset
Path to wind rasterdataset (including eastward and northward components) netcdf file or xarray dataset.
* Required variables: ['wind_u' (m/s), 'wind_v' (m/s)]
* Required variables: ['wind10_u' (m/s), 'wind10_v' (m/s)]
* Required coordinates: ['time', 'y', 'x']
dst_res: float
Expand All @@ -2396,7 +2396,7 @@ def setup_wind_forcing_from_grid(self, wind, dst_res=None, **kwargs):
geom=self.region,
buffer=2,
time_tuple=self.get_model_time(),
variables=["wind_u", "wind_v"],
variables=["wind10_u", "wind10_v"],
)

# reproject to model utm crs
Expand Down

0 comments on commit 74039af

Please sign in to comment.