Skip to content

Commit c17554a

Browse files
committed
ycugv
1 parent 2baa97d commit c17554a

File tree

1 file changed

+108
-0
lines changed

1 file changed

+108
-0
lines changed

documentation/modules/grdgravmag3d.md

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,111 @@ If two grids are provided then the gravity/magnetic effect of the volume between
2626
- **F** or **track** : -- *track=xy_loc*\
2727
Provide *xy_loc* (file name or GMTdataset) locations where the anomaly will be computed. Note,
2828
this option is mutually exclusive with the **save** option.
29+
30+
31+
Optional Arguments
32+
------------------
33+
34+
- **E** or **thickness** : -- *thickness=??*\
35+
To provide the layer thickness in m [Default = 500 m].
36+
37+
- **H** or **mag_params** : -- *mag_params=f_dec/f_dip/m_int/m_dec/m_dip* **|** *mag_params="magfile"|maggrid* **|** *mag_params="x|X|y|Y|z|Z|h|H|t|T|f|F" **|** *mag_params="+i|+n"*\
38+
Sets parameters for computation of magnetic anomaly (Can be used multiple times).
39+
40+
- *f_dec/f_dip* -> geomagnetic declination/inclination
41+
42+
- *m_int/m_dec/m_dip* -> body magnetic intensity/declination/inclination
43+
44+
OR for a grid mode
45+
46+
- *maggrid*, a GMTgrid grid, or *magfile*, where *magfile* is the name of the magnetic intensity file.
47+
48+
To compute a component, specify any of:
49+
50+
- **x**|**X**|**e**|**E** to compute the E-W component.
51+
52+
- **y**|**Y**|**n**|**N** to compute the N-S component.
53+
54+
- **z**|**Z** to compute the Vertical component.
55+
56+
- **h**|**H** to compute the Horizontal component.
57+
58+
- **t**|**T**|**f**|**F** to compute the total field.
59+
60+
If we want to compute the magnetic anomalies over a large region where the ambient magnetic field
61+
can no longer be assumed to be constant we can set variable inclinations and declinations via IGRF.
62+
Set any of **mag_params="+i|+n"** to do that.
63+
64+
\textinput{common_opts/opt_I}
65+
66+
- **L** or **z_obs** or **observation_level** : -- *z_obs=0*\
67+
Sets level of observation [Default = 0]. That is the height (z) at which anomalies are computed.
68+
69+
- **Q** or **pad** : -- *pad="nn_pad" **|** *pad="pad_dist"* **|** *pad="region"*\
70+
Extend the domain of computation with respect to output **region** region.
71+
- *pad="nn_pad"* artificially extends the width of the outer rim of cells to have a fake width of *n_pad* * dx[/dy].
72+
73+
- *pad="pad_dist"* extend the region by west-pad, east+pad, etc.
74+
75+
- *pad="west/east/south/north"* Same syntax as **region**.
76+
77+
\textinput{common_opts/opt_R}
78+
79+
- **S** or **radius** : -- *radius=30*\
80+
Set search radius in km (valid only in the two grids mode OR when **thickness**) [Default = 30 km].
81+
This option serves to speed up the computation by not computing the effect of prisms that
82+
are further away than *radius* from the current node.
83+
84+
\textinput{common_opts/opt_V}
85+
86+
- **Z** or **level** or **reference_level** : -- *level="b|t"* **|** *level=(bottom=true | top=true)*\
87+
level of reference plane [Default = 0]. Use this option when the triangles describe a non-closed
88+
surface and the volume is defined from each triangle and this reference level. An example will be
89+
the water depth to compute a Bouguer anomaly. Use **level=:b** or **level=:t** to close the body
90+
at its bottom (for example, to compute the effect of a dome) or at its top (to compute the effect of a *spoon*).
91+
92+
\textinput{common_opts/opt_f}
93+
94+
\textinput{common_opts/opt__x}
95+
96+
Grid Distance Units
97+
-------------------
98+
99+
If the grid does not have meter as the horizontal unit, append **+u**_unit_ to the input file name to convert from the
100+
specified unit to meter. If your grid is geographic, convert distances to meters by supplying **f=:g** instead.
101+
102+
Examples
103+
--------
104+
105+
To compute the vertical component due to a magnetization stored in *mag.grd* over a zone defined by
106+
the surface *bat.grd*, using variable declination and inclination provided the IGRF and using 4
107+
processors, do:
108+
109+
```julia
110+
G = grdgravmag3d("bat.grd", thickness=10000, H="z -H+n -H+mmag.grd", x=4, radius=50);
111+
```
112+
113+
Suppose you want to compute the gravity effect of the Gorringe bank.
114+
115+
\begin{examplefig}{}
116+
```julia
117+
using GMT
118+
119+
G = grdgravmag3d("@earth_relief_10m", region=(-12.5,-10,35.5,37.5),
120+
density=2700, inc=0.05, pad=0.5, z_level=:bottom, f=:g);
121+
viz(G, title="Gorringe FAA", colorbar=true)
122+
```
123+
\end{examplefig}
124+
125+
126+
See Also
127+
--------
128+
129+
gravmag3d, gravprism, talwani2d, talwani3d
130+
131+
Reference
132+
---------
133+
134+
Okabe, M., 1979, Analytical expressions for gravity anomalies due to
135+
polyhedral bodies and translation into magnetic anomalies, *Geophysics*,
136+
44, 730-741.

0 commit comments

Comments
 (0)