analyse.snow.state: Analyse snow state

View source: R/analyse.snow.state.r

analyse.snow.stateR Documentation

Analyse snow state

Description

Analyse the state of the snow cover in a state file

Usage

analyse.snow.state(state, NB, IZ, read.file = FALSE, show.plot = FALSE, ...)

Arguments

state

output of read.state or, if read.file == TRUE, a string pointing to a state file.

NB

numeric. Number of subbasin that will be analysed.

IZ

numeric. Number of cell in the subbasin NB that will be analysed.

read.file

logical. If TRUE a state file will be read in. In this case, state has to be a string pointing to a state file.

show.plot

logical. Should the result be plotted?

...

additional arguments passed on to dev.new.file

Value

a list containing the state of the snow cover on grid scale (1) and subgrid scale (2)

Author(s)

Simon Frey

See Also

read.state

Examples

    x <- read.state("C:/TEMP/statevar.dmp")
    analyse.snow.state(state = x,NB=1,IZ=1)
    
    analyse.snow.state("C:/TEMP/statevar.dmp",NB=1,IZ=1,read.file=TRUE)
    

freysimon/TigeR documentation built on April 18, 2024, 4:57 p.m.