hydromt_sfincs.components.forcing.SfincsWind.create#

SfincsWind.create(wind, buffer: float = 5000.0, dst_res=None, **kwargs)[source]#

Setup wind forcing from a gridded spatially varying data source.

Adds one model layer:

  • netamuamv forcing: distributed wind [m/s]

Parameters:
  • wind

    Path to wind rasterdataset (including eastward and northward components) netcdf file or xarray dataset.

    • Required variables: [‘wind10_u’ (m/s), ‘wind10_v’ (m/s)]

    • Required coordinates: [‘time’, ‘y’, ‘x’]

  • str

    Path to wind rasterdataset (including eastward and northward components) netcdf file or xarray dataset.

    • Required variables: [‘wind10_u’ (m/s), ‘wind10_v’ (m/s)]

    • Required coordinates: [‘time’, ‘y’, ‘x’]

  • Path

    Path to wind rasterdataset (including eastward and northward components) netcdf file or xarray dataset.

    • Required variables: [‘wind10_u’ (m/s), ‘wind10_v’ (m/s)]

    • Required coordinates: [‘time’, ‘y’, ‘x’]

  • xr.Dataset

    Path to wind rasterdataset (including eastward and northward components) netcdf file or xarray dataset.

    • Required variables: [‘wind10_u’ (m/s), ‘wind10_v’ (m/s)]

    • Required coordinates: [‘time’, ‘y’, ‘x’]

  • buffer (float, optional) – Buffer (m) around the model domain to read the wind data. This is useful to avoid edge effects when the wind data is clipped at the model domain.

  • dst_res (float) – output resolution (m), by default None and computed from source data.