View source: R/npn_geoserver.R
npn_get_agdd_point_data | R Documentation |
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.
npn_get_agdd_point_data(layer, lat, long, date, store_data = TRUE)
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 |
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.
Returns a numeric value of the AGDD value at the specified lat/long/date. If no value can be retrieved, then -9999 is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.