Skip to contents

Create the configuration file (tconf) readen by T-NET

Usage

TNET_createTconf(constantDirectory, safranDirectory, shapeDirectory, name_shape, hydroDirectory, result_path, startingYear, endingYear, threadCount, computeSF, variableExport, tconf_path, objectID_file, commentaire = '')

TNET_createTconf(infoSimu)

Arguments

constantDirectory

string Path to the constant folder

safranDirectory

string Path to the SAFRAN folder

shapeDirectory

string Path to the Shape folder

name_shape

string name of the shapefile created by TNET_createShape()

hydroDirectory

string Path to the hydro folder

result_path

string Path where TNET results will be written

startingYear

numeric Year to start calculation

endingYear

numeric Year to end calculation

threadCount

numeric Number of threads to use for calculations

computeSF

bool TRUE if TNET calculate the shadow Factor for each segments

variableExport

vector of strings Variables to export, all available variables are listed here

tconf_path

string Path to the tconf file to write

objectID_file

string Name of the OBJECTID file

commentaire

string Comment for your calculation, will be written in NetCDF files

Value

The tconf file as presented here

Details

You can use only the result variable infoSimu given by the function TNET_initializeSim() as the only argument in the function. All info will be taken from here.

See also

For more info about the T-NET configuration file, check the T-NET Wiki here: https://forgemia.inra.fr/guillaume.hevin/t-net/-/wikis/Configuration-file-tconf