VectorField

Summary

Visualizes flow direction and magnitude information in a raster with vector symbols.

Discussion

For more information about how this function works, see the Vector Field raster function.

The referenced raster dataset for the raster object is temporary. To make it permanent, you can call the raster object's save method.

Syntax

VectorField (raster_u_mag, raster_v_dir, {input_data_type}, {angle_reference_system}, {output_data_type})
ParameterExplanationData Type
raster_u_mag

The first input raster, which is either the U value or the magnitude.

Raster
raster_v_dir

The second input raster, which is either the V value or the direction.

Raster
input_data_type

The type of vector field your inputs represent.

  • UnknownIt is unknown whether the inputs represent U-V or Magnitude-Direction.
  • Vector-UVInput data represents U and V components.
  • Vector-MagDir Input data represents magnitude and direction.

(The default value is Vector-UV)

String
angle_reference_system

Specifies how the direction component was measured.

  • Geographic0° points due north, and 90° points due east.
  • Arithmetic 0° points due east, and 90° points due north.

(The default value is Geographic)

String
output_data_type

Specifies the type of vector field your output will represent.

  • Vector-UVOutput data represents U and V components.
  • Vector-MagDirOutput data represents magnitude and direction.

(The default value is Vector-UV)

String
Return Value
Data TypeExplanation
Raster

The output raster.


In this topic