- smap_l2.JPG (60.43 KiB) Not viewed yet
What method did you use for importing the data into QGIS? Also, could you include a screenshot to demonstrate the location issue?
I suspect that the reason for this issue is because the data are in a 1D array and not a 2D array. It might be worth re-downloading the data reformatted as GeoTIFF.
I will also mention that version 8 of the SPL2SMP is now available if you are interested: https://nsidc.org/data/spl2smp/versions/8
I have downloaded also from your link and this looks like a 1D array and has only landcover_class_fraction, not the soil moisture I am looking for.
- map_l2.JPG (142.22 KiB) Not viewed yet
It looks like the reason that the .h5 is failing to read in the correct location is that the CRS information is not included in the metadata in a way that QGIS can read it/interpret it. From what I have read, reprojecting an .h5 file in QGIS is tricky. I would recommend using Earthdata search to reformat the data as a GeoTIFF instead.
I believe I misread the data set name originally, it looks like you are using SPL2SMAP_S not SPL2SMP. Here is the link to the NSIDC data set page: https://nsidc.org/data/SPL2SMAP_S and the Earthdata page: https://search.earthdata.nasa.gov/search/granules?p=C1931663473-NSIDC_ECS&pg[v]=f&pg[gsk]=-start_date&tl=1583080558!4!!. For more information on using Earthdata search, I would recommend this page: https://nsidc.org/support/how/search-order-and-customize-nsidc-daac-data-nasa-earthdata-search
I hope this helps, but please let me know if you have any additional questions.
Thankyou for your help, now I understand why it didn't worked before, I didn't knew how to convert it to GeoTIFF. With your help I managed to get the right data and now it's placing in the correct location. Thankyou very much !