hydromt_wflow.workflows.update_soil_with_paddy#
- hydromt_wflow.workflows.update_soil_with_paddy(ds: ~xarray.core.dataset.Dataset, ds_like: ~xarray.core.dataset.Dataset, paddy_mask: ~xarray.core.dataarray.DataArray, soil_fn: str = 'soilgrids', update_c: bool = True, wflow_layers: ~typing.List[int] = [50, 100, 50, 200, 800], target_conductivity: ~typing.List[None | int | float] = [None, None, 5, None, None], logger=<Logger hydromt_wflow.workflows.soilgrids (WARNING)>)[source]#
Update c and kvfrac soil properties for paddy fields.
- Parameters:
ds (xarray.Dataset) – Dataset containing soil properties.
ds_like (xarray.DataArray) – Dataset at model resolution. Required variables: wflow_subcatch, KsatVer, f
paddy_mask (xarray.DataArray) – Dataset containing paddy fields mask.
soil_fn (str) – soilgrids version {‘soilgrids’, ‘soilgrids_2020’}
update_c (bool) – Update c based on change in wflow_layers.
wflow_layers (list) – List of soil layer depths [cm] for which c is calculated.
target_conductivity (list) – Target conductivity for each wflow layer.
- Returns:
soil_out – Dataset containing updated soil properties.
- Return type: