PlotData {PowerSDI}R Documentation

Plot Rainfall and Potential Evapotranspiration Data

Description

Plots rainfall and potential evapotranspiration, both Penman-Monteith and Hargreaves and Samani, amounts using NASA POWER data.

Usage

PlotData(lon, lat, start.date, end.date)

Arguments

lon

longitude in decimal degrees: (+) Eastern Hemisphere (-) Western Hemisphere.

lat

latitude in decimal degrees: (+) Northern Hemisphere (-) Southern Hemisphere.

start.date

date at which the indices estimates should start ("YYYY-MM-DD").

end.date

date at which the indices estimates should end ("YYYY-MM-DD").

Value

No return value, called for side effects. Using this will display scatter plots of rainfall and potential evapotranspiration accumulated at the 1-quart.month time scale in the active R session.

Examples



# This example requires an Internet connection to fetch data and so is only
# run in interactive sessions

PlotData(
  lon = -47.3,
  lat = -22.87,
  start.date = "2021-12-28",
  end.date = "2022-12-31"
)


[Package PowerSDI version 1.0.0 Index]