Skip to contents

Run T-NET

Usage

TNET_run(infoSimu,Name,commentaire,Year_start = NULL,Year_end = NULL,IDs_saved = NULL,variableExport = c('Tw_NFS'),troncon_Aval = NULL,threadCount = NULL,ComputeSF = NULL,run_dry = FALSE)

Arguments

infoSimu

all info created by TNET_initializeSim()

Name

Name of the simulation

commentaire

Comment to add in all NetCDF export files

Year_start

Year to start the calculation

Year_end

Year to end the calculation

IDs_saved

Segments ids to save

variableExport

Variables of TNET to export

troncon_Aval

Segment to take to do calculation on a sub bassin

threadCount

Number of threads to run TNET

ComputeSF

TRUE if TNET calculate the shadow Factor for each segments

run_dry

Do you want to prepare all files without running T-NET ?

Value

None

Examples

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

TNET_run(infoSimu,
         Name = 'Temperature_testImport',
         commentaire = 'Modélisation avec lecture NETCDF',
         Year_start = 2010,
         Year_end = 2021,
         threadCount = 10,
         variableExport = c('Tw_NFS','Test'),
         run_dry = TRUE)
#> Error: object 'infoSimu' not found