DA.cathy_DA

DA.cathy_DA#

Class managing Data Assimilation process i.e.:

  1. Parameters and data perturbation

    This step consit in the generation of the ensemble.

DA class — Steps 2 and 3 are controlled via a specific class

  1. Open Loop

Without data run the hydrological model for an ensemble of realisations using the _run_hydro_DA_openLoop module.

  1. Loop of DA:

    • Running hydro model

    Run iteratively (between two observations) the hydrological model using the _run_ensemble_hydrological_model module.

    • Map states 2 Observations

    The module map_states2Observations() takes care of the mapping.

    For complex mapping such as ERT, it is done via a separate class. Example for the ERT we have a class mappingERT() which uses the Archie’s petrophysical relationship.

    • Running the analysis

    The analysis is controlled by run_analysis() which takes as argument the type of analysis to run i.e. EnkF or Pf.

    • Update ensemble

    The ensemble file update is controlled by update_ENS_files()

    • Evaluate performance

Functions

dictObs_2pd(dict_obs)

dict of observation to dataframe of observation

resynchronise_times(data_measure, atmbc_df, ...)

resynchronise dict as old key is elapsed time in second from the first observation, while new key is from the first atmbc time

run_analysis(DA_type, data, data_cov, param, ...)

Perform the DA analysis step

subprocess_run_multi(pathexe_list)

Run multiple exe files in parallel.

track(sequence[, description, total, ...])

Track progress by iterating over a sequence.

Classes

CATHY([dirName, prj_name, notebook, ...])

Main CATHY object.

DA([dirName, prj_name, notebook, version, ...])