Skip to Content.

mget-help - RE: [mget-help] Connectivity Analysis Error Message

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


RE: [mget-help] Connectivity Analysis Error Message


Chronological Thread 
  • From: Jason Roberts <>
  • To: gina digiantonio <>
  • Cc: "" <>
  • Subject: RE: [mget-help] Connectivity Analysis Error Message
  • Date: Tue, 19 Apr 2016 21:39:04 +0000
  • Accept-language: en-US
  • Authentication-results: virginia.edu; dkim=none (message not signed) header.d=none;virginia.edu; dmarc=none action=none header.from=duke.edu;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:23

Hi Gina,

 

Thanks for your interest in this and for contacting us about it. The 2012 connectivity algorithm—despite 2012 being four years ago—was just introduced into MGET. While the algorithm itself and its underlying MATLAB code has been tested extensively and used for several publications, it has taken me quite a while to repackage it for use in MGET. The version of MGET that you have, 0.8a62, was the first version to include that algorithm.

 

I am still testing MGET’s implementation of it. (For anyone who is wondering, this is why I have not widely announced its availability yet.) It looks like you discovered a bug in it. I’ll follow up with you privately about diagnosing and fixing this.

 

Best,

 

Jason

 

From: [mailto:] On Behalf Of gina digiantonio
Sent: Monday, April 18, 2016 7:47 PM
To:
Subject: [mget-help] Connectivity Analysis Error Message

 

Hello,

 

My name is Gina Digiantonio, and I am a Master's student at the University of Virginia. I'm trying to run the Connectivity Analysis tool of MGET to simulation seagrass dispersal, but I've run into the following error message:

 

Start Time: Mon Apr 18 19:44:45 2016

Running script LarvalDispersalRunSimulation2012...

Reading habitat patch data...

Reading 30 ocean currents images...

Finished reading: 0:00:01 elapsed, 30 images read, 0:00:00.063866 per image.

python.exe: RuntimeError: ??? Error using ==> and

python.exe: Matrix dimensions must agree.

python.exe:

python.exe: Error in ==> DisperseLarvae2012 at 262

The following consequences resulted from the original error:

Execution of C:\Python27\ArcGIS10.3\python.exe failed.

Failed script LarvalDispersalRunSimulation2012...

 

Traceback (most recent call last):

  File "C:\Program Files\GeoEco\ArcGISToolbox\Scripts\LarvalDispersalRunSimulation2012.py", line 5, in <module>

    ExecuteMethodFromCommandLineAsArcGISTool('GeoEco.Connectivity.LarvalDispersal', 'LarvalDispersal', 'RunSimulation2012')

  File "C:\Python27\ArcGIS10.3\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.3\lib\site-packages\GeoEco\Connectivity\LarvalDispersal.py", line 1089, in RunSimulation2012

    maxRunTime=None)

  File "C:\Python27\ArcGIS10.3\lib\site-packages\GeoEco\DataManagement\Processes.py", line 575, in ExecuteProgram

    process.Execute()

  File "C:\Python27\ArcGIS10.3\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.3\lib\site-packages\GeoEco\Logging.py", line 104, in RaiseException

    raise exception

RuntimeError: python.exe returned exit code 1, indicating failure.

 

Failed to execute (LarvalDispersalRunSimulation2012).

Failed at Mon Apr 18 19:44:53 2016 (Elapsed Time: 8.01 seconds)

 

I created the simulation directory using the tools, and I have the HYCOM current data loaded into the simulation directory. Is there a fix for the error message I received?

 

Sincerely,

 

Gina Digiantonio




Archive powered by MHonArc 2.6.19.

Top of Page