Questions about ArcGis Tools for MODIS AOD and processing in ArcGIS
Posted: Mon Apr 24, 2023 8:10 pm America/New_York
Background: I am attempting to look at several years worth of MODIS AOD, both MCD19A2 and MOD/MYD 04 products. I am trying to use ArcGIS Pro to do the analysis as I would like to average AOD data over specific areas using generated shape files and compare these with other ground based measurements.
Questions:
Are there tools/codes that are for AOD products that can be used in ArcGIS Pro? I have come across the MODIS/VIIRS Python toolbox but it doesn't include the MCD19A2 or MOD04 products. Specifically, the products don't show up as an option in the product box for the MODIS_Decode Quality tool and when I try to run the Apply Scale factor tool I get the attached error.
Additionally, I have come across several different suggestions for how to add hdf data into ArcGIS Pro, but I am confused as I have tried at least two ways with varying results.
- One method I found on the EarthData forum was to use "Make a multidimensional raster layer" > "Copy Raster" tool to export it as a GeoTIFF file.
- The other method used "add multidimensional raster layer", selecting the variables of interest, this will create several layers, due to looking at both the AOD and the AOD_QA layer. If I want to end up with an AOD layer with specific QA codes, do I need to export both layers as a GeoTIFF file and scale them? Or just the AOD_QA data layer (being scaled)?
When I import the file using the method on the GES Disc How to: https://disc.gsfc.nasa.gov/information/howto?title=How-To%20open%20a%20Gridded%20Multidimensional%20Raster%20Dataset%20(NetCDF,%20HDF,%20or%20GRIB)%20in%20ArcGIS%20Pro, I get an image that looks like (I think) it should it's the second attached image and when I try to export it as a TIFF it looks like the third attached image. Do I not need to scale or export as a TIFF?
Relatedly, I watched a video on one of the DAACs training pages that talked about the QA for the datasets being binary encoded and bit packed. So essentially I would take the number from GeoTIFF layer file (in this case 32767), scale it, convert it to binary, and then check the specific bits (from right to left) (indicated in the user manual for the data I'm looking at) to verify that they have the QA codes I am seeking?
I would appreciate any advice you might have.
Questions:
Are there tools/codes that are for AOD products that can be used in ArcGIS Pro? I have come across the MODIS/VIIRS Python toolbox but it doesn't include the MCD19A2 or MOD04 products. Specifically, the products don't show up as an option in the product box for the MODIS_Decode Quality tool and when I try to run the Apply Scale factor tool I get the attached error.
Additionally, I have come across several different suggestions for how to add hdf data into ArcGIS Pro, but I am confused as I have tried at least two ways with varying results.
- One method I found on the EarthData forum was to use "Make a multidimensional raster layer" > "Copy Raster" tool to export it as a GeoTIFF file.
- The other method used "add multidimensional raster layer", selecting the variables of interest, this will create several layers, due to looking at both the AOD and the AOD_QA layer. If I want to end up with an AOD layer with specific QA codes, do I need to export both layers as a GeoTIFF file and scale them? Or just the AOD_QA data layer (being scaled)?
When I import the file using the method on the GES Disc How to: https://disc.gsfc.nasa.gov/information/howto?title=How-To%20open%20a%20Gridded%20Multidimensional%20Raster%20Dataset%20(NetCDF,%20HDF,%20or%20GRIB)%20in%20ArcGIS%20Pro, I get an image that looks like (I think) it should it's the second attached image and when I try to export it as a TIFF it looks like the third attached image. Do I not need to scale or export as a TIFF?
Relatedly, I watched a video on one of the DAACs training pages that talked about the QA for the datasets being binary encoded and bit packed. So essentially I would take the number from GeoTIFF layer file (in this case 32767), scale it, convert it to binary, and then check the specific bits (from right to left) (indicated in the user manual for the data I'm looking at) to verify that they have the QA codes I am seeking?
I would appreciate any advice you might have.