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. 根据wsdl文件生成WebService客户端代码

    有时候在项目中,一个项目可能有好几个公司在做.系统之间难免会出现互相调用接口的现象,这时候有一种办法就是使用webService.本篇文章将介绍如何将对接系统提供的WebService接口,根据对方提 ...

  2. 在window下 进入系统盘命令

    示例: cd C:\work 查看文件夹直接在当前路径下输入 dir 在当前路径下输入 dir/? 查看帮助

  3. js前端处理datetime时间类型

    MySql数据库日期字段定义的是datetime类型,(顺带插入MySql数据库datetime类型可以用这个: str_to_date('2008-4-2 15:23:28','%Y-%m-%d % ...

  4. php读取文件夹文件,清理文件

    // 获取文件夹中图片的数量和名称 public function show_tmp_file() { $handler = opendir('./tmp/');//当前目录中的文件夹下的文件夹 $c ...

  5. MVC 公共类App_Code不识别

    .Net MVC需要写公共类的时候 右击添加 App_Code 文件夹,新建类—>右击类—>属性,生成操作 —>选择 —>编译 .net MVC项目本身是个应用程序,所以其实不 ...

  6. 关于学习ios开发的一些笔记

    关于方法前的 + - 符号 前置加号(+)的方法为类方法,这类方法是可以直接用类名来调用的,它的作用主要是创建一个实例.相当于是静态的方法. 前置减号(-)的方法为实例方法,必须使用类的实例才可以调用 ...

  7. 本人编写的一份前端vue面试题

    说明,此题目本人自出,做过本人所在公司的前端面试题,在此共享给大家 1. 如何在vue组件中实现v-model的功能?(只需给出关键代码) 2. 简述你知道的生命周期函数和执行时机 3. 谈谈你对计算 ...

  8. generate_scripts

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

  9. .gitignore non-valiate

    Git忽略规则及.gitignore规则不生效的解决办法 分享到:更多19 2015-02-12    分类:Share2人评论65,215 次人浏览 在git中如果想忽略掉某个文件,不让这个文件提交 ...

  10. mysql忘记root密码的处理方法

    在linux下,如果忘记了mysql中root用户的密码可以采用以下办法解决. 1. 修改my.cnf,加入skip-grant-tables 修改mysql的配置文件my.cnf,在[mysqld] ...