L2 ocean colour geolocation arrays in different group
Feature request to auto-detect geolocation arrays from L2 NASA ocean colour.
This file SNPP_VIIRS.20230401T023601.L2.OC.NRT.nc contains data arrays in group "geophysical_data" and geolocation arrays in group "navigation_data", but not currently known to GDAL.
GDAL could recognize this product as having geolocation arrays for the data in group "geophysical_data", they have the same dimensions.
I had aspired to PR this myself but it's beyond me atm.
To illustrate that it would work through the warper, I created a stripped down VRT (I removed the original Metadata) that works with gdalwarp in the usual ways.
L2 ocean colour geolocation arrays in different group
Feature request to auto-detect geolocation arrays from L2 NASA ocean colour.
This file
SNPP_VIIRS.20230401T023601.L2.OC.NRT.nc
contains data arrays in group "geophysical_data" and geolocation arrays in group "navigation_data", but not currently known to GDAL.The file is obtainable via this getfile cgi mech, but requires earthdata credentials:
it's browsable at https://oceancolor.gsfc.nasa.gov/cgi/browse.pl?per=DAY&day=19448&sub=level3&prm=CHL&set=10&ndx=0&mon=19417&rad=0&frc=0&dnm=D@M (click on New Zealand, it's the 3rd column as shown in this screenshot).
Expected behavior and actual behavior.
GDAL could recognize this product as having geolocation arrays for the data in group "geophysical_data", they have the same dimensions.
I had aspired to PR this myself but it's beyond me atm.
To illustrate that it would work through the warper, I created a stripped down VRT (I removed the original Metadata) that works with gdalwarp in the usual ways.
e.g.