Skip to Content.

mget-help - RE: [mget-help] Error 000865 in load HYCOM currents into larval dispersal simulation

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


RE: [mget-help] Error 000865 in load HYCOM currents into larval dispersal simulation


Chronological Thread 
  • From: Jason Roberts <>
  • To: "" <>
  • Cc: "" <>
  • Subject: RE: [mget-help] Error 000865 in load HYCOM currents into larval dispersal simulation
  • Date: Wed, 16 Nov 2016 20:09:57 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Dear Noémie,

I suspect the problem is that the MGET tool is not able to handle rasters
that are stored in paths that have - (dash) characters in them. I can see the
simulation directory has such a path:

C:\Users\Emilie\Desktop\MOISEZ - PERNAK - DELDICQ\GEOMETRY\MODELE DE
DISPERSION LARVAIRE\simulation_10

The issue is that the MGET tool internally uses the ArcGIS tool called Single
Output Map Algebra. MGET constructs a "map algebra expression" using rasters
stored in the simulation directory and submits the expression to Single
Output Map Algebra. The latter tool interprets the - character as a
subtraction sign. It then looks for a raster called
C:\Users\Emilie\Desktop\MOISEZ and tries to subtract a raster called PERNAK
from it. The C:\Users\Emilie\Desktop\MOISEZ raster does not exist so Single
Output Map Algebra fails, causing the MGET tool to fail.

I believe you can fix this problem by storing your simulation directory at a
location that does not have - characters in the path. Please let me know if
that works.

In the past, I have also encountered problems with the Single Output Map
Algebra tool when there were spaces in the path name. So you might watch for
that as well.

Best,

Jason


-----Original Message-----
From:
[] On Behalf Of

Sent: Wednesday, November 16, 2016 1:43 PM
To:
Subject: [mget-help] Error 000865 in load HYCOM currents into larval
dispersal simulation

Hello,

I'm master student and i had start to use ArcGIS 2 months ago. I have 6 years
of abundance fish larvae data in English Channel and I would like to use MGET
in order to modelise larval dispersion.

The water mask, the Patch_ID_Cover and the Patch_Id are good (I think because
the tools "Create larval dispersal simulation" arrive until the end with
success) but when i want to load currents (HYCOM GOMI0.04) the script failed.

I receive the next error : Error 000865 and the tools said :
"ERROR 000865: Map Algebra expression: C:\Users\Emilie\Desktop\MOISEZ does
not exist.
Failed to execute (SingleOutputMapAlgebra)."

Could you please help me tu understand my error? Thank you

PS : Entire dialog

Executing: LarvalDispersalLoadHYCOMGOMl0044DCurrentsIntoSimulation "C:\Users
\Emilie\Desktop\MOISEZ - PERNAK - DELDICQ\GEOMETRY\MODELE DE DISPERSION
LARVAIRE\simulation_10" 23/01/2010 24/01/2010 50 CUBIC Del2a 60 120 "C:\Users
\Emilie\Desktop\MOISEZ - PERNAK - DELDICQ\GEOMETRY\MODELE DE DISPERSION
LARVAIRE\CD"
Start Time: Wed Nov 16 19:15:52 2016
Running script LarvalDispersalLoadHYCOMGOMl0044DCurrentsIntoSimulation...
Querying time and depth slices of u grid of the HYCOM + NCODA Gulf of Mexico
1/25 degree Analysis (GOMl0.04), clipped to indices tMin = 22, tMax = 23,
zMin = 8, zMax = 8.
Query complete: 0:00:00 elapsed, 2 datasets found, 0:00:00.007500 per dataset.
Importing 2 datasets into ArcGIS Folder C:\Users\Emilie\Desktop\MOISEZ -
PERNAK - DELDICQ\GEOMETRY\MODELE DE DISPERSION LARVAIRE
\simulation_10\OriginalHYCOMCurrents with mode "add".
Checking for existing destination datasets.
Failed to execute. Parameters are not valid.
ERROR 000865: Map Algebra expression: C:\Users\Emilie\Desktop\MOISEZ does not
exist.
Failed to execute (SingleOutputMapAlgebra).
Failed to execute. Parameters are not valid.
ERROR 000865: Map Algebra expression: C:\Users\Emilie\Desktop\MOISEZ does not
exist.
Failed to execute (SingleOutputMapAlgebra).
Finished checking: 0:00:00 elapsed, 2 datasets checked, 0:00:00.008000 per
dataset.
Failed to execute. Parameters are not valid.
ERROR 000865: Map Algebra expression: C:\Users\Emilie\Desktop\MOISEZ does not
exist.
Failed to execute (SingleOutputMapAlgebra).
All 2 destination datasets already exist. No datasets will be imported.
Querying time and depth slices of v grid of the HYCOM + NCODA Gulf of Mexico
1/25 degree Analysis (GOMl0.04), clipped to indices tMin = 22, tMax = 23,
zMin = 8, zMax = 8.
Query complete: 0:00:00 elapsed, 2 datasets found, 0:00:00.023500 per dataset.
Importing 2 datasets into ArcGIS Folder C:\Users\Emilie\Desktop\MOISEZ -
PERNAK - DELDICQ\GEOMETRY\MODELE DE DISPERSION LARVAIRE
\simulation_10\OriginalHYCOMCurrents with mode "add".
Checking for existing destination datasets.
Failed to execute. Parameters are not valid.
ERROR 000865: Map Algebra expression: C:\Users\Emilie\Desktop\MOISEZ does not
exist.
Failed to execute (SingleOutputMapAlgebra).
Failed to execute. Parameters are not valid.
ERROR 000865: Map Algebra expression: C:\Users\Emilie\Desktop\MOISEZ does not
exist.
Failed to execute (SingleOutputMapAlgebra).
Finished checking: 0:00:00 elapsed, 2 datasets checked, 0:00:00 per dataset.
Failed to execute. Parameters are not valid.
ERROR 000865: Map Algebra expression: C:\Users\Emilie\Desktop\MOISEZ does not
exist.
Failed to execute (SingleOutputMapAlgebra).
All 2 destination datasets already exist. No datasets will be imported.
Failed to execute. Parameters are not valid.
ERROR 000865: Map Algebra expression: C:\Users\Emilie\Desktop\MOISEZ does not
exist.
Failed to execute (SingleOutputMapAlgebra).
Failed script LarvalDispersalLoadHYCOMGOMl0044DCurrentsIntoSimulation...

Traceback (most recent call last):
File "C:\Program Files\GeoEco\ArcGISToolbox\Scripts
\LarvalDispersalLoadHYCOMGOMl0044DCurrentsIntoSimulation.py", line 5, in
<module>

ExecuteMethodFromCommandLineAsArcGISTool('GeoEco.Connectivity.LarvalDispersal',
'LarvalDispersal', 'LoadHYCOMGOMl0044DCurrentsIntoSimulation')
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\Connectivity
\LarvalDispersal.py", line 276, in LoadHYCOMGOMl0044DCurrentsIntoSimulation
cls._FinishLoadingCurrents(simulationDirectory, scp, thisCurrentsProduct,
u'Center', 86400, hycomCurrentsDirectory, resamplingTechnique,
interpolationMethod)
File "C:\Python27\ArcGIS10.4\lib\site-packages\GeoEco\Connectivity
\LarvalDispersal.py", line 384, in _FinishLoadingCurrents
gp.SingleOutputMapAlgebra_sa('setnull(%s == 0, %s)' % (waterMask,
waterMask), newWaterMask)
File "<string>", line 2, in SingleOutputMapAlgebra_sa
File "C:\Python27\ArcGIS10.4\lib\site-packages\GeoEco\ArcGIS.py", line
1317, 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 SingleOutputMapAlgebra_sa geoprocessing tool failed
when given the parameters (*args=('setnull(C:\\Users\\Emilie\\Desktop\\MOISEZ
- PERNAK - DELDICQ\\GEOMETRY\\MODELE DE DISPERSION LARVAIRE\\simulation_10\
\PatchData\\water_mask == 0, C:\\Users\\Emilie\\Desktop\\MOISEZ - PERNAK -
DELDICQ\\GEOMETRY\\MODELE DE DISPERSION LARVAIRE\\simulation_10\\PatchData\
\water_mask)', 'C:\\Temp\\GeoEcoTemp_Emilie\\tmpyxjwwd\\water_mask')) and
reported ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000865: Map Algebra expression: C:\Users\Emilie\Desktop\MOISEZ does not
exist.
Failed to execute (SingleOutputMapAlgebra).


Failed to execute (LarvalDispersalLoadHYCOMGOMl0044DCurrentsIntoSimulation).
Failed at Wed Nov 16 19:15:56 2016 (Elapsed Time: 4,48 seconds)




Thank you, Noémie D



Archive powered by MHonArc 2.6.19.

Top of Page