Learn R Programming

geotopbricks (version 1.5.8.2)

get.geotop.recovery.state: 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,
  ...
)

Value

a list object containining all recovery raster maps.

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

Author

Emanuele Cordano

See Also

brick.decimal.formatter,

raster,set.geotop.recovery.state,

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

Examples

Run this code
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)

Run the code above in your browser using DataLab