hydro.__main__#

Module Contents#

Functions#

setup_logging(level)

convert()

_comment_loader(str_or_path)

convert_exchange(exchange_path, out_path, check_flag, ...)

convert_csv(csv_path, out_path, ftype, check_flag, ...)

status()

cchdo_loader(dtype[, dformat])

cached_file_loader(file)

vars_with_value(ds)

status_exchange(dtype, out_dir, dump_unknown_params, ...)

Generate a bottle conversion status for all ex files of type type in the CCHDO Dataset.

status_cf_derived(out_dir, verbose, only_fail)

Attributes#

hydro.__main__.log[source]#
hydro.__main__.setup_logging(level)[source]#
hydro.__main__.convert()[source]#
hydro.__main__._comment_loader(str_or_path)[source]#
Parameters:

str_or_path (str) –

Return type:

str

hydro.__main__.PrecisionSouceType[source]#
hydro.__main__.convert_exchange(exchange_path, out_path, check_flag, precision_source, comments)[source]#
hydro.__main__.convert_csv(csv_path, out_path, ftype, check_flag, precision_source, comments)[source]#
hydro.__main__.status()[source]#
hydro.__main__.cchdo_loader(dtype, dformat='exchange')[source]#
hydro.__main__.cached_file_loader(file)[source]#
hydro.__main__.vars_with_value(ds)[source]#
Parameters:

ds (xarray.Dataset) –

Return type:

list[str]

hydro.__main__.status_exchange(dtype, out_dir, dump_unknown_params, verbose, dump_data_counts)[source]#

Generate a bottle conversion status for all ex files of type type in the CCHDO Dataset.

hydro.__main__.status_cf_derived(out_dir, verbose, only_fail)[source]#
hydro.__main__.cli[source]#