VIIRS LP Products in QGIS

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
lschwize
Posts: 5
Joined: Thu May 27, 2021 2:52 pm America/New_York

VIIRS LP Products in QGIS

by lschwize » Mon Nov 15, 2021 12:39 pm America/New_York

VIIRS Testing in QGIS (version 3.20.3)
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?
Attachments
VIIRS in QGIS.pdf
(356.63 KiB) Downloaded 151 times

Tags:

LP DAAC - jwilson
User Services
User Services
Posts: 141
Joined: Mon Sep 30, 2019 12:39 pm America/New_York
Answers: 1
Has thanked: 2 times

Re: VIIRS LP Products in QGIS

by LP DAAC - jwilson » Mon Nov 15, 2021 2:32 pm America/New_York

We will forward your inquiry to our Subject Matter Expert for assistance.
Thank you,
Janice

g.studer.ellis
Posts: 4
Joined: Thu Nov 18, 2021 1:30 pm America/New_York

Re: VIIRS LP Products in QGIS

by g.studer.ellis » Fri Nov 19, 2021 2:34 pm America/New_York

I too am having an issue with VIIRS data is QGIS.

Problem:
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.

Data:
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

Computer/Hardware:
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

Requested Solution:
Functionality in QGIS

LP DAAC - lien
User Services
User Services
Posts: 46
Joined: Thu Jun 25, 2020 9:51 am America/New_York

Re: VIIRS LP Products in QGIS

by LP DAAC - lien » Fri Dec 03, 2021 7:05 am America/New_York

Hello,
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
Thanks,
Brett

lschwize
Posts: 5
Joined: Thu May 27, 2021 2:52 pm America/New_York

Re: VIIRS LP Products in QGIS

by lschwize » Fri Dec 03, 2021 9:06 am America/New_York

Thanks Brett. I looked into that option as well but noted on the site: "It does not support HDF-EOS5 file." so I didn't think it would work with some of the new products available. I can give it a shot though!

LP DAAC - lien
User Services
User Services
Posts: 46
Joined: Thu Jun 25, 2020 9:51 am America/New_York

Re: VIIRS LP Products in QGIS

by LP DAAC - lien » Fri Dec 03, 2021 3:22 pm America/New_York

Also, please check out our AppEEARS tool if you get a chance: https://lpdaac.usgs.gov/tools/appeears/
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.
Thanks, Brett

Post Reply