View source: R/calculate_data.R
ply2erddap | R Documentation |
Extract satellite data in an ERDDAP dataset from national marine sanctuary polygon for a given year and month.
ply2erddap(sanctuary_code, erddap_id, erddap_fld, year, month, stats)
sanctuary_code |
The sanctuary code based on prefix to Sanctuary GIS files, e.g. |
erddap_id |
The dataset ID of ERDDAP dataset (see coastwatch.pfeg.noaa.gov/erddap), e.g. |
erddap_fld |
The variable of ERDDAP dataset to extract, e.g. |
year |
4-digit year. |
month |
integer month (1-12). |
stats |
The statistics to be calculated. |
A list of values by statistic.
## Not run:
ply2erddap("cinms", "jplMURSST41mday", "sst", year = 2010, month = 6, c("mean", "sd"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.