hydroMet object or its subclassesWith this method you can set (or change) an specific slot value.
set_hydroMet(
obj = NULL,
id = NULL,
agency = NULL,
station = NULL,
lat = NULL,
long = NULL,
alt = NULL,
country = NULL,
province = NULL,
river = NULL,
active = NULL,
...
)# S4 method for hydroMet
set_hydroMet(
obj = NULL,
id = NULL,
agency = NULL,
station = NULL,
lat = NULL,
long = NULL,
alt = NULL,
country = NULL,
province = NULL,
river = NULL,
active = NULL
)
# S4 method for hydroMet_BDHI
set_hydroMet(
obj = NULL,
id = NULL,
agency = NULL,
station = NULL,
lat = NULL,
long = NULL,
alt = NULL,
country = NULL,
province = NULL,
river = NULL,
active = NULL,
Qmd = NULL,
Qmm = NULL,
precip = NULL,
tdb = NULL,
tmax = NULL,
tmin = NULL,
swe = NULL,
hr = NULL,
wspd = NULL,
wdir = NULL,
evap = NULL,
anem = NULL,
patm = NULL
)
# S4 method for hydroMet_DGI
set_hydroMet(
obj = NULL,
id = NULL,
agency = NULL,
station = NULL,
lat = NULL,
long = NULL,
alt = NULL,
country = NULL,
province = NULL,
river = NULL,
active = NULL,
swe = NULL,
tmean = NULL,
tmax = NULL,
tmin = NULL,
hr = NULL,
patm = NULL,
hsnow = NULL
)
# S4 method for hydroMet_IANIGLA
set_hydroMet(
obj = NULL,
id = NULL,
agency = NULL,
station = NULL,
lat = NULL,
long = NULL,
alt = NULL,
country = NULL,
province = NULL,
river = NULL,
active = NULL,
date = NULL,
tair = NULL,
hr = NULL,
patm = NULL,
precip = NULL,
wspd = NULL,
wdir = NULL,
kin = NULL,
hsnow = NULL,
tsoil = NULL,
hwat = NULL
)
# S4 method for hydroMet_CR2
set_hydroMet(
obj = NULL,
id = NULL,
agency = NULL,
station = NULL,
lat = NULL,
long = NULL,
alt = NULL,
country = NULL,
province = NULL,
river = NULL,
active = NULL,
precip = NULL,
tmean = NULL,
tmax = NULL,
tmin = NULL
)
# S4 method for hydroMet_compact
set_hydroMet(
obj = NULL,
id = NULL,
agency = NULL,
station = NULL,
lat = NULL,
long = NULL,
alt = NULL,
country = NULL,
province = NULL,
river = NULL,
active = NULL,
compact = NULL
)
an hydroMet or hydroMet_XXX class object.
numeric. This is the ID assigned by the agency.
character. The name of the agency (or institution) that provides the data of the station.
character. The name of the (hydro)-meteorological station.
numeric. Latitude of the station.
numeric. Longitude of the station
numeric. Altitute of the station.
character. Country where the station is located. Argentina is set as default value.
character. Name of the province where the station is located. Mendoza is set as default value.
character. Basin river's name.
logical. It indicates whether or not the station is currently operated. Default value is TRUE.
arguments to be passed to methods. They rely on the slots of the obj subclass.
daily mean river discharge.
monthly mean river discharge.
precipitation.
dry bulb temperature.
daily maximum air temperature.
daily minimum air temperature.
snow water equivalent.
relative humidity.
wind speed.
wind direction.
evaporation.
wind speed above the pan-evaporation.
atmospheric pressure.
daily mean air temperature.
snow height.
time serie with dates.
air temperature.
incoming shortwave radiation.
soil temperature.
stream water level.
data frame with Date as first column. All other columns are hydro-meteorological variables.
The hydroMet object with the slots setted.
set_hydroMet,hydroMet-method: set method for generic object
set_hydroMet,hydroMet_BDHI-method: set method for BDHI object
set_hydroMet,hydroMet_DGI-method: set method for DGI object
set_hydroMet,hydroMet_IANIGLA-method: set method for IANIGLA object
set_hydroMet,hydroMet_CR2-method: set method for CR2 object
set_hydroMet,hydroMet_compact-method: set method for compact object
# NOT RUN {
# Create BDHI hydro-met station
guido <- create_hydroMet(class_name = 'BDHI')
# Assign altitude
guido <- set_hydroMet(obj = guido, alt = 2480)
# }
Run the code above in your browser using DataLab