hydromt.io.open_nc#
- hydromt.io.open_nc(filepath: Path | str, **kwargs) Dataset[source]#
Read a netcdf file.
- Parameters:
filepath (
Path | str) – Full path to the file.**kwargs (
dict) – Additional keyword arguments that are passed to the xr.open_dataset function.
- Returns:
Read dataset. Don’t forget to close it when you’re done!
- Return type:
xr.Dataset