Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
- From: Jason Roberts <>
- To: "" <>
- Cc: "" <>
- Subject: RE: [mget-help] err
- Date: Thu, 19 Jan 2017 14:44:36 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Hi,
Sorry about this. You have two options. You can either wait for MGET 0.8a66
which will be released later today, or you can fix it yourself fairly easily.
The problem is that the default value of the Raster Name Expressions
parameter contains a mistake in the last row. It should be this:
%%Y%%m%%d%%H%%M%%S-%(RDACCode)s-L4%(ProductType)s-%(AreaCode)s-v%(GDSVersion)02i-fv%(FileVersion)s-%(ProductCode)s-Canny_fronts.img
You can delete that last row and replace it with the one above. But be
careful: sometimes email programs wrap long strings like that. When you copy
it from email, paste it first into Notepad or another text editor to ensure
it is all a single line. If it is not, edit it and then copy/paste into
ArcGIS. It should not have any spaces.
Please let me know if that works.
Best,
Jason
-----Original Message-----
From:
[] On Behalf Of
Sent: Wednesday, January 18, 2017 10:46 PM
To:
Subject: [mget-help] err
Hi all,
I'm trying to use the "Find Canny Fronts in GHRSST L4 SST", but I get the
following error (see below).
I've seen several archived help questions where people have had similar
problems. Most likely a python issue? But I do not know what the exact
problem is, or how to resolve it.
I'm using ArcMap 10.3 with Matlab Component Runtime 7.7 and Python 2.7.
thanks!
error message:
Executing: GHRSSTLevel4CannyEdgesAsArcGISRasters MUR-JPL-L4-GLOB-v4.1
C:\Users \Alice\sfuvault\RHAUGIS\FRONT Add
%(AreaCode)s;%(RDACCode)s;%(ProductCode)s;%
(VariableName)s;%%Y;%%Y%%m%%d%H%%M%%S-%(RDACCode)s-L4%(ProductType)s-%
(AreaCode)s-v%(GDSVersion)02i-fv%(FileVersion)s-%(ProductCode)s-
Canny_fronts.img # # 1.4 4 # "-132 48 -126 55" "2016-07-11 7:31:23 PM" "2016-
07-13 7:31:40 PM" 600 # # true false false Start Time: Wed Jan 18 19:32:03
2017 Running script GHRSSTLevel4CannyEdgesAsArcGISRasters...
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.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\DataProducts\NASA
\PODAAC.py", line 1023, in CannyEdgesAsArcGISRasters
workspace = ArcGISWorkspace(outputWorkspace, ArcGISRaster,
pathCreationExpressions=rasterNameExpressions, cacheTree=True,
queryableAttributes=tuple(grid.GetAllQueryableAttributes() +
[QueryableAttribute(u'DateTime', _(u'Date'), DateTimeTypeMetadata())]))
File "C:\Python27\ArcGIS10.3\lib\site-packages\GeoEco\Datasets\ArcGIS.py",
line 89, in __init__
super(ArcGISWorkspace, self).__init__(pathParsingExpressions,
pathCreationExpressions, queryableAttributes=queryableAttributes,
queryableAttributeValues=queryableAttributeValues,
lazyPropertyValues=lazyPropertyValues, cacheDirectory=cacheDirectory)
File "C:\Python27\ArcGIS10.3\lib\site-packages\GeoEco\Datasets
\Collections.py", line 136, in __init__
raise ValueError(_(u'Substitution group %(j)i (0 is the first group) of
pathParsingExpressions[%(i)i] is invalid. It must be a named group or an
allowed date/time formatter.') % {u'i': i, u'j': j, u'i': i})
ValueError: Substitution group 3 (0 is the first group) of
pathParsingExpressions[5] is invalid. It must be a named group or an allowed
date/time formatter.
Failed to execute (GHRSSTLevel4CannyEdgesAsArcGISRasters).
Failed at Wed Jan 18 19:32:09 2017 (Elapsed Time: 6.44 seconds)
- [mget-help] err, adomalik, 01/18/2017
- RE: [mget-help] err, Jason Roberts, 01/19/2017
Archive powered by MHonArc 2.6.19.