get_hydroMet {hydroToolkit}R Documentation

Get the slot(s) content(s)

Description

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

Usage

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

# Create an IANIGLA object
cuevas <- create_hydroMet(class_name = 'IANIGLA')

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


[Package hydroToolkit version 0.1.0 Index]