Skip to contents

Thise function will execute all function in the TNET function set in order to prepare all meteological and hydrological data for T-NET. A diagram showing how witch function are executed can be found here.

Usage

TNET_prepareSim(infoSimu, prepare_meteo = TRUE, prepare_hydro = TRUE)

Arguments

infoSimu

list of arguments created by TNET_initializeSim()

prepare_meteo

logical or character. If TRUE, TNET_readSAFRAN() and TNET_computeTnappe() will be executed. If a path to another Simulation is provided, SAFRAN based data will be copied from this simulation.

prepare_hydro

logical or character. If TRUE, TNET_readJ2K(),TNET_computeQ(),TNET_computeHydraulic(), and TNET_computeQlatSout() will be executed. If a path to another Simulation is provided, Hydro based data will be copied from this simulation.

hydro_model

character Hydro model used. for now can only be "J2000", but "EROS" will be added in the future.

Value

None.

Examples

infoSimu <- TNET_initializeSim(...)
#> Error: '...' used in an incorrect context

TNET_prepareSim(infoSimu, 
                prepare_meteo = "/home/ghevin/Documents/TempoVeget/Travail/2_Modelisation_Temperature/Results/Present_2010_2021/")
#> Error: object 'infoSimu' not found