Skip to contents

Compute the lateral flow of all compartment (runoff, underground) in the same file, just like TNET_computeQlatSout() do for the underground flow. For now this function only work for J2000 hydrological model

Usage

TNETutils_computeQlatAll(
  path_data,
  path_export = path_data,
  shapefile,
  hydro_model = "J2000",
  ...
)

Arguments

path_data

path to the folder containing the HRULoop.nc file created by TNET_readJ2K() function.

path_export

path where the file Qlat_All.nc will be exported.

shapefile

path to the shapefile with all segments.

hydro_model

hydrological model where the data is comming from (for now only J2000)

...

Prepared when more hydrological models will be included, for now with J2000 the paramter to had is path_J2K_reachpar with the path to the folder containing the "reach.par" file

Value

None.

Examples

TNETutils_computeQlatAll(path_data ="path/to/HRULoopNC/folder/",
                         shapefile = "path/to/shapefile.shp",
                         path_J2K_reachpar = "path/to/reachPar/folder/")
#> Error: Cannot open "path/to/shapefile.shp"; The file doesn't seem to exist.