grdgradient

from http://gmt.soest.hawaii.edu/doc/5.2.1/grdgradient.html

grdgradient

grdgradient - Compute directional derivative or gradient from a grid

Synopsis

grdgradient in_grdfile -Gout_grdfile [ -Aazim[/azim2] ] [ -D[a][c][o][n] ] [ -E[s|p]azim/elev[/ambient/diffuse/specular/shine] ] [ -Lflag ] [ -N[e][t][amp][/sigma[/offset]] ] [ -Rregion ] [ -Sslopefile ] [ -V[level] ] [ -fg ] [ -n<flags> ]

Note: No space is allowed between the option flag and the associated arguments.

Description

grdgradient may be used to compute the directional derivative in a given direction (-A), or the direction (-S) [and the magnitude (-D)] of the vector gradient of the data.

Estimated values in the first/last row/column of output depend on boundary conditions (see -L).

Required Arguments

in_grdfile
2-D grid file from which to compute directional derivative. (See GRID FILE FORMATS below).
-G out_grdfile
Name of the output grid file for the directional derivative. (See GRID FILE FORMATS below).
==============================================================
http://blog.163.com/jey_df/blog/static/1825501612011429104237863/

(2) grdgradient HI_topo2.grd –A0 –Nt –GHI_topo2_int.grd

Grdgradient制作梯度信息的网格文件,得到某一个方向的方向导数,输入文件为HI_topo2.grd,设置方向导数的方向为0°,-N表示归一化,后面的t表示一种归一化算法,输出的文件为HI_topo2_int.grd.

 

================================

 

example02
gmt grdgradient HI_topo2.nc -A0 -Nt -GHI_topo2_int.nc

 example04
gmt grdgradient HI_geoid4.nc -A0 -Gg_intens.nc -Nt0.75 -fg
gmt grdgradient HI_topo4.nc -A0 -Gt_intens.nc -Nt0.75 -fg
example_17
gmt grdgradient india_geoid.nc -Nt1 -A45 -Gindia_geoid_i.nc
example_18
gmt grdgradient AK_gulf_grav.nc -Nt1 -A45 -GAK_gulf_grav_i.nc
example_27
gmt grdgradient tasman_grav.nc -Nt1 -A45 -Gtasman_grav_i.nc
example_28
gmt grdgradient Kilauea.utm.nc -Nt1 -A45 -GKilauea.utm_i.nc
example_29
gmt grdgradient mars2.nc -fg -Ne0.75 -A45 -Gmars2_i.nc

example_32
gmt grdgradient topo.nc -A0/270 -Gillum.nc -Ne0.6

example_33
gmt grdgradient spac.nc -A15 -Ne0.75 -Gspac_int.nc
gmt grdimage spac.nc -Ispac_int.nc -Cz.cpt -JM6i -P -Baf -K -Xc --FORMAT_GEO_MAP=dddF > %ps%

example_34
gmt grdgradient FR+IT.nc -A15 -Ne0.75 -GFR+IT_int.nc

example_37
set G=grav.V18.par.surf.1km.sq
gmt grdgradient %G%.nc -A0 -Nt1 -G%G%_int.nc

 

转载于:https://www.cnblogs.com/gisalameda/p/5377614.html

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值