hydromt_sfincs.components.forcing.SfincsPressure.create#
- SfincsPressure.create(press, buffer: float = 5000.0, dst_res=None, fill_value=101325, **kwargs)[source]#
Setup pressure forcing from a gridded spatially varying data source.
Adds one model layer:
netampfile forcing: distributed barometric pressure [Pa]
- Parameters:
press –
Path to pressure rasterdataset netcdf file or xarray dataset.
Required variables: [‘press_msl’ (Pa)]
Required coordinates: [‘time’, ‘y’, ‘x’]
str –
Path to pressure rasterdataset netcdf file or xarray dataset.
Required variables: [‘press_msl’ (Pa)]
Required coordinates: [‘time’, ‘y’, ‘x’]
Path –
Path to pressure rasterdataset netcdf file or xarray dataset.
Required variables: [‘press_msl’ (Pa)]
Required coordinates: [‘time’, ‘y’, ‘x’]
xr.Dataset –
Path to pressure rasterdataset netcdf file or xarray dataset.
Required variables: [‘press_msl’ (Pa)]
Required coordinates: [‘time’, ‘y’, ‘x’]
xr.DataArray –
Path to pressure rasterdataset netcdf file or xarray dataset.
Required variables: [‘press_msl’ (Pa)]
Required coordinates: [‘time’, ‘y’, ‘x’]
buffer (
float, optional) – Buffer (m) around the model domain to read the pressure data. This is useful to avoid edge effects when the pressure data is clipped at the model domain.dst_res (
float) – output resolution (m), by default None and computed from source data.fill_value (
float) – value to use when no data is available. Standard atmospheric pressure (101325 Pa) is used if no value is given.