get.geotop.recovery.state: This function saves all spatially distrubuted information...

View source: R/get.recovery.state.R

get.geotop.recovery.stateR Documentation

This function saves all spatially distrubuted information contained in the recovery folder into a comprehensive list object.

Description

This function saves all spatially distrubuted information contained in the recovery folder into a comprehensive list object.

Usage

get.geotop.recovery.state(
  recFolder,
  xx = "0000",
  formatter = "L%04d",
  extension = ".asc",
  nsoillayers = 10,
  layersFromDir = FALSE,
  ...
)

Arguments

recFolder

directory when recvery maps are set. In GEOtop it is ...

xx

charcter String. Default is "0000"

formatter

string character for the the decimal formatter to be used. Default is "L%04d".

extension

file estension used for asccii recovery map files. It must contains '.' as the first character. Defaut is ".asc" .

nsoillayers

number of soil layers used in the GEOtop simulation.

layersFromDir

logical value. If is TRUE the number of soil/snow (vertical) layers used in the GEOtop simulation is automatically calculated and cannot be assigned through nsoillayers.

...

further arguments

Value

a list object containining all recovery raster maps.

Note

This function has been used with the built 1.225-9 of GEOtop .

Author(s)

Emanuele Cordano

See Also

brick.decimal.formatter,

raster,set.geotop.recovery.state,

write.vectorized.geotop.recovery,read.vectorized.geotop.recovery

Examples

library(geotopbricks)
example_Rscript <- system.file('template/example.geotop.recovery.state.R',package="geotopbricks")
example_Rscript

# Not Run because it elapses too long time!!! 
# Please Uncomment the following line to run by yourself!!!
# source(example_Rscript)


geotopbricks documentation built on Aug. 10, 2023, 1:06 a.m.