Skip to contents

TNET set functions

Functions to organise needed data for TNET

TNET_compareResult()
Compare 2 NetCDF files created by T-NET on a periode of time
TNET_computeHydraulic()
Compute all hydraulic data from Q for T-NET calculations
TNET_computeQ()
Compute water flow on Topage segments network using J2000 calculations
TNET_computeQlatSout()
Compute underground water flow data from J2000 used by T-NET
TNET_computeTnappe()
Estimate undergroud water temperature
TNET_createShape()
Create Shapefile for TNET
TNET_createTconf()
Create the configuration file (tconf) readen by T-NET
TNET_initializeSim()
Initialize All info needed by TnetRUI package
TNET_modifyVeget()
Modify vegetation density and heights on segments
TNET_prepareSim()
Prepare TNET simulation
TNET_readJ2K()
Read ReachLoop.dat or HRULoop.dat file created by J2000
TNET_readResults()
Reading data in NetCDF files created by T-NET
TNET_readSAFRAN()
Reading data from SAFRAN netCDF files
TNET_run()
Run T-NET

TNETshape set functions

Functions to create the river network to use for TNET

TNETshape_computeAreaDrain()
Compute Drain area using WhiteBox
TNETshape_computeCoefQcalc()
Assign a coeficients to dispatch J2000 discharge on TOPAGE segments
TNETshape_computeNdAreaDrain()
Create accurate nodes for Drain area calculation
TNETshape_computePosition()
Compute segment coordinates and orientations
TNETshape_cutSegments()
Cut segment into sub-segment with a specific length
TNETshape_getSafran()
Assign a SAFRAN IDs to segments
TNETshape_mergeSegments()
Merging all river segments between confluences
TNETshape_prepare()
Use all TNETshape function
TNETshape_removePbDrainArea()
Remove segments with weird area drain

TNETutils set functions

Some useful function to have

TNETutils_findUpstreamSegment()
Find all segments ID upstream
TNETutils_getDatInfoJ2K()
Read information in the header of a J2K .dat file
TNETutils_getSAFRAN_fromShape()
Get all SAFRAN gris ID info from shapefile
TNETutils_getShape_fromNETCDF()
Read Shape used by TNET to run

TNETdiagnostic set functions

Functions to verify computation

TNETdiagnostic_pbDrainArea()
Detect potentially invalid drained area