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 grids in the directory previously set with setSatelliteDataDir().

createGoesGrid(nc = NULL, grid_filepath = NULL)

Arguments

nc

open .nc filehandle created with goesaodc_openFile()

grid_filepath

filepath location for either goesEastGrid.rda or goesWestGrid.rda

Examples

# \donttest{ library(MazamaSatelliteUtils) setSatelliteDataDir("~/Data/Satellite") outputDir <- getSatelliteDataDir() nc_file <- goesaodc_listFiles(satID = "G16", datetime = "201924918", timezone = "UTC", isJulian = TRUE)[1] nc <- goesaodc_openFile(nc_file) G16_filepath <- file.path(outputDir, "goesEastGrid.rda") createGoesGrid(nc, G16_filepath) # }