goesaodc_scaleAOD: Converts raw, signed short AOD values from GOES 16 & 17...

Description Usage Arguments Value Note

View source: R/utils-goesaodc.R

Description

Performs a series of conversions to raw AOD values from .nc file #'

Usage

1
goesaodc_scaleAOD(aod_data, aod_attributes)

Arguments

aod_data

raw, signed short AOD data read in from GOES .nc file

aod_attributes

AOD metadata read in from GOES .nc file

Value

Matrix of properly scaled AOD values.

Note

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.


MazamaScience/MazamaSatelliteUtils documentation built on Dec. 17, 2021, 3:20 a.m.