Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
- From: Alba Solsona Berga <>
- To:
- Subject: [mget-help] problems using MGET
- Date: Wed, 29 Mar 2017 13:13:05 -0700
- Authentication-results: oit.duke.edu; spf=pass
Dear,
I have installed arcGIS and tried to run the Canny front detection with MGET, but I got an error regarding Matlab. See error below.
However, I have Matlab 20013b installed in my computer but it seems that it does not detect it.
Do you have any idea of what could be going wrong?
Thank you so much for your help.
Best,
Alba
Executing (Find Canny Fronts in GHRSST L4 SST (2)): GHRSSTLevel4CannyEdgesAsArcGISRasters JPL-L4UHfnd-GLOB-MUR C:\Users\Alba\Documents\ArcGIS\Projects\Fronts\Canny Add %(AreaCode)s;%(RDACCode)s;%(ProductCode)s;%(VariableName)s;%%Y;%%Y%%m%%d-%(RDACCode)s-L4%(ProductType)s-%(AreaCode)s-v%(GDSVersion)02i-fv%(FileVersion)s-%(ProductCode)s-Canny_fronts.img # # 1.4 4 # "5.1 43.5 7.1 50" 1/1/2012 3/31/2012 600 # C:\Users\Alba\Documents\ArcGIS\Projects\Fronts\Canny_catche true false false
Start Time: Wed Mar 29 12:52:19 2017
Running script GHRSSTLevel4CannyEdgesAsArcGISRasters...
Querying time slices of Canny edges (high threshold=None, low threshold=None, sigma=1.4, min size=4) in GHRSST L4 product JPL-L4UHfnd-GLOB-MUR hosted by NASA PO.DAAC, clipped to indices tMin = 3501, tMax = 3591, yMin = 12151, yMax = 12742, xMin = 16848, xMax = 17029.
Query complete: 0:00:00 elapsed, 91 datasets found, 0:00:00.002571 per dataset.
Importing 91 datasets into ArcGIS Folder C:\Users\Alba\Documents\ArcGIS\Projects\Fronts\Canny with mode "add".
Checking for existing destination datasets.
Finished checking: 0:00:00 elapsed, 91 datasets checked, 0:00:00.000340 per dataset.
0 destination datasets already exist. Importing 91 datasets.
SoftwareNotInstalledError: This tool requires either MATLAB 2007b or the MATLAB Component Runtime (MCR) 7.7, but neither appear to be installed. You can download a free copy of the MCR 7.7 from http://code.nicholas.duke.edu/projects/mget/wiki/MCR. Please install it and try again. If you believe you already have one of these programs installed, and it is the proper version, verify that the program's binary directory is in the system PATH variable. Please see the MATLAB documentation for more information.
python.exe: This tool requires either MATLAB 2007b or the MATLAB Component Runtime (MCR) 7.7, but neither appear to be installed. You can download a free copy of the MCR 7.7 from http://code.nicholas.duke.edu/projects/mget/wiki/MCR. Please install it and try again. If you believe you already have one of these programs installed, and it is the proper version, verify that the program's binary directory is in the system PATH variable. Please see the MATLAB documentation for more information.
RuntimeError: python.exe returned exit code 1, indicating failure.
The following consequences resulted from the original error:
Execution of C:\Python27\ArcGIS10.5\python.exe failed.
Import stopped before all datasets were imported: 0:00:01 elapsed, 0 datasets imported, 0:00:00 per dataset, 91 datasets not imported.
Failed script GHRSSTLevel4CannyEdgesAsArcGISRasters...
Traceback (most recent call last):
File "C:\Program Files\GeoEco\ArcGISToolbox\Scripts\GHRSSTLevel4CannyEdgesAsArcGISRasters.py", line 5, in <module>
ExecuteMethodFromCommandLineAsArcGISTool('GeoEco.DataProducts.NASA.PODAAC', 'GHRSSTLevel4', 'CannyEdgesAsArcGISRasters')
File "C:\Python27\ArcGIS10.5\lib\site-packages\GeoEco\ArcGISScripts.py", line 210, in ExecuteMethodFromCommandLineAsArcGISTool
exec sourceCode in globals(), locals()
File "<string>", line 1, in <module>
File "C:\Python27\ArcGIS10.5\lib\site-packages\GeoEco\DataProducts\NASA\PODAAC.py", line 994, in CannyEdgesAsArcGISRasters
workspace.ImportDatasets(GridSliceCollection(grid, tQACoordType=grid.GetLazyPropertyValue('TCornerCoordType')).QueryDatasets(), mode, calculateStatistics=calculateStatistics, buildRAT=buildRAT, buildPyramids=buildPyramids)
File "C:\Python27\ArcGIS10.5\lib\site-packages\GeoEco\Datasets\__init__.py", line 820, in ImportDatasets
self._ImportDatasets(datasets, mode.lower(), reportProgress, options)
File "C:\Python27\ArcGIS10.5\lib\site-packages\GeoEco\Datasets\Collections.py", line 695, in _ImportDatasets
self._ImportDatasetsToPath(pathComponentsForPath[path], datasetsForPath[path], mode, progressReporter, options)
File "C:\Python27\ArcGIS10.5\lib\site-packages\GeoEco\Datasets\ArcGIS.py", line 609, in _ImportDatasetsToPath
self.DatasetType._ImportDatasetsToPath(os.path.join(self.Path, *pathComponents), sourceDatasets, mode, progressReporter, options)
File "C:\Python27\ArcGIS10.5\lib\site-packages\GeoEco\Datasets\ArcGIS.py", line 1121, in _ImportDatasetsToPath
GDALDataset._ImportDatasetsToPath(path, sourceDatasets, mode, None, {'useArcGISSpatialReference': True, 'useUnscaledData': useUnscaledData, 'calculateStatistics': False, 'blockSize': blockSize})
File "C:\Python27\ArcGIS10.5\lib\site-packages\GeoEco\Datasets\GDAL.py", line 1073, in _ImportDatasetsToPath
data = "sourceDatasets[i].Data[rowsCopied:rowsCopied+rowsToCopy," :]
File "C:\Python27\ArcGIS10.5\lib\site-packages\GeoEco\Datasets\__init__.py", line 3671, in __getitem__
return getattr(self._Grid(), self._GetMethod)(key)
File "C:\Python27\ArcGIS10.5\lib\site-packages\GeoEco\Datasets\Virtual.py", line 562, in _GetUnscaledDataAsArray
return self._Grid._GetUnscaledDataAsArray(self._AddSlicedDimsToKey(key))
File "C:\Python27\ArcGIS10.5\lib\site-packages\GeoEco\Datasets\__init__.py", line 3311, in _GetUnscaledDataAsArray
data, actualNoDataValue = self._ReadNumpyArray(reorderedSliceList)
File "C:\Python27\ArcGIS10.5\lib\site-packages\GeoEco\Datasets\Virtual.py", line 3598, in _ReadNumpyArray
maxRunTime=None)
File "C:\Python27\ArcGIS10.5\lib\site-packages\GeoEco\DataManagement\Processes.py", line 575, in ExecuteProgram
process.Execute()
File "C:\Python27\ArcGIS10.5\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.5\lib\site-packages\GeoEco\Logging.py", line 104, in RaiseException
raise exception
RuntimeError: python.exe returned exit code 1, indicating failure.
Failed to execute (Find Canny Fronts in GHRSST L4 SST (2)).
Failed at Wed Mar 29 12:52:31 2017 (Elapsed Time: 11.65 seconds)
- [mget-help] problems using MGET, Alba Solsona Berga, 03/29/2017
- RE: [mget-help] problems using MGET, Jason Roberts, 03/29/2017
Archive powered by MHonArc 2.6.19.