hydro

Submodules

Functions

read_csv(filename_or_obj, *[, fill_values, ftype, ...])

read_exchange(filename_or_obj, *[, fill_values, ...])

Loads the data from filename_or_obj and returns a xr.Dataset with the CCHDO

Package Contents

hydro.read_csv(filename_or_obj, *, fill_values=('-999',), ftype=FileType.BOTTLE, checks=None, precision_source=PrecisionSource.FILE, encoding='utf8', ignore_columns=None)[source]
Parameters:
  • filename_or_obj (ExchangeIO)

  • ftype (cchdo.hydro.types.FileTypeType)

  • checks (CheckOptions | None)

  • precision_source (cchdo.hydro.types.PrecisionSourceType)

  • ignore_columns (collections.abc.Iterable[str] | None)

Return type:

xarray.Dataset

hydro.read_exchange(filename_or_obj, *, fill_values=('-999',), checks=None, precision_source=PrecisionSource.FILE, file_seperator=None, keep_seperator=True, encoding='utf8', ignore_columns=None)[source]

Loads the data from filename_or_obj and returns a xr.Dataset with the CCHDO CF/netCDF structure

Parameters:
Return type:

xarray.Dataset