computeET0: ET0

View source: R/indicesFAO.R

computeET0R Documentation

ET0

Description

computes ET0, accroding to Hargreaves equation

Usage

computeET0(lat, dates, tx, tn)

Arguments

lat

Latitude (Integer)

dates

Vector of dates

tx

Vector of maximum temperature data

tn

Vector of minimum temperature data

Details

#' @title Occurrence and length of binary spells #' @description Computes ccurrence and length of binary spells) #' @param v Vector #' @author R. Manzanas

binSpell <- function(v) ix <- c(which(v[-length(v)] != v[-1]), length(v)); out <- list() out$len <- diff(c(0, ix)) out$val <- v[ix] return(out)

Author(s)

R. Manzanas


SantanderMetGroup/climate4R.indices documentation built on July 3, 2023, 11:02 p.m.