Data Products: Surface Reflectance (VNP09A1, VNP09H1, VNP09CMG), Vegetation Indices (VNP13A1)
Issue: CRS (Unknown/Undefined) and overall Projection errors, unable to Assign or Warp (Reproject)
Background: Seems to be specific to HDF5 via QGIS (NetCDF seems to be ok, and both files ok in ArcGIS Pro). I'm using a windows machine but there are known HDF5 issues with Mac, confirmed by QGIS: https://github.com/qgis/QGIS/issues/45416
Workflow: Add Raster Layer (tested with Add Mesh Layer and receive error “Invalid Data Source / Unrecognized Data Source”). Assign Projection fails. Warp (Reproject) fails. Is there a preferred workaround?
- VIIRS in QGIS.pdf
- (356.63 KiB) Downloaded 127 times
Importing ANY VIIRS .h5 file causes QGIS to crash.
Importing SOME VIIRS .nc files fails. Specifically it will throw an import error.
Those VIIRS .nc files which do load do not contain a CRS and cannot be projected.
Instrument Satellite Product File Type QGIS Raster QGIS Mesh CRS Assigned Notes
VIIRS SNPP VIIRS/NPP Surface Reflectance Daily L2G .h5 CRASH CRASH
VIIRS JPSS Global Binned Chlorophyll (CHL) .nc ERROR ERROR N/A Invalid Layer, Invlaid Data Source
VIIRS JPSS Global Binned Chlorophyll (CHL) - NRT Data .nc ERROR ERROR N/A Invalid Layer, Invlaid Data Source
VIIRS JPSS Global Mapped Chlorophyll (CHL) .nc YES ERROR NO
VIIRS JPSS Global Mapped Chlorophyll (CHL) - NRT Data .nc YES ERROR NO
VIIRS SNPP Global Binned Chlorophyll (CHL) .nc ERROR ERROR N/A Invalid Layer, Invlaid Data Source
VIIRS SNPP Global Mapped Chlorophyll (CHL) .nc YES ERROR NO
MacBook Pro (16-inch, 2019)
Processor: 2.6 GHz 6-Core Intel Core i7
Memory: 16 GB 2667 MHz DDR4
Graphics (Integrated): Intel UHD Graphics 630 1536 MB
GPU: AMD Radeon Pro 5500M
Operating System: macOS Big Sur 11.6
QGIS Install: Official All-in-one signed installer: QGIS macOS Installer Version 3.16 Long Term Release
QGIS Version: QGIS-LTR V 3.16.13-Hannover
Functionality in QGIS
From what I have found out QGIS does not work well with the HDF format. That has been an issue since 2000 and MODIS with many software packages. They seemed to have issues recognizing the geolocation information with the HDF files. Most of the time I change the format from a HDF to A Geotiff. I haven't had a lot of experience with QGIS but with other pakages I use it works well. NASA Earthdata has the HEG tool that can do this: https://hdfeos.org/software/heg.php
It can do so much of the preprocessing, like reproject, reformat, spectral and aerial subsetting, it also outputs spreadsheets and charts and incorporates the QA information also. It definitely works with HDF 5. The one issue though it does not work with CMG data yet.