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.SAFRAN = TRUE,
prepare.hydro = TRUE,
hydro.method = "J2000"
)
Arguments
- infoSimu
list of arguments created by
TNET_initializeSim()
- prepare.SAFRAN
logical or character. If
TRUE
,TNET_readSAFRAN()
andTNET_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()
, andTNET_computeQlatSout()
will be executed. If a path to another Simulation is provided, Hydro based data will be copied from this simulation.- hydro.method
character Hydro model used. for now can only be "J2000", but "EROS" will be added in the future.
Examples
infoSimu <- TNET_initializeSim(...)
#> Error: '...' used in an incorrect context
TNET_prepareSim(infoSimu,
prepare.SAFRAN = "/home/ghevin/Documents/TempoVeget/Travail/2_Modelisation_Temperature/Results/Present_2010_2021/")
#> Copying SAFRAN data from Present_2010_2021 simulation...
#> Error: object 'infoSimu' not found