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).
-Gout_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

°,-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

grdgradient的更多相关文章

  1. [转载]GMT地形数据总结

    [转载]GMT地形数据总结     原文地址:GMT地形数据总结作者:Jason 转载:http://seisman.info/gmt-topo-grid-datas.html   目前接触到的地形数 ...

  2. GMT 绘制台站分布图

    set ps=test.psset J=M4i set R=73/135.5/10/54rem gmt gmtset  FONT_ANNOT_PRIMARY 8p FONT_TITLE 8p  gmt ...

  3. GMTcolor

    http://gmt-tutorials.org/coloring_topography.html gmt grdcut topo15.grd -R -Gcut gmt grdgradient cut ...

随机推荐

  1. win8 hyper-v 禁用不必卸载虚拟机

    转载:http://tylzwp.blogbus.com/logs/232938121.html 禁用hyperv的目的是使用之前在用的VMware的虚拟机,不必重新处理一遍. 具体操作: 1确报之前 ...

  2. Vim插件列表

    01.helm(Vim-Swoop) 02.ap/vim-buftabline 03.wesleyche/SrcExpl 04.vim proc 05.vim shell 06.dhruvasagar ...

  3. android 电容屏(二):驱动调试之基本概念篇

    平台信息: 内核:linux3.4.39系统:android4.4 平台:S5P4418(cortex a9) 作者:瘋耔(欢迎转载,请注明作者) 欢迎指正错误,共同学习.共同进步!! 关注博主新浪博 ...

  4. 【HDOJ】4345 Permutation

    即求P1^n1+P2^n2 + ... + Pk^nk <= n,其中Pk为素数的所有可能组合.思路是DP.1~1000的素数就不到200个.dp[i][j]表示上式和不超过且当前最小素数为P[ ...

  5. Counting sheep...

    Counting sheep... Description: Consider an array of sheep where some sheep may be missing from their ...

  6. bzoj1855

    让我们继续练习dp 首先这道题约束条件很多 但实际上方程还是很好写的,f[i,j]表示第i天时拥有j只股票的最大收益 令p=max(0,i-k-1) 上一次较交易 易得f[i,j]=max(f[i-1 ...

  7. MySQL索引的查看创建和删除

    1.索引作用 在索引列上,除了上面提到的有序查找之外,数据库利用各种各样的快速定位技术,能够大大提高查询效率.特别是当数据量非常大,查询涉及多个表时,使用索引往往能使查询速度加快成千上万倍. 例如,有 ...

  8. CentOS 7 安装 mariaDB

    1.安装数据库 [root@localhost ~]# yum -y  install mariadb-server mariadb mariadb-devel 2.启动数据库[root@localh ...

  9. (转)INSTALLSHIELD 2010 预安装组件和软件

    使用Installshield2010提供的组件 大家再开发软件产品的时候经常是基于某些软件和类库的,像我们的项目就用到了.Net Framework3.5,mapinfo,sqlserver 200 ...

  10. [Bhatia.Matrix Analysis.Solutions to Exercises and Problems]ExI.4.6

    Let $A$ and $B$ be two matrices (not necessarily of the same size). Relative to the lexicographicall ...