Overview
The Vector Field function is used to composite and convert two rasters into a twoband raster that is of either data type MagnitudeDirection or data type UV.
Once you specify the parameters, you can use the Vector Field Renderer function to display your raster.
Notes
If the Input Data Type parameter is MagnitudeDirection, you also need to specify the Angular Reference System. parameter.
The U value is sometimes referred to as the zonal velocity or velocity along latitudinal lines. The V value is sometimes referred to as the meridional velocity or velocity along longitudinal lines.
Conversion between UV and MagnitudeDirection
The two subsections below contain the formulas for the appropriate conversions. The variables are as follows:
 u = vectorU
 v = vectorV
 m = magnitude
 d = direction
MagnitudeDirection to UV
u = m * cos (pi *d / 180)
v = m * sin (pi * d /180)
UV to MagnitudeDirection
m = sqrt (u * u + v * v)
d = atan2 (v / u) * 180 / p
Parameters
Parameter  Description 

Raster1 Input Raster 1  The first input raster. This will be either the U value or the magnitude. 
Raster2 Input Raster 2  The second input raster. This will be either the V value or the direction. 
Input Data Type  The type of vector field your inputs represent.

Angular Reference System  Specifies how the direction component was measured.

Output Data Type  Specifies the type of vector field your output will represent.
