wolfhece.toolshydrology_dll =========================== .. py:module:: wolfhece.toolshydrology_dll Module Contents --------------- .. py:class:: ToolsHydrologyFortran(dir_simul: str | pathlib.Path, debugmode: bool = False, path_to_dll: pathlib.Path = None) 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 .. py:attribute:: dir_simul :value: '' .. py:attribute:: _dir .. py:method:: set_directory() Set the directory and filename for the Fortran routines. .. py:method:: create_default_parameters() Write the default parameters for the Fortran routines. This will create a file named "test_opti.param" in the working directory. .. py:method:: run_preprocessing() Run the preprocessing of the hydrology model. This will create the characteristic maps and the whole basin data. .. py:method:: _list_exported_functions() Fortran routines/functions available in