gmtgravmag3d - Compute the gravity/magnetic effect of a body by the method of Okabe
gmtgravmag3d -Tpxyz_file[+m] -Tvvert_file OR -Tr|sraw_file [ -Cdensity ] [ -D ] [ -Ethickness ] [ -Fxy_file ] [ -Goutputgrid ] [ -Hf_dec/f_dip/m_int/m_dec/m_dip ] [ -Lz_observation ] [ -Sradius ] [ -Zlevel ] [ -V[level] ] [ -fg] Note: No space is allowed between the option flag and the associated arguments.
gmtgravmag3d will compute the gravity or magnetic anomaly of a body described by a set of triangles. The output can either be along a given set of xy locations or on a grid. This method is not particularly fast but allows computing the anomaly of arbitrarily complex shapes.
-Cdensity Sets body density in SI. This option is mutually exclusive with -H. -Hf_dec/f_dip/m_int/m_dec/m_dip Sets parameters for computing a magnetic anomaly. Use f_dec/f_dip to set the geomagnetic declination/inclination in degrees. m_int/m_dec/m_dip are the body magnetic intensity declination and inclination. -Fxy_file Provide locations where the anomaly will be computed. Note this option is mutually exclusive with -G. -Goutgrid Output the gravity or magnetic anomaly at nodes of this grid file. -R[unit]xmin/xmax/ymin/ymax[r] (more ...) Specify the region of interest. -Tpxyz_file[+m] -Tvvert_file OR Tr|sraw_file Gives names of xyz (-Tpxyz_file[+m]) and vertex (-Tvvert_file) files defining a close surface. The file formats correspond to the output of the triangulate program. The optional +m flag to -Td instructs the program that the xyzm file has four columns and that the fourth column contains the magnetization intensity (plus signal), which needs not to be constant. In this case the third argument of the -H option is ignored. A raw format (selected by the -Tr option) is a file with N rows (one per triangle) and 9 columns corresponding to the x,y,x coordinates of each of the three vertex of each triangle. Alternatively, the -Ts option indicates that the surface file is in the ASCII STL (Stereo Lithographic) format. These two type of files are used to provide a closed surface.
-V[level] (more ...) Select verbosity level [c]. -E[thickness] give layer thickness in m [Default = 0 m]. Use this option only when the triangles describe a non-closed surface and you want the anomaly of a constant thickness layer. -L[z_observation] sets level of observation [Default = 0]. That is the height (z) at which anomalies are computed. -Sradius search radius in km. Triangle centroids that are further away than radius from current output point will not be taken into account. Use this option to speed up computation at expenses of a less accurate result. -Z[level] level of reference plane [Default = 0]. Use this option when the triangles describe a non-closed surface and the volume is defined from each triangle and this reference level. An example will be the hater depth to compute a Bouguer anomaly. -fg Geographic grids (dimensions of longitude, latitude) will be converted to meters via a "Flat Earth" approximation using the current ellipsoid parameters. -^ or just - Print a short message about the syntax of the command, then exits (NOTE: on Windows use just -). -+ or just + Print an extensive usage (help) message, including the explanation of any module-specific option (but not the GMT common options), then exits. -? or no arguments Print a complete usage (help) message, including the explanation of options, then exits.
If the grid does not have meter as the horizontal unit, append +uunit to the input file name to convert from the specified unit to meter. If your grid is geographic, convert distances to meters by supplying -fg instead.
Suppose you ... gmt gmtgravmag3d ...
gmt, grdgravmag3d, talwani2d, talwani3d
Okabe, M., Analytical expressions for gravity anomalies due to polyhedral bodies and translation into magnetic anomalies, Geophysics, 44, (1979), p 730-741.
2016, P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.