wolfhece.toolshydrology_dll

Module Contents

class wolfhece.toolshydrology_dll.ToolsHydrologyFortran(dir_simul: str | pathlib.Path, debugmode: bool = False, path_to_dll: pathlib.Path = None)[source]

Fortran routines/functions available in “WolfHydrology.f90” in Wolf_OO

Ref : https://docs.python.org/3/library/ctypes.html et https://gcc.gnu.org/onlinedocs/gfortran/Interoperability-with-C.html Ref : https://stackoverflow.com/questions/59330863/cant-import-dll-module-in-python

dir_simul = ''[source]
_dir[source]
set_directory()[source]

Set the directory and filename for the Fortran routines.

create_default_parameters()[source]

Write the default parameters for the Fortran routines. This will create a file named “test_opti.param” in the working directory.

run_preprocessing()[source]

Run the preprocessing of the hydrology model. This will create the characteristic maps and the whole basin data.

_list_exported_functions()[source]

Fortran routines/functions available in