Saturday 21 November 2015

gdal - hdf-eos5 file format import in grass


I want to import AURA-OMI ozone level3 data which is available from http://giovanni.gsfc.nasa.gov/giovanni/ .The data is in hdf5 format. The extension is .he5. Do anyone know how to import in grass. Is there any tool in gdal for importing to geo-tiff or bil.



Answer



QGIS has GDAL support to open this kind of images. I downloaded this one, OMI-Aura_L3-OMTO3e_2015m0413_v003-2015m0415t025309.he5, and its last subset was opened with QGIS. It looks like:


enter image description here


but CRS was undefined. At the metadata of the image you can observe the spatial attributes of the bounding rectangle. To assing it one projection and a new format: Raster -> Conversion -> Translate. Then, at the next image:


1) Name and GTiff format of output image.


2) Click in pencil icon.


3) Modify gdal_translate command adding: "-a_srs WGS84 -a_ullr -180 90 180 -90 ".



4) Click Ok.


enter image description here


When you load again the image in QGIS it will be georreferenced with the metadata parameters (bounding rectangle: W = -180, N = 90, E =180, S = -90). I checked out the pixels values and them look reasonable. At this point it is already possible GRASS import.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...