Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
Re: [mget-help] Find Cayula-Cornillon Fronts in GHRSST L4 SST appears to be broken in 10.4.1
Chronological Thread
- From: Andrew Gilbert <>
- To: Jason Roberts <>, "" <>, Jeffrey Tash <>
- Subject: Re: [mget-help] Find Cayula-Cornillon Fronts in GHRSST L4 SST appears to be broken in 10.4.1
- Date: Thu, 6 Oct 2016 12:04:13 -0400
Hi Jason,
Thanks for the quick response. Yes you are right 2.7.10. I re-ran to tool with verbose and got this output:
Executing: CayulaCornillonEdgeDetectionDetectEdgesInArcGISRaster "T:\BaseMapData\Biophysical Oceanographic Data\SSTFronts\SST_1C\GLOB\JPL_OUROCEAN\G1SST\analysed_sst\2015\20150101120000-JPL_OUROCEAN-L4UHfnd-GLOB-v01-fv01_0-G1SST-analysed_sst.img" 13.333333 "T:\BaseMapData\Biophysical Oceanographic Data\SSTFronts\SST_1C\GLOB\JPL_OUROCEAN\G1SST\analysed_sst\2015\20150101120000-JPL_OUROCEAN-L4UHfnd-GLOB-v01-fv01_0-G1SST-FLOC.img" false int(inputRaster ) 3 32 16 0.65 0.25 0.76 0.9 0.92 1 # true 10 # # # # #
Start Time: Thu Oct 06 11:54:34 2016
Running script CayulaCornillonEdgeDetectionDetectEdgesInArcGISRaster...
Logging system initialized from config file "C:\Users\andrew.gilbert.BRILOON\AppData\Roaming\GeoEco\Logging.ini".
Python script C:\Program Files\GeoEco\ArcGISToolbox\Scripts\CayulaCornillonEdgeDetectionDetectEdgesInArcGISRaster.py started.
Retrieving the ArcGIS version numbers from the Windows Registry.
Checking software dependency: Python module: win32api
Imported Python module win32api successfully.
Checking software dependency: Python module: win32con
Imported Python module win32con successfully.
Attempting to instantiate the ArcGIS geoprocessor using the arcgisscripting module...
Imported the arcgisscripting Python module.
Instantiated ArcGIS geoprocessor object 0x2FBE4308 using arcgisscripting.create().
GeoEco will now use ArcGIS Geoprocessor object 0x2FBE4308 for ArcGIS operations.
ArcGIS Geoprocessor object 0x2FBE4308: Invoking describe(*args=('C:\\Python27\\ArcGIS10.4\\lib\\site-packages\\GeoEco\\ArcGISToolbox\\Rasters\\dummyint',))...
ArcGIS Geoprocessor object 0x2FBE4308: describe returned <geoprocessing describe data object object at 0x2FBE4338>
ArcGIS Geoprocessor object 0x2FBE4308: Get ParameterCount returned 22
This python script was invoked from an ArcGIS application.
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(0,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned 'T:\\BaseMapData\\Biophysical Oceanographic Data\\SSTFronts\\SST_1C\\GLOB\\JPL_OUROCEAN\\G1SST\\analysed_sst\\2015\\20150101120000-JPL_OUROCEAN-L4UHfnd-GLOB-v01-fv01_0-G1SST-analysed_sst.img'
Parameter inputRaster = u'T:\\BaseMapData\\Biophysical Oceanographic Data\\SSTFronts\\SST_1C\\GLOB\\JPL_OUROCEAN\\G1SST\\analysed_sst\\2015\\20150101120000-JPL_OUROCEAN-L4UHfnd-GLOB-v01-fv01_0-G1SST-analysed_sst.img'
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(1,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned '13.333333'
Parameter minPopMeanDifference = 13.333333
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(2,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned 'T:\\BaseMapData\\Biophysical Oceanographic Data\\SSTFronts\\SST_1C\\GLOB\\JPL_OUROCEAN\\G1SST\\analysed_sst\\2015\\20150101120000-JPL_OUROCEAN-L4UHfnd-GLOB-v01-fv01_0-G1SST-FLOC.img'
Parameter outputFrontsRaster = u'T:\\BaseMapData\\Biophysical Oceanographic Data\\SSTFronts\\SST_1C\\GLOB\\JPL_OUROCEAN\\G1SST\\analysed_sst\\2015\\20150101120000-JPL_OUROCEAN-L4UHfnd-GLOB-v01-fv01_0-G1SST-FLOC.img'
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(3,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned 'false'
Parameter wrapEdges = False
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(4,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned 'int(inputRaster )'
Parameter mapAlgebraExpression = u'int(inputRaster )'
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(5,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned '3'
Parameter medianFilterWindowSize = 3
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(6,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned '32'
Parameter histogramWindowSize = 32
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(7,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned '16'
Parameter histogramWindowStride = 16
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(8,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned '0.65'
Parameter minPropNonMaskedCells = 0.65
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(9,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned '0.25'
Parameter minPopProp = 0.25
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(10,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned '0.76'
Parameter minTheta = 0.76
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(11,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned '0.9'
Parameter minSinglePopCohesion = 0.9
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(12,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned '0.92'
Parameter minGlobalPopCohesion = 0.92
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(13,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned '1'
Parameter threads = 1
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(14,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned ''
Parameter fillHoles = None
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(15,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned 'true'
Parameter thin = True
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(16,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned '10'
Parameter minSize = 10
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(17,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned ''
Parameter outputFilteredImageRaster = None
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(18,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned ''
Parameter outputCandidateCountsRaster = None
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(19,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned ''
Parameter outputFrontCountsRaster = None
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(20,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned ''
Parameter outputWindowStatusCodesRaster = None
ArcGIS Geoprocessor object 0x2FBE4308: Invoking getparameterastext(*args=(21,))...
ArcGIS Geoprocessor object 0x2FBE4308: getparameterastext returned ''
Parameter outputWindowStatusValuesRaster = None
ArcGIS Geoprocessor object 0x2FBE4308: Get OverwriteOutput returned 1
Parameter overwriteExisting = True
Executing method GeoEco.OceanographicAnalysis.Fronts.CayulaCornillonEdgeDetection.DetectEdgesInArcGISRaster.
Checking software dependency: ArcGIS version 9.1 or later
ArcGIS 10.4 is installed.
Checking software dependency: aggregated Python module: numpy
ArcGIS Geoprocessor object 0x2FBE4308: Invoking exists(*args=('T:\\BaseMapData\\Biophysical Oceanographic Data\\SSTFronts\\SST_1C\\GLOB\\JPL_OUROCEAN\\G1SST\\analysed_sst\\2015\\20150101120000-JPL_OUROCEAN-L4UHfnd-GLOB-v01-fv01_0-G1SST-analysed_sst.img',))...
ArcGIS Geoprocessor object 0x2FBE4308: exists returned 1
ArcGIS Geoprocessor object 0x2FBE4308: Invoking describe(*args=('T:\\BaseMapData\\Biophysical Oceanographic Data\\SSTFronts\\SST_1C\\GLOB\\JPL_OUROCEAN\\G1SST\\analysed_sst\\2015\\20150101120000-JPL_OUROCEAN-L4UHfnd-GLOB-v01-fv01_0-G1SST-analysed_sst.img',))...
ArcGIS Geoprocessor object 0x2FBE4308: describe returned <geoprocessing describe data object object at 0x2FBEF428>
ArcGIS Describe object 0x2FBEF428: Get DataType returned 'RasterDataset'
The ArcGIS raster, raster layer, or raster band T:\BaseMapData\Biophysical Oceanographic Data\SSTFronts\SST_1C\GLOB\JPL_OUROCEAN\G1SST\analysed_sst\2015\20150101120000-JPL_OUROCEAN-L4UHfnd-GLOB-v01-fv01_0-G1SST-analysed_sst.img exists.
ArcGIS Geoprocessor object 0x2FBE4308: Invoking exists(*args=('T:\\BaseMapData\\Biophysical Oceanographic Data\\SSTFronts\\SST_1C\\GLOB\\JPL_OUROCEAN\\G1SST\\analysed_sst\\2015\\20150101120000-JPL_OUROCEAN-L4UHfnd-GLOB-v01-fv01_0-G1SST-FLOC.img',))...
ArcGIS Geoprocessor object 0x2FBE4308: exists returned 0
The ArcGIS raster T:\BaseMapData\Biophysical Oceanographic Data\SSTFronts\SST_1C\GLOB\JPL_OUROCEAN\G1SST\analysed_sst\2015\20150101120000-JPL_OUROCEAN-L4UHfnd-GLOB-v01-fv01_0-G1SST-FLOC.img does not exist.
Checking software dependency: ArcGIS "spatial" extension.
ArcGIS Geoprocessor object 0x2FBE4308: Invoking checkoutextension(*args=('spatial',))...
ArcGIS Geoprocessor object 0x2FBE4308: checkoutextension returned 'CheckedOut'
Checking platform dependency: Microsoft Windows 2000 or later.
Microsoft Windows 7 or Server 2008 R2 Service Pack 1 is installed.
Finding fronts in T:\BaseMapData\Biophysical Oceanographic Data\SSTFronts\SST_1C\GLOB\JPL_OUROCEAN\G1SST\analysed_sst\2015\20150101120000-JPL_OUROCEAN-L4UHfnd-GLOB-v01-fv01_0-G1SST-analysed_sst.img using parameters: minPopMeanDiff=13.333333, medianFilter=3, histogramWindow=32, histogramStride=16, minPropCellsWithData=0.65, minPopProp=0.25, minTheta=0.76, minSinglePopCohesion=0.9, minGlobalPopCohesion=0.92, threads=1, threads=1, fillHoles=None, thin=True, minSize=10.
Output rasters: fronts=T:\BaseMapData\Biophysical Oceanographic Data\SSTFronts\SST_1C\GLOB\JPL_OUROCEAN\G1SST\analysed_sst\2015\20150101120000-JPL_OUROCEAN-L4UHfnd-GLOB-v01-fv01_0-G1SST-FLOC.img, filteredImage=None, candidateCounts=None, frontCounts=None, windowStatusCodes=None, windowStatusValues=None
ArcGIS Geoprocessor object 0x2FBE4308: Get ScratchWorkspace returned 'C:\\Users\\andrew.gilbert.BRILOON\\Documents\\ArcGIS\\Default.gdb'
ArcGIS Geoprocessor object 0x2FBE4308: Get ScratchWorkspace returned 'C:\\Users\\andrew.gilbert.BRILOON\\Documents\\ArcGIS\\Default.gdb'
ArcGIS Geoprocessor object 0x2FBE4308: Get ScratchWorkspace returned 'C:\\Users\\andrew.gilbert.BRILOON\\Documents\\ArcGIS\\Default.gdb'
ArcGIS Geoprocessor object 0x2FBE4308: Get ScratchWorkspace returned 'C:\\Users\\andrew.gilbert.BRILOON\\Documents\\ArcGIS\\Default.gdb'
ArcGIS Geoprocessor object 0x2FBE4308: Get ScratchWorkspace returned 'C:\\Users\\andrew.gilbert.BRILOON\\Documents\\ArcGIS\\Default.gdb'
Created temporary directory C:\Temp\GeoEcoTemp_andrew.gilbert\tmpboets5
The directory C:\Temp\GeoEcoTemp_andrew.gilbert exists.
ArcGIS Geoprocessor object 0x2FBE4308: Invoking refreshcatalog(*args=('C:\\Temp\\GeoEcoTemp_andrew.gilbert',))...
ArcGIS Geoprocessor object 0x2FBE4308: refreshcatalog returned None
Refreshed the ArcGIS catalog for directory C:\Temp\GeoEcoTemp_andrew.gilbert
Executing map algebra...
ArcGIS Geoprocessor object 0x2FBE4308: Get ScratchWorkspace returned 'C:\\Users\\andrew.gilbert.BRILOON\\Documents\\ArcGIS\\Default.gdb'
ArcGIS Geoprocessor object 0x2FBE4308: Get ScratchWorkspace returned 'C:\\Users\\andrew.gilbert.BRILOON\\Documents\\ArcGIS\\Default.gdb'
ArcGIS Geoprocessor object 0x2FBE4308: Get ScratchWorkspace returned 'C:\\Users\\andrew.gilbert.BRILOON\\Documents\\ArcGIS\\Default.gdb'
ArcGIS Geoprocessor object 0x2FBE4308: Get ScratchWorkspace returned 'C:\\Users\\andrew.gilbert.BRILOON\\Documents\\ArcGIS\\Default.gdb'
ArcGIS Geoprocessor object 0x2FBE4308: Get ScratchWorkspace returned 'C:\\Users\\andrew.gilbert.BRILOON\\Documents\\ArcGIS\\Default.gdb'
ArcGIS Geoprocessor object 0x2FBE4308: Get ScratchWorkspace returned 'C:\\Users\\andrew.gilbert.BRILOON\\Documents\\ArcGIS\\Default.gdb'
Created temporary directory C:\Temp\GeoEcoTemp_andrew.gilbert\tmph76ylf
The directory C:\Temp\GeoEcoTemp_andrew.gilbert exists.
ArcGIS Geoprocessor object 0x2FBE4308: Invoking refreshcatalog(*args=('C:\\Temp\\GeoEcoTemp_andrew.gilbert',))...
ArcGIS Geoprocessor object 0x2FBE4308: refreshcatalog returned None
Refreshed the ArcGIS catalog for directory C:\Temp\GeoEcoTemp_andrew.gilbert
ArcGIS Geoprocessor object 0x2FBE4308: Set ScratchWorkspace to 'C:\\Temp\\GeoEcoTemp_andrew.gilbert\\tmph76ylf'
ArcGIS Geoprocessor object 0x2FBE4308: Invoking SingleOutputMapAlgebra_sa(*args=('int( [T:\\BaseMapData\\Biophysical Oceanographic Data\\SSTFronts\\SST_1C\\GLOB\\JPL_OUROCEAN\\G1SST\\analysed_sst\\2015\\20150101120000-JPL_OUROCEAN-L4UHfnd-GLOB-v01-fv01_0-G1SST-analysed_sst.img] )', 'C:\\Temp\\GeoEcoTemp_andrew.gilbert\\tmpboets5\\inputraster'))...
Executing: SingleOutputMapAlgebra int( [T:\BaseMapData\Biophysical Oceanographic Data\SSTFronts\SST_1C\GLOB\JPL_OUROCEAN\G1SST\analysed_sst\2015\20150101120000-JPL_OUROCEAN-L4UHfnd-GLOB-v01-fv01_0-G1SST-analysed_sst.img] ) C:\temp\GeoEcoTemp_andrew.gilbert\tmpboets5\inputraster #
Start Time: Thu Oct 06 11:54:38 2016
Succeeded at Thu Oct 06 11:54:41 2016 (Elapsed Time: 3.33 seconds)
ArcGIS Geoprocessor object 0x2FBE4308: SingleOutputMapAlgebra_sa returned 'C:\\temp\\GeoEcoTemp_andrew.gilbert\\tmpboets5\\inputraster'
ArcGIS Geoprocessor object 0x2FBE4308: Set ScratchWorkspace to 'C:\\Users\\andrew.gilbert.BRILOON\\Documents\\ArcGIS\\Default.gdb'
Deleted directory C:\Temp\GeoEcoTemp_andrew.gilbert\tmph76ylf
The directory C:\Temp\GeoEcoTemp_andrew.gilbert exists.
ArcGIS Geoprocessor object 0x2FBE4308: Invoking refreshcatalog(*args=('C:\\Temp\\GeoEcoTemp_andrew.gilbert',))...
ArcGIS Geoprocessor object 0x2FBE4308: refreshcatalog returned None
Refreshed the ArcGIS catalog for directory C:\Temp\GeoEcoTemp_andrew.gilbert
ArcGIS Geoprocessor object 0x2FBE4308: Invoking refreshcatalog(*args=('C:\\Temp\\GeoEcoTemp_andrew.gilbert\\tmpboets5',))...
ArcGIS Geoprocessor object 0x2FBE4308: refreshcatalog returned None
ArcGIS Geoprocessor object 0x2FBE4308: Invoking describe(*args=('C:\\Temp\\GeoEcoTemp_andrew.gilbert\\tmpboets5\\inputraster',))...
ArcGIS Geoprocessor object 0x2FBE4308: describe returned <geoprocessing describe data object object at 0x2FC97E00>
ArcGIS Describe object 0x2FC97E00: Get PixelType returned 'S16'
ArcGIS Geoprocessor object 0x2FBE4308: Invoking exists(*args=('C:\\Temp\\GeoEcoTemp_andrew.gilbert\\tmpboets5\\inputraster',))...
ArcGIS Geoprocessor object 0x2FBE4308: exists returned 1
ArcGIS Geoprocessor object 0x2FBE4308: Invoking describe(*args=('C:\\Temp\\GeoEcoTemp_andrew.gilbert\\tmpboets5\\inputraster',))...
ArcGIS Geoprocessor object 0x2FBE4308: describe returned <geoprocessing describe data object object at 0x2FC97CE0>
ArcGIS Describe object 0x2FC97CE0: Get DataType returned 'RasterDataset'
The ArcGIS raster, raster layer, or raster band C:\Temp\GeoEcoTemp_andrew.gilbert\tmpboets5\inputraster exists.
The module GeoEco.AssimilatedModules.osgeo.gdal has not been loaded yet.
Checking software dependency: Python module: win32api
Set the Win32 DLL directory to "C:\Python27\ArcGIS10.4\lib\site-packages\GeoEco\Bin\win32". (The old value was "C:\Program Files (x86)\ArcGIS\Desktop10.4\bin\".)
Explicitly loaded "C:\Python27\ArcGIS10.4\lib\site-packages\GeoEco\Bin\win32\gdal19.dll" by calling Win32 LoadLibrary.
Reset the Win32 DLL directory to "C:\Program Files (x86)\ArcGIS\Desktop10.4\bin\".
Imported the GeoEco.AssimilatedModules.osgeo.gdal module.
Reading raster C:\Temp\GeoEcoTemp_andrew.gilbert\tmpboets5\inputraster into memory...
ArcGIS Geoprocessor object 0x2FBE4308: Invoking describe(*args=('C:\\Temp\\GeoEcoTemp_andrew.gilbert\\tmpboets5\\inputraster',))...
ArcGIS Geoprocessor object 0x2FBE4308: describe returned <geoprocessing describe data object object at 0x2FD25DD0>
ArcGIS Describe object 0x2FD25DD0: Get IsInteger returned True
Masking cells where mask 0 is equal to -32768.
Applying 3x3 median filter.
Running histogramming and cohesion algorithm.
Histogram and cohesion algorithm complete. Elapsed time: 0.704044 seconds.
Cleaning up the fronts.
ArcGIS Geoprocessor object 0x2FBE4308: Get ScratchWorkspace returned 'C:\\Users\\andrew.gilbert.BRILOON\\Documents\\ArcGIS\\Default.gdb'
ArcGIS Geoprocessor object 0x2FBE4308: Get ScratchWorkspace returned 'C:\\Users\\andrew.gilbert.BRILOON\\Documents\\ArcGIS\\Default.gdb'
ArcGIS Geoprocessor object 0x2FBE4308: Get ScratchWorkspace returned 'C:\\Users\\andrew.gilbert.BRILOON\\Documents\\ArcGIS\\Default.gdb'
ArcGIS Geoprocessor object 0x2FBE4308: Get ScratchWorkspace returned 'C:\\Users\\andrew.gilbert.BRILOON\\Documents\\ArcGIS\\Default.gdb'
ArcGIS Geoprocessor object 0x2FBE4308: Get ScratchWorkspace returned 'C:\\Users\\andrew.gilbert.BRILOON\\Documents\\ArcGIS\\Default.gdb'
Created temporary directory C:\Temp\GeoEcoTemp_andrew.gilbert\tmpxyhjwh
The directory C:\Temp\GeoEcoTemp_andrew.gilbert exists.
ArcGIS Geoprocessor object 0x2FBE4308: Invoking refreshcatalog(*args=('C:\\Temp\\GeoEcoTemp_andrew.gilbert',))...
ArcGIS Geoprocessor object 0x2FBE4308: refreshcatalog returned None
Refreshed the ArcGIS catalog for directory C:\Temp\GeoEcoTemp_andrew.gilbert
Determining the path to the Python executable.
Using the path C:\Python27\ArcGIS10.4\python.exe, obtained from sys.prefix
Executing program: C:\Python27\ArcGIS10.4\python.exe C:\Python27\ArcGIS10.4\lib\site-packages\GeoEco\OceanographicAnalysis\CleanFronts.py C:\Temp\GeoEcoTemp_andrew.gilbert\tmpxyhjwh\Fronts.bin C:\Temp\GeoEcoTemp_andrew.gilbert\tmpxyhjwh\CleanedFronts.bin 3532 6132 int8 -128 0 True 10
python.exe: SoftwareNotInstalledError: This tool requires the Python numpy module. Version 1.9.2 of numpy is installed but that version is not currently supported by this tool. Please remove the existing version and install a supported version (see the documentation for a list of supported versions). Alternatively, check this tool's website for a newer version of it. If a newer version exists, it might support your current version of numpy.
The following consequences resulted from the original error:
Execution of C:\Python27\ArcGIS10.4\python.exe failed.
Deleted directory C:\Temp\GeoEcoTemp_andrew.gilbert\tmpxyhjwh
The directory C:\Temp\GeoEcoTemp_andrew.gilbert exists.
ArcGIS Geoprocessor object 0x2FBE4308: Invoking refreshcatalog(*args=('C:\\Temp\\GeoEcoTemp_andrew.gilbert',))...
ArcGIS Geoprocessor object 0x2FBE4308: refreshcatalog returned None
Refreshed the ArcGIS catalog for directory C:\Temp\GeoEcoTemp_andrew.gilbert
GeoEco is releasing its reference to ArcGIS Geoprocessor object 0x2FBE4308 and will no longer use it for ArcGIS operations.
Failed script CayulaCornillonEdgeDetectionDetectEdgesInArcGISRaster...
Traceback (most recent call last):
File "C:\Program Files\GeoEco\ArcGISToolbox\Scripts\CayulaCornillonEdgeDetectionDetectEdgesInArcGISRaster.py", line 5, in <module>
ExecuteMethodFromCommandLineAsArcGISTool('GeoEco.OceanographicAnalysis.Fronts', 'CayulaCornillonEdgeDetection', 'DetectEdgesInArcGISRaster')
File "C:\Python27\ArcGIS10.4\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.4\lib\site-packages\GeoEco\OceanographicAnalysis\Fronts.py", line 671, in DetectEdgesInArcGISRaster
mask, filteredImage, candidateCounts, frontCounts, frontsImage, windowStatusCodes, windowStatusValues = cls.DetectEdgesInSingleImage(image=image, wrapEdges=wrapEdges, masks=[image], maskTests=[u'Equal'], maskValues=[noDataValue], medianFilterWindowSize=medianFilterWindowSize, histogramWindowSize=histogramWindowSize, histogramWindowStride=histogramWindowStride, minPropNonMaskedCells=minPropNonMaskedCells, minPopProp=minPopProp, minPopMeanDifference=minPopMeanDifference, minTheta=minTheta, minSinglePopCohesion=minSinglePopCohesion, minGlobalPopCohesion=minGlobalPopCohesion, threads=threads, fillHoles=fillHoles, thin=thin, minSize=minSize)
File "C:\Python27\ArcGIS10.4\lib\site-packages\GeoEco\OceanographicAnalysis\Fronts.py", line 390, in DetectEdgesInSingleImage
maxRunTime=300)
File "C:\Python27\ArcGIS10.4\lib\site-packages\GeoEco\DataManagement\Processes.py", line 575, in ExecuteProgram
process.Execute()
File "C:\Python27\ArcGIS10.4\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.4\lib\site-packages\GeoEco\Logging.py", line 104, in RaiseException
raise exception
RuntimeError: python.exe returned exit code 1, indicating failure.
Failed to execute (CayulaCornillonEdgeDetectionDetectEdgesInArcGISRaster).
Failed at Thu Oct 06 11:54:47 2016 (Elapsed Time: 12.60 seconds)
On 10/6/2016 10:03 AM, Jason Roberts wrote:
Hi Andrew,
That is an odd problem. I can confirm ArcGIS 10.4.1 comes with numpy 1.9.2
but on my system it appears to be Python 2.7.10. This is consistent with what
ESRI says (http:// support.esri.com/technical-article/000013224).
(Sorry for the space in the URL; Duke has deployed an irritating anti-malware
system that mangles URLs.)
It should not matter that you have 2.7.8 instead of 2.7.10--both will work
fine with MGET--but it might suggest there is a problem with your Python
configuration somehow.
What version of MGET do you have? I added support for numpy 1.9.2 in MGET
0.8a57 in March of 2015. That is quite some time ago. It seems unlikely that
you'd have a 10.4.1 machine with that version of MGET, but I should check for
completeness...
What is especially unusual about this problem is that it appears that the tool executes
successfully until it reaches the "front cleanup" step, in which it executes
some MATLAB code in a child Python process (to avoid conflicts between ArcGIS and
MATLAB DLLs that crash the ArcGIS parent process). It is that child process that is
complaining about the numpy version. But the main tool (in the parent process) already
performed a similar check, which passed. So I'm not sure what's happening there. If it
is not a configuration problem, then I'm guessing there is some subtle bug in MGET,
perhaps that is causing it to report this numpy problem erroneously.
Could you please reproduce the problem with verbose logging turned on (see
http://code.nicholas.duke.edu/projects/mget/wiki/Configuring%20MGET%20logging#Enablingverboselogging)
and send me the complete output of the tool?
Thanks,
Jason
-----Original Message-----
From:
[] On Behalf Of Andrew Gilbert
Sent: Tuesday, October 4, 2016 10:44 AM
To: ; Jeffrey Tash <>
Subject: [mget-help] Find Cayula-Cornillon Fronts in GHRSST L4 SST appears to
be broken in 10.4.1
Hi,
I've used the MGET "Find Cayula-Cornillon Fronts in GHRSST L4 SST" tool before in
previous versions and it worked well, but using ArcGIS 10.4.1 it won't work. It says it works
successfully, but it's clearly failing and not passing the errors through (no error and no files
generated). I can run the "Create Rasters for GHRSST L4 SST" under NASA JPL PO.DAAC
and it returns the SST raster, but can't run the front calculations on the downloaded SST raster.
It appears to be an issue at least with the version of NUMPY. It starts the process and then I
get this error:
python.exe: SoftwareNotInstalledError: This tool requires the Python numpy
module. Version 1.9.2 of numpy is installed but that version is not currently
supported by this tool. Please remove the existing version and install a
supported version (see the documentation for a list of supported versions).
Alternatively, check this tool's website for a newer version of it. If a
newer version exists, it might support your current version of numpy.
The following consequences resulted from the original error:
Execution of C:\Python27\ArcGIS10.4\python.exe failed.
Failed script CayulaCornillonEdgeDetectionDetectEdgesInArcGISRaster...
Traceback (most recent call last):
File "C:\Program
Files\GeoEco\ArcGISToolbox\Scripts\CayulaCornillonEdgeDetectionDetectEdgesInArcGISRaster.py",
line 5, in <module>
ExecuteMethodFromCommandLineAsArcGISTool('GeoEco.OceanographicAnalysis.Fronts',
'CayulaCornillonEdgeDetection', 'DetectEdgesInArcGISRaster')
File
"C:\Python27\ArcGIS10.4\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.4\lib\site-packages\GeoEco\OceanographicAnalysis\Fronts.py",
line 671, in DetectEdgesInArcGISRaster
mask, filteredImage, candidateCounts, frontCounts, frontsImage,
windowStatusCodes, windowStatusValues =
cls.DetectEdgesInSingleImage(image=image, wrapEdges=wrapEdges, masks=[image],
maskTests=[u'Equal'], maskValues=[noDataValue],
medianFilterWindowSize=medianFilterWindowSize,
histogramWindowSize=histogramWindowSize,
histogramWindowStride=histogramWindowStride,
minPropNonMaskedCells=minPropNonMaskedCells, minPopProp=minPopProp,
minPopMeanDifference=minPopMeanDifference, minTheta=minTheta,
minSinglePopCohesion=minSinglePopCohesion,
minGlobalPopCohesion=minGlobalPopCohesion, threads=threads,
fillHoles=fillHoles, thin=thin, minSize=minSize)
File
"C:\Python27\ArcGIS10.4\lib\site-packages\GeoEco\OceanographicAnalysis\Fronts.py",
line 390, in DetectEdgesInSingleImage
maxRunTime=300)
File
"C:\Python27\ArcGIS10.4\lib\site-packages\GeoEco\DataManagement\Processes.py",
line 575, in ExecuteProgram
process.Execute()
File
"C:\Python27\ArcGIS10.4\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.4\lib\site-packages\GeoEco\Logging.py",
line 104, in RaiseException
raise exception
RuntimeError: python.exe returned exit code 1, indicating failure.
Failed to execute (CayulaCornillonEdgeDetectionDetectEdgesInArcGISRaster).
I'm running ArcGIS 10.4.1 with Python 2.7.8 and Numpy 1.9.2 as indicated in
the error. Any help would be appreciated. Thanks.
Cheers,
--
Andrew Gilbert
Data Management Director
Biodiversity Research Institute
276 Canco Rd.
Portland, ME 04103
207-839-7600
www.briloon.org
---
This email has been checked for viruses by Avast antivirus software.
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.avast.com_antivirus&d=CwICaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=xCrbnFZcjrfVEdKQhMVPxwdYw2imyfElky5AJEHT_VA&m=vhxDLmYD4qYWHPrJdOQ1Pn_wKEK6ETiFSsCl8xAVtsE&s=04NLFk_EoTensIq5sazkOA3Ej9U92Mg2Jk1xaMZUO-Q&e=
--
Andrew Gilbert
Data Management Director
Biodiversity Research Institute
276 Canco Rd.
Portland, ME 04103
207-839-7600
www.briloon.org
---
This email has been checked for viruses by Avast antivirus software.
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.avast.com_antivirus&d=CwIC-g&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=xCrbnFZcjrfVEdKQhMVPxwdYw2imyfElky5AJEHT_VA&m=mI1QxC9-rnHv9iss7-MMUzoXvjuT1axJKv7XULxEVeM&s=QY_4liJqXcEqyOHhWSQGJnXmvLDdneyuhjL7iTiY2Ck&e=
- [mget-help] Find Cayula-Cornillon Fronts in GHRSST L4 SST appears to be broken in 10.4.1, Andrew Gilbert, 10/04/2016
- RE: [mget-help] Find Cayula-Cornillon Fronts in GHRSST L4 SST appears to be broken in 10.4.1, Jason Roberts, 10/06/2016
- Re: [mget-help] Find Cayula-Cornillon Fronts in GHRSST L4 SST appears to be broken in 10.4.1, Andrew Gilbert, 10/06/2016
- RE: [mget-help] Find Cayula-Cornillon Fronts in GHRSST L4 SST appears to be broken in 10.4.1, Jason Roberts, 10/06/2016
Archive powered by MHonArc 2.6.19.