Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dat2gmt(1gmt) [debian man page]

DAT2GMT(1gmt)						       Generic Mapping Tools						     DAT2GMT(1gmt)

NAME
dat2gmt - Convert an ASCII file to a binary gmt file SYNOPSIS
dat2gmt gmtfile DESCRIPTION
dat2gmt reads an ASCII version of a gmt file (made by gmt2dat) from standard input and creates a binary gmt file. EXAMPLES
To create a gmt file from the ASCII file c2104_fixed.ascii, run dat2gmt c2104.gmt < c2104_fixed.ascii SEE ALSO
gmt2dat(1), GMT(1) REFERENCES
Wessel, P., and W. H. F. Smith, 2011, The Generic Mapping Tools (GMT) version 4.5.7 Technical Reference & Cookbook, SOEST/NOAA. Wessel, P., and W. H. F. Smith, 1998, New, Improved Version of Generic Mapping Tools Released, EOS Trans., AGU, 79(47), p. 579. Wessel, P., and W. H. F. Smith, 1995, New Version of the Generic Mapping Tools Released, EOS Trans., AGU, 76(33), p. 329. Wessel, P., and W. H. F. Smith, 1995, New Version of the Generic Mapping Tools Released, http://www.agu.org/eos_elec/95154e.html, Copyright 1995 by the American Geophysical Union. Wessel, P., and W. H. F. Smith, 1991, Free Software Helps Map and Display Data, EOS Trans., AGU, 72(41), p. 441. GMT 4.5.7 15 Jul 2011 DAT2GMT(1gmt)

Check Out this Related Man Page

GMTLEGS(1gmt)						       Generic Mapping Tools						     GMTLEGS(1gmt)

NAME
gmtlegs - Find cruises in a given region SYNOPSIS
gmtlegs -Rwest/east/south/north[r] [ -G ] [ -M ] [ -T ] [ -L ] [ -V ] DESCRIPTION
gmtlegs will report the name of all the cruises that happened to be wholly or partially inside the specified region. As an option, only those cruises that collected a certain type of data can be reported. -R west, east, south, and north specify the Region of interest, and you may specify them in decimal degrees or in [+-]dd:mm[:ss.xxx][W|E|S|N] format. Append r if lower left and upper right map coordinates are given instead of w/e/s/n. The two shorthands -Rg and -Rd stand for global domain (0/360 and -180/+180 in longitude respectively, with -90/+90 in latitude). Alterna- tively, specify the name of an existing grid file and the -R settings (and grid spacing, if applicable) are copied from the grid. OPTIONS
No space between the option flag and the associated arguments -G Report cruises that collected Gravity data. [Default is any data]. -M Report cruises that collected Magnetics. [Default is any data]. -T Report cruises that collected Topography. [Default is any data]. -L Long output, i.e. cruisenames and data types available. [Default is cruisenames only]. -V Selects verbose mode, which will send progress reports to stderr [Default runs "silently"]. EXAMPLES
To find all cruises around Hawaii that collected gravity and topography: gmtlegs -R-162/-152/18/25 -G -T > hawaii_gt.legs To find all cruises with magnetics: gmtlegs -R0/360/-90/90 -M > all_m.legs SEE ALSO
GMT(1), gmt2bin(1), binlegs(1) REFERENCES
Wessel, P., and W. H. F. Smith, 2011, The Generic Mapping Tools (GMT) version 4.5.7 Technical Reference & Cookbook, SOEST/NOAA. Wessel, P., and W. H. F. Smith, 1998, New, Improved Version of Generic Mapping Tools Released, EOS Trans., AGU, 79(47), p. 579. Wessel, P., and W. H. F. Smith, 1995, New Version of the Generic Mapping Tools Released, EOS Trans., AGU, 76(33), p. 329. Wessel, P., and W. H. F. Smith, 1995, New Version of the Generic Mapping Tools Released, http://www.agu.org/eos_elec/95154e.html, Copyright 1995 by the American Geophysical Union. Wessel, P., and W. H. F. Smith, 1991, Free Software Helps Map and Display Data, EOS Trans., AGU, 72(41), p. 441. GMT 4.5.7 15 Jul 2011 GMTLEGS(1gmt)
Man Page

14 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sorting lines

i have another question.. i have this file: John Jones John Smith Jack Smith 100100 13 Helen Bold 100200 5 how can i use sort to make it look like : Helen Bold John Jones Jack Smith John Smith 100100 13 100200 5 (4 Replies)
Discussion started by: kion
4 Replies

2. Programming

C code for implementation of Memory Mapping

Please post a C code for implementation of Memory Mapping function. It should simulate the mmap command. (1 Reply)
Discussion started by: raviviolet13
1 Replies

3. Shell Programming and Scripting

binary to ascii

Hi, Is there a way to convert the binary file to ascii . the binary file is pipe delimited. from source the file(pipe delimited) is ftped to mainframe and from mainframe it is ftped to the unix box using binary format. Is there a way to change it back to ascii and view it? Thanks! (3 Replies)
Discussion started by: dnat
3 Replies

4. Shell Programming and Scripting

Help me about gmt scripts

does somebody know GMT mapping? please reply (2 Replies)
Discussion started by: SANGUINE
2 Replies

5. UNIX for Dummies Questions & Answers

Mapping PF Keys in Vi

This is my first post and right off the bat, I want to let you know that my experience in UNIX is 2 days only backed up with over 20 years of IT working. So, if this is a dumb question or too stupid, please bear with me. I read somewhere on the web and also on these forums that you can map your... (7 Replies)
Discussion started by: sssccc
7 Replies

6. Shell Programming and Scripting

Replace & sign to &amp word

Hi, I have text file abc.txt. In this file, I have the following data. Input: Mr Smith &amp Mrs Smith Mr Smith &apos Mrs Smith Mr Smith & Mrs Smith Mr Smith& Mrs Smith Mr Smith &Mrs Smith Output: Mr Smith &amp Mrs Smith Mr Smith &apos Mrs Smith Mr Smith &amp Mrs Smith Mr Smith&amp... (4 Replies)
Discussion started by: naveed
4 Replies

7. Shell Programming and Scripting

Coding for GMT, sqlplus and related parameters

Unix gurus, I'm brand new here so go easy on me. I'm trying to automate the following script to be added to crontab which will automate the deployment of five sql scripts based on day of week. I've got three questions pertaining to the following: 1. Our server date+time is running on... (6 Replies)
Discussion started by: WhoDatWhoDer
6 Replies

8. Shell Programming and Scripting

GMT -4 to determine day of week

I pulled the following code from one of Jim's threads. Since my server time is GMT, I need to make sure the output is GMT-4. Does anyone know how to tweak Perl to reflect this? Thanks Scott #!/bin/ksh # input format YYYY-MM-DD prints day name dow() { perl -e ' use POSIX... (13 Replies)
Discussion started by: WhoDatWhoDer
13 Replies

9. Shell Programming and Scripting

Extracting text between two patterns 1 and 2 and pattern2 should be second occurrence of the file

Hi All, I have a small query. I have a file containing the following lines File 1: 29-Jul-2011 GMT Static data requires update <Extraction should start here> ----------- ----------- -------------------- ----------------------- ----------- <should stop here> Pattern1 will be time... (2 Replies)
Discussion started by: gangii87
2 Replies

10. AIX

VIOS FC Mapping/NPIV questions

Please forgive me here as I don't fully understand what I am talking about here so if I use the wrong terminology please overlook me. We have multiple AIX LPARs on the managed system with two VIO Servers. A Co-Worker and I are trying to set up a new LPAR client (The guy that knows this is out)... (14 Replies)
Discussion started by: juredd1
14 Replies

11. Shell Programming and Scripting

Bash - file manipulation

I need to change a file like this: John Smith;http://www.profile1.com John Smith;http://www.profile2.com Frank Olsen;http://www.profile3.com Frank Olsen;http://www.profile4.com Into: John Smith;http://www.profile1.com;http://www.profile2.com Frank... (2 Replies)
Discussion started by: locoroco
2 Replies

12. Shell Programming and Scripting

Difference between ascii and binary file -

what is the diff between ascii and binary file. my understand is that.. ascii file - has only line feed - \n in it where as binary file - has both line feed and carriage return in it- \r\n is that correct. also,what is the ksh command to identify whether it is a binary or ascii... (1 Reply)
Discussion started by: billpeter3010
1 Replies

13. Shell Programming and Scripting

Converting a binary file to ascii and vice versa?

Hi All, I have a binary file which is being exported from a Database, and i need to convert that to ASCII format. How can i achieve that? And this solution should work for any file which is given to us; means they will give different files from different tables. Thanks in advance. (8 Replies)
Discussion started by: baranisachin
8 Replies

14. Homework & Coursework Questions

Mount and Mapping are same???

Please let me know if mounted on in Unix and Mapping in Windows are same thing??? (1 Reply)
Discussion started by: MZC
1 Replies