hydromt_delft3dfm.utils.read_1dboundary#
- hydromt_delft3dfm.utils.read_1dboundary(df: DataFrame, quantity: str, nodes: GeoDataFrame) DataArray [source]#
Read for a specific quantity the external and forcing files and parse to xarray.
# TODO: support external forcing for 2D.
- Parameters:
df (pd.DataFrame) – External Model DataFrame filtered for quantity.
quantity (str) – Name of quantity (eg ‘waterlevel’).
nodes (gpd.GeoDataFrame) – Nodes locations of the boundary in df.
- Returns:
da_out – External and focing values combined into a DataArray for variable quantity.
- Return type:
xr.DataArray