You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: R/CreateFlownet.R
+47-17Lines changed: 47 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
#'
3
3
#' Creates the flow networkd table used by RHESSys
4
4
#' @param flownet_name The name of the flow network file to be created. Will be coerced to have ".flow" extension if not already present.
5
-
#' @param readin readin indicates which maps to be used. If CreateFlowmet.R is run it's own, this should point to the template. Otherwise,
6
-
#' if run inside of RHESSysPreprocess, readin will use the map data from world_gen.R, Streams map, and other optional maps, still need to
7
-
#' be specified.
5
+
#' @param readin readin indicates the maps to be used. If CreateFlowmet.R is run it's own, this should point to the template which references the maps(or values)
6
+
#' used for the various levels and statevars. Otherwise, if run inside of RHESSysPreprocess, readin will use the map data from world_gen.R,
7
+
#' Streams map, and other optional maps, still need to be specified.
8
8
#' @param type Input file type to be used. Default is raster. "Raster" type will use rasters
9
9
#' in GeoTiff or equivalent format (see Raster package), with file names matching those indicated in the template.
10
10
#' ASCII is supported, but 0's cannot be used as values for data. "GRASS" will attempt to autodetect the version of
#' @param template Name and path of templatefile to be created.
5
+
#' @param out_file Destination file to write new template
6
+
#' @param vars State variable(s) to be modified
7
+
#' @param operator Operator to be (optionally) replaced. If not included the existing operator (e.g. 'value') will be left.
8
+
#' @param values Values to replace for `vars`. N args must equal that of vars or be 1 (will be used for all vars).
9
+
#' @param level_names Not implamented yet - for rare cases where you only want to replace 1 occurance of a state var (e.g. 'z' at zone but not patch ele)
10
+
#' @param overwrite TRUE/FALSE if input file should be overwriten
0 commit comments