I downloaded h5 VIIRS file by CLASS NOOA website.
In particular I am interested in Snow Cover Binary Maps EDR and I need to reproject them in lat/lon or UTM.
I tried to use gdal warp to this aim but, although I get correct latitude, I get completely wrong longitude (for example in my AOI I got 170 degrees instead of 10 degrees E), when I open tif file using qgis or envi
Using gdalinfo I get the names of the subdatasets. In particular one of them is the subdataset:
SUBDATASET_16_NAME=HDF5:"GITCO-VSCMO_npp_d20150102_t1051499_e1057303_b16487_c20160728125230331648_noaa_ops.h5"://All_Data/VIIRS-SCD-BINARY-SNOW-MAP-EDR_All/SnowCoverBinaryMap
SUBDATASET_16_DESC=[6144x6400]//All_Data/VIIRS-SCD-BINARY-SNOW-MAP-EDR_All/SnowCoverBinaryMap (8-bit unsigned character)
consequently the commmand line I tried is the following:
gdalwarp -t_srs 'epsg:4326' HDF5:"GITCO-VSCMO_npp_d20141212_t1043482_e1049286_b16189_c20160530182604182662_noaa_ops.h5"://All_Data/VIIRS-SCD-BINARY-SNOW-MAP-EDR_All/SnowCoverBinaryMap rip.tif
I also tried to insert -s_srs 'epsg:4326'
but the result is the same.
Do you have any suggestion, please?