Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
From: | |
---|---|
To: | |
Subject: | [mget-help] Issue with the "Create Lines from Vector Component Rasters" tool in ArcGIS 10.2 |
Date: | Tue, 11 Mar 2014 05:44:31 -0400 (EDT) |
Dear Mister,
I'm having trouble using the "Create Lines from Vector Component Rasters" tool
in ArcGIS 10.2. MGET version I am using is : 0.8a53.
Problem encountered is that my wind raster bounding boxes are encoded with a
comma instead of a point.
It seems to be the origin of the problem, as the dialog box shows:
Executing: ArcGISLinesFromVectorComponentRasters
GLO-BLENDED_WIND_L4-OBS_FULL_TIME_SERIE_1385632487733_eastward_wind_20070321-000000.tif
GLO-BLENDED_WIND_L4-OBS_FULL_TIME_SERIE_1385632487733_northward_wind_20070321-000000.tif
C:\Users\guest906\Desktop\Test_vent\erery.shp 2000 false
Start Time: Tue Mar 11 10:40:58 2014
Running script ArcGISLinesFromVectorComponentRasters...
Creating lines in C:\Users\guest906\Desktop\Test_vent\erery.shp from vector
component rasters
GLO-BLENDED_WIND_L4-OBS_FULL_TIME_SERIE_1385632487733_eastward_wind_20070321-000000.tif
and
GLO-BLENDED_WIND_L4-OBS_FULL_TIME_SERIE_1385632487733_northward_wind_20070321-000000.tif.
ValueError: invalid literal for float(): 18,75
Traceback (most recent call last):
File "C:\Program
Files\GeoEco\ArcGISToolbox\Scripts\ArcGISLinesFromVectorComponentRasters.py",
line 5, in <module>
ExecuteMethodFromCommandLineAsArcGISTool('GeoEco.SpatialAnalysis.Lines',
'ArcGISLines', 'FromVectorComponentRasters')
File "C:\Python27\lib\site-packages\GeoEco\ArcGISScripts.py", line 210, in
ExecuteMethodFromCommandLineAsArcGISTool
exec sourceCode in globals(), locals()
File "<string>", line 1, in <module>
File "C:\Python27\lib\site-packages\GeoEco\SpatialAnalysis\Lines.py", line
158, in FromVectorComponentRasters
Lines.ShapefileFromVectorComponentGrids(xGrid, yGrid, lines, scaleFactor,
uniformLength, overwriteExisting=overwriteExisting)
File "C:\Python27\lib\site-packages\GeoEco\SpatialAnalysis\Lines.py", line
49, in ShapefileFromVectorComponentGrids
if xGrid.Shape != yGrid.Shape:
File "C:\Python27\lib\site-packages\GeoEco\Datasets\__init__.py", line 2621,
in _GetShape
return self.GetLazyPropertyValue('Shape')
File "C:\Python27\lib\site-packages\GeoEco\Datasets\__init__.py", line 160,
in GetLazyPropertyValue
value = self._GetLazyPropertyPhysicalValue(name)
File "C:\Python27\lib\site-packages\GeoEco\Datasets\ArcGIS.py", line 1403,
in
_GetLazyPropertyPhysicalValue
self.SetLazyPropertyValue('CornerCoords', (float(d.Extent.split()[1]) +
d.MeanCellHeight / 2.0, float(d.Extent.split()[0]) + d.MeanCellWidth / 2.0))
ValueError: invalid literal for float(): 18,75
Failed to execute (ArcGISLinesFromVectorComponentRasters).
Failed at Tue Mar 11 10:40:58 2014 (Elapsed Time: 0,22 seconds)
Do you have any idea of what could be done to solve this problem?
Many thanks,
Caroline Quod
Geomatic Engineer
I'm having trouble using the "Create Lines from Vector Component Rasters" tool
in ArcGIS 10.2. MGET version I am using is : 0.8a53.
Problem encountered is that my wind raster bounding boxes are encoded with a
comma instead of a point.
It seems to be the origin of the problem, as the dialog box shows:
Executing: ArcGISLinesFromVectorComponentRasters
GLO-BLENDED_WIND_L4-OBS_FULL_TIME_SERIE_1385632487733_eastward_wind_20070321-000000.tif
GLO-BLENDED_WIND_L4-OBS_FULL_TIME_SERIE_1385632487733_northward_wind_20070321-000000.tif
C:\Users\guest906\Desktop\Test_vent\erery.shp 2000 false
Start Time: Tue Mar 11 10:40:58 2014
Running script ArcGISLinesFromVectorComponentRasters...
Creating lines in C:\Users\guest906\Desktop\Test_vent\erery.shp from vector
component rasters
GLO-BLENDED_WIND_L4-OBS_FULL_TIME_SERIE_1385632487733_eastward_wind_20070321-000000.tif
and
GLO-BLENDED_WIND_L4-OBS_FULL_TIME_SERIE_1385632487733_northward_wind_20070321-000000.tif.
ValueError: invalid literal for float(): 18,75
Traceback (most recent call last):
File "C:\Program
Files\GeoEco\ArcGISToolbox\Scripts\ArcGISLinesFromVectorComponentRasters.py",
line 5, in <module>
ExecuteMethodFromCommandLineAsArcGISTool('GeoEco.SpatialAnalysis.Lines',
'ArcGISLines', 'FromVectorComponentRasters')
File "C:\Python27\lib\site-packages\GeoEco\ArcGISScripts.py", line 210, in
ExecuteMethodFromCommandLineAsArcGISTool
exec sourceCode in globals(), locals()
File "<string>", line 1, in <module>
File "C:\Python27\lib\site-packages\GeoEco\SpatialAnalysis\Lines.py", line
158, in FromVectorComponentRasters
Lines.ShapefileFromVectorComponentGrids(xGrid, yGrid, lines, scaleFactor,
uniformLength, overwriteExisting=overwriteExisting)
File "C:\Python27\lib\site-packages\GeoEco\SpatialAnalysis\Lines.py", line
49, in ShapefileFromVectorComponentGrids
if xGrid.Shape != yGrid.Shape:
File "C:\Python27\lib\site-packages\GeoEco\Datasets\__init__.py", line 2621,
in _GetShape
return self.GetLazyPropertyValue('Shape')
File "C:\Python27\lib\site-packages\GeoEco\Datasets\__init__.py", line 160,
in GetLazyPropertyValue
value = self._GetLazyPropertyPhysicalValue(name)
File "C:\Python27\lib\site-packages\GeoEco\Datasets\ArcGIS.py", line 1403,
in
_GetLazyPropertyPhysicalValue
self.SetLazyPropertyValue('CornerCoords', (float(d.Extent.split()[1]) +
d.MeanCellHeight / 2.0, float(d.Extent.split()[0]) + d.MeanCellWidth / 2.0))
ValueError: invalid literal for float(): 18,75
Failed to execute (ArcGISLinesFromVectorComponentRasters).
Failed at Tue Mar 11 10:40:58 2014 (Elapsed Time: 0,22 seconds)
Do you have any idea of what could be done to solve this problem?
Many thanks,
Caroline Quod
Geomatic Engineer
Archives powered by MHonArc.