This blog shows you how to calculate and symbolize wind or current speed and direction when the underlying data is stored as U and V vectors.  In order to capture the speed and direction of wind or a water current, anemometers or Doppler current profilers measure the velocity of the wind or water in two perpendicular directions, U and V.  U is the velocity toward east and V is the velocity toward north.  U is sometimes referred to as the zonal velocity and V the meridional velocity.  Using U and V, both the speed and direction of the wind or water current can be calculated.

Storing information about the flow of wind or water as vectors provides flexibility in how we calculate direction.  This is important because meteorologists and oceanographers describe the flow of wind differently.  Oceanographers prefer to describe wind in terms of the “direction of mass flow” or in other words the direction towards which the wind is blowing. In the oceanographic convention, wind flowing from the south to the north is symbolized by an arrow pointing north.  Meteorologists use an arrow or a special symbol called a wind barb to show the direction from which the wind is blowing.  The head of the arrow or wind barb points in the direction from which the wind is blowing.  In the meteorological convention, a wind blowing from west to east is symbolized by an arrow pointing west.  Water currents are almost always symbolized using the oceanographic convention.

Displaying Direction

To correctly display wind or current direction in ArcMap, the U and V components must be converted to a symbol rotation angle.  The steps below assume that you have a point feature class with the attribute fields u and v.  To calculate the rotation, follow the steps below:

  1. Right-click the point layer in the table of contents.
  2. Click Properties and click the Symbology tab.
  3. Click the Symbol.  The Symbol Selector dialog box opens.
  4. Choose an arrow or wind barb whose head is pointing north.
  5. Click OK to close the Symbol Selector dialog.
  6. Click Advanced and choose Rotation from the drop-down list.  The Rotation dialog box opens.
  7. Choose <expression> in the drop-down list.
  8. Click the Expression Builder button to provide the expression to use for rotating the symbol.
  9. Specify one of the following expression:
    1. Oceanographic Convention: (180/3.14) * Atn2([u],[v])
    2. Meteorological Convention:  (180/3.14) * Atn2([u],[v])+180

Note: The formulas above are correct only if U and V are measured relative to a grid where true north consistently points straight up (e.g. no rotation). Otherwise, a convergence angle correction must be applied based on the projection of the data.

  1. Click OK to close the Expression Builder dialog.
  2. Click Geographic for the Rotation Style.
  3. Click OK on all dialog boxes.

This image shows the Symbology tab and Symbol Selector with the steps marked to apply symbol rotation.

This image shows the Expression Builder dialog with the steps marked to apply symbol rotation.

Displaying Speed

Using a similar procedure, U and V components can be used to calculate and display wind or current speed in ArcMap.

  1. Right-click the point layer in the table of contents.
  2. Click Properties and click the Symbology tab.
  3. Click Advanced and choose Size from the drop-down list.  The Size dialog box opens.
  4. Choose <expression> in the drop-down list.
  5. Click the Expression Builder button to provide the expression to use for the size of the symbols.
  6. Specify the following for the expression: Sqr([u]**2 + [v]**2)Tip:  ArcMap assumes that the size of the symbol returned from the expression is in points (1/72 of an inch).  If the wind or current speeds are relatively low in your data, the symbols may be too small and cartographically unpleasing.  You can adjust the size of the symbols by including a scaling factor in the formula.  For example, Sqr([u]**2 + [v]**2) * 10 will increase the size of the symbols by a factor of 10.
  7. Click OK to close the Expression Builder dialog.
  8. Click OK on all dialog boxes.

from : https://blogs.esri.com/esri/arcgis/2013/07/17/displaying-speed-and-direction-symbology-from-u-and-v-vectors/

Displaying Speed and Direction Symbology from U and V vectors (转)的更多相关文章

  1. Unity Glossary

    https://docs.unity3d.com/2018.4/Documentation/Manual/Glossary.html 2D terms 2D Physics terms AI term ...

  2. 《Note --- Unreal 4 --- PersonaHowToMovement》

    https://docs.unrealengine.com/latest/CHN/Gameplay/HowTo/CharacterMovement/index.html 这里的demo是按照一些per ...

  3. jquery-leonaScroll-1.3-自定义竖向自适应滚动条插件

    下载链接地址:https://share.weiyun.com/9ac3ca3fb29648bb1aad1b83a76b123c (密码:4y9t)[含mini版] 欢迎使用leonaScroll-1 ...

  4. jquery-leonaScroll-1.2-自定义滚动条插件

    leonaScroll-1.2.js 下载链接地址:http://share.weiyun.com/bb531dd6b1916c0023c176897182dc15 (密码:iZck)[内含压缩版] ...

  5. Unity3D 第一人称控制器 C#脚本

    CharacterMotor.cs using UnityEngine; using System.Collections; /** * @Author : www.xuanyusong.com */ ...

  6. 利用Native Client OLEDB 11 高效率地对SQL SERVER 进行查询和插入操作

    前言: 鄙司原始用的都是ADO来访问数据库,而我现在着手的项目是从我的GPS历史数据库中,取出历时数据的一个接口,一个DLL.用ADO写完之后,测试下来,平均4000条的数据,需要 180 毫秒左右. ...

  7. 弄个知乎的粒子动态背景_实践particles.js

    好久没登录知乎,发现他们的登录页面粒子动态效果蛮炫的,查一下代码用了Particles.js基于Canvas画布创建粒子颗粒效果. 上图 上图:   感觉有比格,就照着弄了一个,玩玩.   githu ...

  8. HDOJ 4717 The Moving Points

    The Moving Points Time Limit: 6000/3000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others ...

  9. GLSL语言基础

    from http://www.kankanews.com/ICkengine/archives/120870.shtml 变量 GLSL的变量命名方式与C语言类似.变量的名称可以使用字母,数字以及下 ...

随机推荐

  1. BZOJ2084:[POI2010]Antisymmetry

    浅谈\(Manacher\):https://www.cnblogs.com/AKMer/p/10431603.html 题目传送门:https://lydsy.com/JudgeOnline/pro ...

  2. bzoj 1499 [NOI2005]瑰丽华尔兹——单调队列优化dp

    题目:https://www.lydsy.com/JudgeOnline/problem.php?id=1499 简单的单调队列优化dp.(然而当时却WA得不行.今天总算填了坑) 注意滚动数组赋初值应 ...

  3. Spring XML和Annotation混合配置的时候,XML中Bean名称写错会导致启动异常不打印、死循环

    今天做Tomcat迁移Spring Boot,遇到一个坑.启动没有错误,CPU特别高 经过把堆栈kill -3 打印出来,发现堆栈特别长(没有死循环),所有的堆栈信息都集中在org.springfra ...

  4. float型数据与字节数组的转化

    float型数据与字节数组的转化 字节(float)浮点数为例. 一.C语言 转化常见的方法有: 1.强制指针类型转换. [html] view plain copy //转换float数据到字节数组 ...

  5. Py修行路 python基础 (十九)面向对象进阶(下)

    item系列 __slots__方法 __next__ 和 __iter__实现迭代器  析构函数 上下文管理协议 元类一.item系列 把对象操作属性模拟成字典的格式.  例如:对象名['key'] ...

  6. js中的webworker

    js中的webworker webworker的作用类似于java的多线程 以独立文件的形式运行webworker index.html <!DOCTYPE html> <html ...

  7. generate_scripts

    echo "#!/usr/bin/env python" >$1echo "#-*- encoding=UTF-8 -*-" >>$1echo ...

  8. 执行CRUD总结

  9. sendMail在centos下的安装

    一.sendEmail介绍   SendEmail is a lightweight, command line SMTP email client. If you have the need to ...

  10. django-model之Q查询补充

    之前我们使用Q查询都是直接将Q对象写死到filter中,例如: 1.查询id大于1并且评论数大于100的书 print(models.Book.objects.filter(Q(nid__gt=1)& ...