Sponsored Content
Full Discussion: Differential Equations
Special Forums UNIX and Linux Applications High Performance Computing Differential Equations Post 302384153 by otheus on Monday 4th of January 2010 07:27:54 AM
Old 01-04-2010
The standard tools at universities include Maple, Matlab, and Mathematica. These all cost money and are usually licensed per CPU or per computer. A free version of Matlab, called Octave, exists on Linux; but to my knowledge, you can't exploit any kind of parallelism.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Can you perform mathematical equations in UNIX?

Hello one and all, I have a basic background in UNIX, but I was wondering if there is a way to perform simple mathematical equations (like multiplication, addition)? If so, is there a way to multiply values from a column by a value to produce a column with the answers? :confused: I am... (4 Replies)
Discussion started by: VioletFairy
4 Replies

2. UNIX for Dummies Questions & Answers

Tar differential backup

I am backing up some data to an NTFS formatted backup drive. I have to preserve the Unix permissions of the data being backed up and therfore use backup into a tar file. I would like to backup the differnential data in the tar file similiar to how Rsync works so as to save on backup time as it... (1 Reply)
Discussion started by: jelloir
1 Replies

3. UNIX for Advanced & Expert Users

Differential or Incremental backups in Unix

Hi, Just wanted to know is there any way that we can take differential or incremental backups in Unix(Solaris/AIX/Linux or Hpunix).What is the procedure. Is any doc avaialble on this? Its urgent and any help/suggestions would be highly appreciable. Regards, Ravi Dwivedi (3 Replies)
Discussion started by: dwiravi
3 Replies

4. UNIX for Dummies Questions & Answers

Awk - Two equations?

I really know barely anything about awk and the like but I have a bit of code I need help with. The bash script is meant to get my usage numbers from my ISP and it does so perfectly. However I want to know how much I can use each day. So to do this I would need to divide its output by the number... (5 Replies)
Discussion started by: Light_
5 Replies

5. Shell Programming and Scripting

Differential substring removal using coordinates

Hello all, this might be better suited for a bioinformatics forum, but I thought I'd try my luck here as well. I have several tabular text files of DNA sequence reads that appear as such: File_1.txt >H01BA45XW GATTACAGATTCGACATCCAACTGAGGCATT >H02BG78WR CCTTACAGACTGGGCATGAATATTGCATACC... (3 Replies)
Discussion started by: vectorborne5
3 Replies

6. UNIX for Dummies Questions & Answers

[SOLVED] Restoring differential backup files

I'm using a script (automysqlbackup) to dump mysql db's to .sql file followed by taking one full backup of the .sql file and the differential backups of the newer sql file every day using the tool diff. Now the backup destination folder contains files like, I would like to how do i restore... (3 Replies)
Discussion started by: csengineer
3 Replies

7. Shell Programming and Scripting

Try solver System of linear algebraic equations in Shell Bash

I want to try solving system of linear algebraic equations in Shell bash but i have any problems Value input is matrix and I dont know how to input matrix in Shell because that is dont support 2-dimensional array Please help me. Thank you so much (3 Replies)
Discussion started by: newbieseos
3 Replies
GSHHS(1gmt)						       Generic Mapping Tools						       GSHHS(1gmt)

NAME
gshhs - Extract ASCII listings from binary GSHHS or WDBII data files SYNOPSIS
gshhs binaryfile.b [ -Aarea ] [ -G ] [ -Iid ] [ -L ] [ -M ] [ -Nlevel ] [ -Qe|i ] > asciifile.txt DESCRIPTION
gshhs reads the binary coastline (GSHHS) or political boundary or river (WDBII) files and extracts an ASCII listing. It automatically han- dles byte-swabbing between different architectures. Optionally, only segment header info can be displayed. The output header information has the format ID npoints hierarchical-level source area f_area west east south north container ancestor, where hierarchical levels for coastline polygons go from 1 (shoreline) to 4 (lake inside island inside lake inside land). Source is either W (World Vector Shoreline) or C (CIA World Data Bank II); lower case is used if a lake is a river-lake (a portion of a river that is so wide it is better represented by a closed polygon). The west east south north is the enclosing rectangle, area is the polygon area in km^2 while f_area is the actual area of the ancestor polygon (at full resolution), container is the ID of the polygon that contains this polygon (-1 if none), and ancestor is the ID of the polygon in the full resolution set that was reduced to yield this polygon (-1 if full resolution since there is no ancestor). For river and border data the header is simply ID npoints hierarchical-level source west east south north. For more information about the file formats, see TECHNICAL INFORMATION below. binaryfile.b GSHHS or WDBII binary data file as distributed with the GSHHS data supplement. Any of the 5 standard resolutions (full, high, intermediate, low, crude) can be used. -A Only output polygons whose area equals or exceeds the area value in km^2 [Default outputs all polygons]. -G Write output that can be imported into GNU Octave or Matlab by ending each segment with a NaN-record. -I Only output information for the polygon that matches id. Use -Ic to get all the continents only [Default outputs all polygons]. -L Only output a listing of polygon or line segment headers [Default outputs headers and data records]. -M Start all header records with the GMT multiple segment indicator '>' [Default uses P for polygons and L for lines]. -N Only output features whose level matches the given level [Default will output all levels]. -Q Control what to do with river-lakes (river sections large enough to be stored as closed polygons). Use -Qe to exclude them and -Qi to exclude everything else instead [Default outputs all polygons]. EXAMPLES
To convert the entire intermediate GSHHS binary data to ASCII files for Octave/Mathlab, run gshhs gshhs_i.b -G > gshhs_i.txt To only get a listing of the headers for the river data set at full resolution, try gshhs wdb_rivers_f.b -L > riverlisting.txt To only extract lakes, excluding river-lakes, from the high resolution file, try gshhs gshhs_h.b -Ee -N2 > all_lakes.txt TECHNICAL INFORMATION
Users who wish to access the GSHHS or WDBII data directly from their custom programs should consult the gshhs.c and gshhs.h source code and familiarize themselves with the data format and how various information flags are packed into a single 4-byte integer. While we do not maintain any Octave/Matlab code to read these files we are aware that both Mathworks and IDL have made such tools available to their users. However, they tend not to update their code and our file structure has evolved considerably over time, breaking their code. Here, some general technical comments on the binary data files are given. GSHHS: These files contain completely closed polygons of continents and islands (level 1), lakes (level 2), islands-in-lakes (level 3) and ponds-in-islands-in-lakes (level 4); a particular level can be extracted using the -N option. Continents are identified as the first 6 polygons and can be extracted via the -Ic option. The IDs for the continents are Eurasia(0), Africa(1), North America(2), South America(3), Antarctica(4), and Australia(5). Files are sorted on area from large to small. There are two sub-groups for level 2: Regular lakes and the so-called "river-lakes", the latter being sections of a river that are so wide to warrant a polygon representation. These river- lakes are flagged in the header (also see -Q). All five resolutions are free of self-intersections. Areas of all features have been com- puted using a Lambert azimuthal equal-area projection centered on the polygon centroids, using WGS-84 as the ellipsoid. GMT use the GSHHS as a starting point but then partition the polygons into pieces using a resolution-dependent binning system; parts of the world are then rebuilt into closed polygons on the fly as needed. For more information on GSHHS processing, see Wessel and Smith(1996). WDBII. These files contain sets of line segments not necessarily in any particular order. Thus, it is not possible to extract information pertaining to just one river or one country. Furthermore, the 4 lower resolutions derive directly from the full resolution by application of the Douglas-Peucker algorithm (see gshhs_dp), hence self-intersections are increasingly likely as the resolution is degraded. Note that the river-lakes included in GSHHS are also duplicated in the WDBII river files so that each data set can be a stand-alone representation. Users who wish to access both data sets can recognize the river-lakes features by examining the header structure (see the source code for details); they are also the only closed polygons in the WDBII river file. There are many levels (classes) in the river file: River-lakes(0), Permanent major rivers(1), Additional major rivers(2), Additional rivers(3), Minor rivers(4), Intermittent rivers -- major(6), Intermittent rivers -- additional(7), Intermittent rivers -- minor(8), Major canals(10), Canals of lesser importance(11), and Canals -- irrigation type(12). For the border file there are three levels: National boundaries(1), Internal domestic boundaries(2), and interna- tional maritime boundaries(3). Individual levels or classes may be extracted via -N. REFERENCES
Douglas, D. H., and T. K. Peucker, 1973, Algorithms for the reduction of the number of points required to represent a digitized line of its caricature, Can. Cartogr., 10, 112-122. Gorny, A. J., 1977, World Data Bank II General User GuideRep. PB 271869, 10pp, Central Intelligence Agency, Washington, DC. Soluri, E. A., and V. A. Woodson, 1990, World Vector Shoreline, Int. Hydrograph. Rev., LXVII(1), 27-35. Wessel, P., and W. H. F. Smith, 1996, A global, self-consistent, hierarchical, high-resolution shoreline database, J. Geophys. Res., 101(B4), 8741-8743. SEE ALSO
GMT(1), gshhs_dp(1) gshhstograss(1) GMT 4.5.7 15 Jul 2011 GSHHS(1gmt)
All times are GMT -4. The time now is 10:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy