npn_get_agdd_point_data {rnpn} | R Documentation |
Get AGDD Point Value
Description
This function is for requesting AGDD point values. Because the NPN has a separate data service that can provide AGDD values which is more accurate than Geoserver this function is ideal when requested AGDD point values.
Usage
npn_get_agdd_point_data(layer, lat, long, date, store_data = TRUE)
Arguments
layer |
The name of the queried layer. |
lat |
The latitude of the queried point. |
long |
The longitude of the queried point. |
date |
The queried date. |
store_data |
Boolean value. If set TRUE then the value retrieved will be stored in a global variable named point_values for later use |
Details
As this function only works for AGDD point values, if it's necessary to retrieve point values for other layers please try the npn_get_point_data function.
Value
Returns a numeric value of the AGDD value at the specified lat/long/date. If no value can be retrieved, then -9999 is returned.
[Package rnpn version 1.2.8.0 Index]