View source: R/satfile_funcs.R
nc_image_stats | R Documentation |
Given a filename, W/E/S/N boundaries, and a variable name, check the percent coverage for that variable within the boundaries.
nc_image_stats(
file,
w,
e,
s,
n,
var = "geophysical_data/Rrs_555",
latvar = "navigation_data/latitude",
lonvar = "navigation_data/longitude"
)
file |
String, netCDF filename |
w , e , s , n |
Numeric values, west/east/south/north in decimal degrees |
var |
String, name of variable to check for percent coverage (full path to the variable within the netCDF, e.g. geophysical_data/Rrs_555) |
latvar |
String, full path and name of the latitude variable |
lonvar |
String, full path and name of the longitude variable |
Dataframe containing filename, number of valid pixels, total number of pixels, and percent coverage. If file can't be read, "try-error" is returned instead.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.