hydromt_sfincs.SfincsModel.setup_pressure_forcing_from_grid#

SfincsModel.setup_pressure_forcing_from_grid(press, 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’]

  • 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.