Yes: IP day/night flag is set to Day/Night flag is 1 = Yes 1 'Low sun, degraded' (65º < from Aerosol IP 0 = No Solar zenith angle ≤ 80º) Low Sun Product Bright Surface and 1 = Yes Yes: IP bright pixel or Bright Surface/ Turbid/Shallow 1 0 = No turbid/shallow water flag is set Shallow or Water flag is from Turbid Water Aerosol IP Product Appendix B: Helpful Tools for Working with VIIRS Files B.1 HDF5 Tools For users unaccustomed to working with HDF5 formatted files, the HDF Group has a tutorial with example programs and available tools (including HDFView) on their website at . B.2 IDL Tools IDL has a built-in library of commands for HDF5 files. Documentation can be found online at or using IDL Help. Also, Michael Galloy has written a particularly helpful IDL program to read HDF5 arrays into IDL. It is available at . Example usages for reading in fields from the VIIRS Aerosol EDR and Aerosol Geolocation is below. Extracts Latitude and Longitude from Aerosol Geolocation: Latitude = mg_h5_getdata(GAERO_File, ‘/All_Data/VIIRS-Aeros-EDR-GEO_All/Latitude’) Longitude = mg_h5_getdata(GAERO_File, Extracts Day/Night Metadata from Aerosol Geolocation: DayNight = mg_h5_getdata(GAERO_File, Extracts AOT and AOT Scale and Offset from Aerosol EDR and converts to floating point numbers: AOT = mg_h5_getdata(VAOOO_File, AOT_Factors = mg_h5_getdata(VAOOO_File, AOT_float = (AOT * AOT_Factors[0]) + AOT_Factors[1]
Low Sun 1 = Yes 0 = No 1 Yes: IP day/night flag is set to 'Low sun, degraded' (65º < Solar zenith angle ≤ 80º) Day/Night flag is from Aerosol IP Product Bright Surface/ Shallow or Turbid Water 1 = Yes 0 = No 1 Yes: IP bright pixel or turbid/shallow water flag is set Bright Surface and Turbid/Shallow Water flag is from Aerosol IP Product Appendix B: Helpful Tools for Working with VIIRS Files B.1 HDF5 Tools For users unaccustomed to working with HDF5 formatted files, the HDF Group has a tutorial with example programs and available tools (including HDFView) on their website at . B.2 IDL Tools IDL has a built-in library of commands for HDF5 files. Documentation can be found online at or using IDL Help. Also, Michael Galloy has written a particularly helpful IDL program to read HDF5 arrays into IDL. It is available at . Example usages for reading in fields from the VIIRS Aerosol EDR and Aerosol Geolocation is below. Extracts Latitude and Longitude from Aerosol Geolocation: Latitude = mg_h5_getdata(GAERO_File, ‘/All_Data/VIIRS-Aeros-EDR-GEO_All/Latitude’) Longitude = mg_h5_getdata(GAERO_File, Extracts Day/Night Metadata from Aerosol Geolocation: DayNight = mg_h5_getdata(GAERO_File, Extracts AOT and AOT Scale and Offset from Aerosol EDR and converts to floating point numbers: AOT = mg_h5_getdata(VAOOO_File, AOT_Factors = mg_h5_getdata(VAOOO_File, AOT_float = (AOT * AOT_Factors[0]) + AOT_Factors[1]
Aerosol_Product_Users_Guide_V2.0.docx