Description Usage Arguments Value Examples
Creates data files with geolocation information for GOES-16
(East) or GOES-17 (West) satellite products. Takes an open .nc filehandle
and reads projection and coordinate grid information from it to create
a GOES East or West grid in the directory previously set with
setSatelliteDataDir()
.
1 | goesaodc_createGoesGrid(nc = NULL, gridFilepath = NULL)
|
nc |
ncdf4 handle. |
gridFilepath |
filepath for either goesEastGrid.rda or goesWestGrid.rda. |
Invisibly returns the file path of the created GOES grid file.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | library(MazamaSatelliteUtils)
setSatelliteDataDir("~/Data/Satellite")
scanFilename <- goesaodc_listScanFiles(
satID = "G16",
datetime = "2019-09-06 18:00",
timezone = "UTC",
)
nc <- goesaodc_openScanFile(scanFilename)
G16_filepath <- file.path(getSatelliteDataDir(), "goesEastGrid.rda")
MazamaSatelliteUtils:::goesaodc_createGoesGrid(nc, G16_filepath)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.