Skip to Content.

mget-help - Re: [mget-help] Query regarding MGET: Larval dispersal simulation

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


Re: [mget-help] Query regarding MGET: Larval dispersal simulation


Chronological Thread 
  • From: Young Jin <>
  • To: "" <>
  • Subject: Re: [mget-help] Query regarding MGET: Larval dispersal simulation
  • Date: Fri, 29 Jun 2018 09:59:31 +0000
  • Accept-language: en-AU, en-US
  • Authentication-results: oit.duke.edu; spf=pass
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

It worked on a new map document. I just opened all the files on a new map and executed "Create Larval Dispersal Simulation From ArcGIS Rasters"...


Cheers,


Young



From: Young Jin
Sent: Friday, 29 June 2018 7:26 PM
To:
Subject: Query regarding MGET: Larval dispersal simulation
 

Dear sir,


I've been trying to use MGET plugin on ArcGIS. I have prepared three files (i.e. water mask, cover and id raster files) (attached) for larval dispersal simulaion. I followed a tutorial at http://mgel2011-kvm.env.duke.edu/mget/2016/03/31/new-larval-connectivity-modeling-tools/. But I got an error message (please see below this message) after executing "Create Larval Dispersal Simulation From ArcGIS Rasters". I have no idea how to proceed with this from here. I would appreciate it if you could help me with this.


FYI, the Gulf of Mexico example from the tutorial page works.


Thanks,


Young


 

Executing: LarvalDispersalCreateSimulationFromArcGISRasters "E:\ArcGIS_files_YJIN\Larval dispersal simulation\LDS" id_merc5.img cover1_merc31.img water_Merc2.img false
Start Time: Fri Jun 29 16:19:53 2018
Running script LarvalDispersalCreateSimulationFromArcGISRasters...
Creating and initializing the simulation directory E:\ArcGIS_files_YJIN\Larval dispersal simulation\LDS...
ERROR 999999: Error executing function.
Failed to create raster dataset
Failed to execute (CopyRaster).
ArcGISError: The ArcGIS CopyRaster_management geoprocessing tool failed when given the parameters (*args=('id_merc5.img', 'E:\\ArcGIS_files_YJIN\\Larval dispersal simulation\\LDS\\PatchData\\patch_ids')) and reported ExecuteError: ERROR 999999: Error executing function.
Failed to create raster dataset
Failed to execute (CopyRaster).
Failed script LarvalDispersalCreateSimulationFromArcGISRasters...

Traceback (most recent call last):
  File "C:\Program Files\GeoEco\ArcGISToolbox\Scripts\LarvalDispersalCreateSimulationFromArcGISRasters.py", line 5, in <module>
    ExecuteMethodFromCommandLineAsArcGISTool('GeoEco.Connectivity.LarvalDispersal', 'LarvalDispersal', 'CreateSimulationFromArcGISRasters')
  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\Connectivity\LarvalDispersal.py", line 109, in CreateSimulationFromArcGISRasters
    ArcGISRaster.Copy(patchIDsRaster, os.path.join(simulationDirectory, u'PatchData', u'patch_ids'))
  File "C:\Python27\ArcGIS10.5\lib\site-packages\GeoEco\DataManagement\ArcGISRasters.py", line 752, in Copy
    cls._Copy(sourceRaster, destinationRaster)
  File "C:\Python27\ArcGIS10.5\lib\site-packages\GeoEco\DataManagement\ArcGISRasters.py", line 776, in _Copy
    gp.CopyRaster_Management(sourceRaster, destinationRaster)
  File "<string>", line 2, in CopyRaster_Management
  File "C:\Python27\ArcGIS10.5\lib\site-packages\GeoEco\ArcGIS.py", line 1313, in _InvokeMethod
    raise ArcGISError(_(u'The ArcGIS %(tool)s geoprocessing tool failed when given the parameters %(params)s and reported %(error)s: %(msg)s') % {u'tool': methodName, u'params': inspect.formatargvalues(_args, _varargs, _varkw, _locals), u'error': e.__class__.__name__, u'msg': unicode(e)})
ArcGISError: The ArcGIS CopyRaster_management geoprocessing tool failed when given the parameters (*args=('id_merc5.img', 'E:\\ArcGIS_files_YJIN\\Larval dispersal simulation\\LDS\\PatchData\\patch_ids')) and reported ExecuteError: ERROR 999999: Error executing function.
Failed to create raster dataset
Failed to execute (CopyRaster).


Failed to execute (LarvalDispersalCreateSimulationFromArcGISRasters).
Failed at Fri Jun 29 16:19:53 2018 (Elapsed Time: 0.82 seconds)





Archive powered by MHonArc 2.6.19.

Top of Page