get_hydroMet: Get the slot(s) content(s)

Description Usage Arguments Value Functions Examples

Description

Extract the slots that you want from an hydroMet or hydroMet_XXX class.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
get_hydroMet(obj, name = NA_character_)

## S4 method for signature 'hydroMet'
get_hydroMet(obj, name = NA_character_)

## S4 method for signature 'hydroMet_BDHI'
get_hydroMet(obj, name = NA_character_)

## S4 method for signature 'hydroMet_DGI'
get_hydroMet(obj, name = NA_character_)

## S4 method for signature 'hydroMet_IANIGLA'
get_hydroMet(obj, name = NA_character_)

## S4 method for signature 'hydroMet_CR2'
get_hydroMet(obj, name = NA_character_)

## S4 method for signature 'hydroMet_compact'
get_hydroMet(obj, name = NA_character_)

Arguments

obj

an hydroMet or hydroMet_XXX class object.

name

a valid single string or vector string with the required slot name(s).

Value

A list with the slot's data.

Functions

Examples

1
2
3
4
5
# Create an IANIGLA object
cuevas <- create_hydroMet(class_name = 'IANIGLA')

# Extract one of its slots
tair <- get_hydroMet(obj = cuevas, name = 'tair')

hydroToolkit documentation built on July 2, 2020, 1:04 a.m.