Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
From: | "Stjernholm, Michael" <> |
---|---|
To: | "" <> |
Subject: | [mget-help] Create lines from vector components raster |
Date: | Mon, 16 Aug 2010 21:54:46 +0200 |
Accept-language: | en-US, da-DK |
Acceptlanguage: | en-US, da-DK |
Hi Jason
I'm trying to create vector shape files from u, v data set of "Ocean Surface Current Analysis (OSCAR) Third Degree Resolution data " in ArcGIS 9.3.1 based on the GeoEco-0.8a9.win32-py2.5
I have extracted the u and v components from a smaller part of the "world" from a single date using clip_management function to Erdas .img format.
The 2 components have exact same extent, spatial reference system (a dummy projected system) and same cell size (0.3333333) in X and Y.

When I run the "Create vectors from vector components raster" I get the following message output:
Executing: ArcGISLinesFromVectorComponentRasters C:\GeoPhysical\OceanSurfaceCurrentAnalysis\oscar_vel2009\u_Layer_sept15Clip.img C:\GeoPhysical\OceanSurfaceCurrentAnalysis\oscar_vel2009\v_layer_sep15Clip.img
C:\GeoPhysical\OceanSurfaceCurrentAnalysis\oscar_vel2009\SurfaceCurrents.gdb\Currents_sept15_09 1
Start Time: Mon Aug 16 21:48:46 2010
Running script ArcGISLinesFromVectorComponentRasters...
Creating lines in C:\GeoPhysical\OceanSurfaceCurrentAnalysis\oscar_vel2009\SurfaceCurrents.gdb\Currents_sept15_09 from vector component rasters C:\GeoPhysical\OceanSurfaceCurrentAnalysis\oscar_vel2009\u_Layer_sept15Clip.img
and C:\GeoPhysical\OceanSurfaceCurrentAnalysis\oscar_vel2009\v_layer_sep15Clip.img.
ValueError: The components rasters do not have square cells (the cell width differs from the cell height). Please provide component rasters with square cells.
<type 'exceptions.ValueError'>: The components rasters do not have square cells (the cell width differs from the cell height). Please provide component rasters with square cells.
Failed to execute (ArcGISLinesFromVectorComponentRasters).
End Time: Mon Aug 16 21:48:50 2010 (Elapsed Time: 4.00 seconds)
Do you have clues of what goes wrong ?
Best regards
Michael
Aarhus University
National Environmental research Institute
4000 Roskilde
Denmark
Archives powered by MHonArc.