ET0_Penman_Monteith_FAO_station: Compute daily reference evapotranspiration for CDT station...

View source: R/cdtClimate_ET0_FAO_functions.R

ET0_Penman_Monteith_FAO_stationR Documentation

Compute daily reference evapotranspiration for CDT station data format.

Description

Function to compute daily reference evapotranspiration using the FAO Penman-Monteith equation.

Usage

ET0_Penman_Monteith_FAO_station(
  tmax.data = list(file = "", sep = ",", na.strings = "-99"),
  tmin.data = list(file = "", sep = ",", na.strings = "-99"),
  rh.from = "minmax",
  rhmax.data = list(file = "", sep = ",", na.strings = "-99"),
  rhmin.data = list(file = "", sep = ",", na.strings = "-99"),
  rhmean.data = list(file = "", sep = ",", na.strings = "-99"),
  wff10.data = list(file = "", sep = ",", na.strings = "-99"),
  pres.data = list(file = "", sep = ",", na.strings = "-99"),
  rad.data = list(file = "", sep = ",", na.strings = "-99"),
  elev.from = "netcdfDEM",
  elev.data = list(file = "", varid = "z", ilon = 1, ilat = 2),
  output = list(file = "", sep = ",", na.strings = "-99")
)

Arguments

tmax.data

named list, providing the maximum temperature data in CDT station data format. Units: degree Celsius.

  • file: character, full path to the file containing the stations data

  • sep: character, column separator of the data

  • na.strings: character, missing values flag

tmin.data

named list, providing the minimum temperature data in CDT station data format. Units: degree Celsius. See tmax.data for the elements of the list.

rh.from

character, source of relative humidity data. Valid options: "minmax" and "mean".

  • "minmax": the humidity data are from the minimum and maximum relative humidity.

  • "mean": the humidity data is from a mean relative humidity data.

rhmax.data

named list, if rh.from is equal to "minmax", providing the maximum relative humidity data in CDT station data format. Units: percentage. See tmax.data for the elements of the list.

rhmin.data

named list, if rh.from is equal to "minmax", providing the minimum relative humidity data in CDT station data format. Units: percentage. See tmax.data for the elements of the list.

rhmean.data

named list, if rh.from is equal to "mean", providing the mean relative humidity data in CDT station data format. Units: percentage. See tmax.data for the elements of the list.

wff10.data

named list, providing the wind speed at 10 meters data in CDT station data format. Units: m/s. See tmax.data for the elements of the list.

pres.data

named list, providing the surface pressure data in CDT station data format. Units: hPa. See tmax.data for the elements of the list.

rad.data

named list, providing the solar radiation flux data in CDT station data format. Units: W/m^2. See tmax.data for the elements of the list.

elev.from

character, source of the elevation data. Valid options: "inputPresData", "cdtCrdFile" and "netcdfDEM".

  • "inputTmaxData": the elevation data is from the maximum temperature data.

  • "cdtCrdFile": the elevation data is from a CDT coordinates file. The ID must be the same as the maximum temperature data.

  • "netcdfDEM": the elevation data is from the pressure data.

Default is "netcdfDEM".

elev.data

named list, if elev.from is equal to "cdtCrdFile", set the elements of the list providing the CDT coordinate file containing the elevation data. Units: meters.

  • file: character, full path to the CDT coordinate file

  • sep: character, column separator of the data

  • na.strings: character, missing values flag

If elev.from is equal to "netcdfDEM" set the elements of the list providing the Digital Elevation Model in netCDF format. Units: meters.

  • file: character, full path to the netCDF file containing the elevation data.

  • varid: character, name of the variable to read from the netCDF data.

  • ilon: integer, order for the longitude dimension of the variable.

  • ilat: integer, order for the latitude dimension of the variable.

output

named list, the elements of the list are

  • file: character, full path to the file to save the calculated reference evapotranspiration

  • sep: character, column separator of the data

  • na.strings: character, missing values flag

References

Allen, R.G., Pereira, L.S., Raes, D., and Smith, M. 1998. Crop evapotranspiration: Guidelines for computing crop requirements. Irrigation and Drainage PaperNo. 56, FAO, Rome, Italy 300 p. https://www.fao.org/3/X0490E/x0490e00.htm


rijaf-iri/CDT documentation built on July 3, 2024, 2:54 a.m.