IDL: Extracting Bit values in VIIRS Aerosol product [message #92133] |
Fri, 16 October 2015 14:37  |
Ian C.
Messages: 1 Registered: October 2015
|
Junior Member |
|
|
I want to extract the fire QC value for this VIIRS file in IDL:
GAERO-VAOOO_npp_d20120803_t1243401_e1249205_b03974_c20140312 203414016823_noaa_ops.h5
I can access the raw value using the path:
/All_Data/VIIRS-Aeros-EDR-GEO_All/'GAERO-VAOOO_npp_d20120803 _t1243401_e1249205_b03974_c20140312203414016823_noaa_ops.h5/ QF2_VIIRSAEROEDR'
Now, I would like to extract the 8th element of this dataset (Fire detected in cell-valid over land and ocean). According to the pg 151 of the documentation (Joint Polar Satellite System (JPSS)
Common Data Format Control Book - External (CDFCB-X)
Volume IV- Part II - Imagery, Atmospheric, and Cloud EDRs)
Is there a code to decipher each element in QF2_VIIRSAEROEDR ?
Thanks,
-Ian
|
|
|
Re: IDL: Extracting Bit values in VIIRS Aerosol product [message #93389 is a reply to message #92133] |
Wed, 29 June 2016 11:53  |
Steve Super
Messages: 13 Registered: August 2014
|
Junior Member |
|
|
Ian,
Not sure if you have found the solution to your problem yet or not, but I would refer you to the VIIRS Aerosol Products User's Guide at the following link:
http://www.star.nesdis.noaa.gov/smcd/emb/viirs_aerosol/docum ents/Aerosol_Product_Users_Guide_V2.0.1.pdf
In the appendix it gives a summary of all the aerosol quality flags and some code examples for extracting the bit values.
Regards,
Steve
On Friday, October 16, 2015 at 5:37:36 PM UTC-4, Ian Chang wrote:
> I want to extract the fire QC value for this VIIRS file in IDL:
>
> GAERO-VAOOO_npp_d20120803_t1243401_e1249205_b03974_c20140312 203414016823_noaa_ops.h5
>
> I can access the raw value using the path:
>
> /All_Data/VIIRS-Aeros-EDR-GEO_All/'GAERO-VAOOO_npp_d20120803 _t1243401_e1249205_b03974_c20140312203414016823_noaa_ops.h5/ QF2_VIIRSAEROEDR'
>
> Now, I would like to extract the 8th element of this dataset (Fire detected in cell-valid over land and ocean). According to the pg 151 of the documentation (Joint Polar Satellite System (JPSS)
> Common Data Format Control Book - External (CDFCB-X)
> Volume IV- Part II - Imagery, Atmospheric, and Cloud EDRs)
>
> Is there a code to decipher each element in QF2_VIIRSAEROEDR ?
>
> Thanks,
> -Ian
|
|
|