Description Usage Arguments Value Note
View source: R/utils-goesaodc.R
Performs a series of conversions to raw AOD values from .nc file #'
0 – Converts _FillValue
entries to NA
1 – Converts signed short values into unsigned short values
2 – Applies scale_factor
and aod_offset
to create
correctly scaled AOD values
1 | goesaodc_scaleAOD(aod_data, aod_attributes)
|
aod_data |
raw, signed short AOD data read in from GOES .nc file |
aod_attributes |
AOD metadata read in from GOES .nc file |
Matrix of properly scaled AOD values.
As of ncdf4 version 1.16.1, the signedbyte flag is only used to
interpret singlye byte values. GOES AODC values are written as unsigned short
int but ncdf4::ncvar_get()
interprets these 16 bits as signed short
int. Hence the need for conversion.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.