Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
- From: Moein Izadi <>
- To: "" <>
- Cc: Mustafa Kemal Emil <>
- Subject: [mget-help] I cannot convert *.he5 to geotiff format using MGET
- Date: Thu, 16 May 2019 23:13:47 +0000
- Accept-language: en-US
- Authentication-results: mail-gw.oit.duke.edu; spf=neutral ; dmarc=none
I hope you are doing well. We have "OMI/Aura Multi-wavelength Aerosol Optical Depth and Single Scattering Albedo Daily L2 Global Gridded 0.25 degree x 0.25 degree V3" data from NASA website and these data come in *.he5 format:
https://disc.gsfc.nasa.gov/datasets/OMAEROG_V003/summary?keywords=AOD
MGET seems not to be compatible with this new format because we cannot get *.he5 converted to .tiff. Actually we tried to rename the extension to *.hdf and *.h5 but it didn't work out. Please let us know what would be the solution.
MGET seems not to be compatible with this new format because we cannot get *.he5 converted to .tiff. Actually we tried to rename the extension to *.hdf and *.h5 but it didn't work out. Please let us know what would be the solution.
Attached please find a data sample and the error report from ArcGIS
I am looking forward to hearing back from you,
Thank you,
Moein.
Attachment:
OMI-Aura_L2G-OMAEROG_2004m1010_v003-2011m1006t204125.SUB.he5
Description: OMI-Aura_L2G-OMAEROG_2004m1010_v003-2011m1006t204125.SUB.he5
C:\wget\wgetTEST\test\aod\out AerosolModelMW 38.1666666667 31.1666666667 0.25
65535 *.h5 false # # # # # # false false true false
GEOGCS['GCS_Unknown_datum_based_upon_the_Clarke_1866_ellipsoid',DATUM['<custom>',SPHEROID['Clarke_1866',6378206.4,294.9786982]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]]
GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]]
# NEAREST # # # # true os.path.join(outputWorkspace,
os.path.dirname(inputFile[len(directoryToSearch)+1:]),
os.path.splitext(os.path.basename(inputFile))[0] + '.tif') os.path false
Start Time: Thu May 16 18:11:08 2019
Running script HDFFindAndConvertToArcGISRasters...
Finding files and inserting rows into table "work":
directory="C:\wget\wgetTEST\test\aod", wildcard="*.h5", searchTree=False,
minSize=None, maxSize=None, minDateCreated=None, maxDateCreated=None,
minDateModified=None, maxDateModified=None
Finished inserting rows: 0:00:00 elapsed, 1 rows inserted, 0:00:00.002000 per
row.
Updating field "outputRaster" in table "work"...
Update complete: 0:00:00 elapsed, 1 rows updated, 0 deleted, 0 unchanged,
0:00:00 per row.
Querying the table "work" to build lists of inputs and outputs...
Query complete: 0:00:00 elapsed, 1 rows retrieved, 0:00:00 per row.
Processing 1 inputs...
Converting SDS "AerosolModelMW" in HDF file
C:\wget\wgetTEST\test\aod\OMI-Aura_L2G-OMAEROG_2004m1001_v003-2011m1006t204118.SUB.h5
to ArcGIS raster
C:\wget\wgetTEST\test\aod\out\OMI-Aura_L2G-OMAEROG_2004m1001_v003-2011m1006t204118.SUB.tif...
hdp.exe:
hdp.exe: HDP ERROR>>> in dsd:
C:\wget\wgetTEST\test\aod\OMI-Aura_L2G-OMAEROG_2004m1001_v003-2011m1006t204118.SUB.h5
is not an HDF file.
hdp.exe:
hdp.exe: HDP ERROR>>> in do_dumpsds: dsd failed.
RuntimeError: hdp.exe returned exit code 1, indicating failure.
The following consequences resulted from the original error:
Execution of
C:\Python27\ArcGIS10.6\lib\site-packages\GeoEco\Bin\win32\hdp.exe failed.
Could not look up the data type of SDS "AerosolModelMW" in HDF file
C:\wget\wgetTEST\test\aod\OMI-Aura_L2G-OMAEROG_2004m1001_v003-2011m1006t204118.SUB.h5
Could not convert SDS "AerosolModelMW" in HDF file
C:\wget\wgetTEST\test\aod\OMI-Aura_L2G-OMAEROG_2004m1001_v003-2011m1006t204118.SUB.h5
to ArcGIS raster
C:\wget\wgetTEST\test\aod\out\OMI-Aura_L2G-OMAEROG_2004m1001_v003-2011m1006t204118.SUB.tif
Failed script HDFFindAndConvertToArcGISRasters...
Traceback (most recent call last):
File "C:\Program
Files\GeoEco\ArcGISToolbox\Scripts\HDFFindAndConvertToArcGISRasters.py", line
5, in <module>
ExecuteMethodFromCommandLineAsArcGISTool('GeoEco.DataManagement.HDFs',
'HDF', 'FindAndConvertToArcGISRasters')
File "C:\Python27\ArcGIS10.6\lib\site-packages\GeoEco\ArcGISScripts.py",
line 210, in ExecuteMethodFromCommandLineAsArcGISTool
exec sourceCode in globals(), locals()
File "<string>", line 1, in <module>
File "<string>", line 7, in FindAndConvertToArcGISRasters
File "C:\Python27\ArcGIS10.6\lib\site-packages\GeoEco\BatchProcessing.py",
line 2137, in ExecuteFindAndProcessMethod
boundProcessTableMethod(*tuple(argList))
File "<string>", line 5, in ToArcGISRasterTable
File "C:\Python27\ArcGIS10.6\lib\site-packages\GeoEco\BatchProcessing.py",
line 1271, in ExecuteProcessTableMethod
results = boundProcessListMethod(*tuple(argList))
File "<string>", line 5, in ToArcGISRasterList
File "C:\Python27\ArcGIS10.6\lib\site-packages\GeoEco\BatchProcessing.py",
line 888, in ExecuteProcessListMethod
result = boundMethod(*tuple(argList))
File
"C:\Python27\ArcGIS10.6\lib\site-packages\GeoEco\DataManagement\HDFs.py",
line 228, in SDSToArcGISRaster
dataType = cls.GetSDSDataType(inputFileTemp, sdsName)
File
"C:\Python27\ArcGIS10.6\lib\site-packages\GeoEco\DataManagement\HDFs.py",
line 84, in GetSDSDataType
(exitCode, stdoutTranscript, stderrTranscript) =
ChildProcess.ExecuteProgramInBinDirectory(u'hdp', [u'dumpsds', u'-h',
inputFileTemp], stdoutLogLevel=None, windowState=u'invisible')
File
"C:\Python27\ArcGIS10.6\lib\site-packages\GeoEco\DataManagement\Processes.py",
line 593, in ExecuteProgramInBinDirectory
process.Execute()
File
"C:\Python27\ArcGIS10.6\lib\site-packages\GeoEco\DataManagement\Processes.py",
line 498, in Execute
Logger.RaiseException(RuntimeError(_(u'%(name)s returned exit code
%(code)i, indicating failure.') % {u'name' : programName, u'code' :
self.ExitCode}))
File "C:\Python27\ArcGIS10.6\lib\site-packages\GeoEco\Logging.py", line
104, in RaiseException
raise exception
RuntimeError: hdp.exe returned exit code 1, indicating failure.
Failed to execute (HDFFindAndConvertToArcGISRasters).
Failed at Thu May 16 18:11:08 2019 (Elapsed Time: 0.17 seconds)
- [mget-help] I cannot convert *.he5 to geotiff format using MGET, Moein Izadi, 05/16/2019
- RE: [mget-help] I cannot convert *.he5 to geotiff format using MGET, Jason Roberts, 05/17/2019
Archive powered by MHonArc 2.6.19.