I made a 2-D hydrodynamic model in another software (Matlab). The resulting output is a velocity field. I have exported results in an ASCII file containing 4 columns: x,y,u,v which correspond respectively to longitude, latitude, east component, north component.
I would like to know if it was possible in ArcGIS to plot a vector filed from my results.
Don't know if you already solved this interesting problem?
I believe you will need to first convert U and V to Angle (A) and Length (L) of vectors. I suggest you copy your data to an Excel spreadsheet and do the calculations there. If you place U in column D and V in column E, you may then use the following formulas to calculate A and L:
A = ARCTAN(E2/D2)*180/PI()
L = KVROD(D2^2+E2^2)
Import the table data to ArcGIS. Convert to shapefile or featureclass.
You may now set the point symbology using Categories, Select Unique values/ many fields, Specify value fields A and L. Right click a symbol and select properties for all symbols. Find an arrow that points towards the right (you can in fact use and arrow, and change the direction of it to make it point right).
In the Advanced symbol settings, set the Rotation angle to base on field A - artihmetic. And set the size of the points (arrows) to base on field L.
Your response to Phil seems very interesting. I have a similar problem in that I have 3D velocity data from an Acoustic Doppler Current Profiler (ADCP) survey that we recently carried out. I have managed to display the vectors in the horizontal plane about 360 degrees (please see attached) but would like to display the data in 3D, i.e. flow in all other directions (up, down, diagonal, as well as horizontal). I have created text files for each of the velocity components (east, north, up/down) as well as the corresponding depths and latitude and longitude for each vector through the water column.
I was just wondering whether you know a way of displaying this data in 3D in ArcScene?
Dear all I have a current velocity filed u and v, and would like to calculate the velocity and Angel in a way that I can present it using geographical North =O.
In the ArcMap I get the correct velocity filed using the following ecuation in rotation experession:
(180/pi)*atan2(v,u)+90, using aritmetic presentation.
However I would like to have the data, because I need them for the traking analysis which requires angle and length (velocity) raster as input. I didnt find a way to save the data rotated according to the formulae above.