<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 2002-2-1 (1.71) original version by: Nikos Drakos, CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>1.1.10 Overview of GMT 4.1.4 [Nov-1, 2006]</TITLE> <META NAME="description" CONTENT="1.1.10 Overview of GMT 4.1.4 [Nov-1, 2006]"> <META NAME="keywords" CONTENT="GMT_Docs"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="STYLESHEET" HREF="GMT_Docs.css"> <LINK REL="next" HREF="node21.html"> <LINK REL="previous" HREF="node19.html"> <LINK REL="up" HREF="node10.html"> <LINK REL="next" HREF="node21.html"> </HEAD> <BODY bgcolor="#ffffff"> <!--Navigation Panel--> <A NAME="tex2html2778" HREF="node21.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html2772" HREF="node10.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html2766" HREF="node19.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html2774" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html2776" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html2779" HREF="node21.html">1.1.11 Overview of GMT</A> <B> Up:</B> <A NAME="tex2html2773" HREF="node10.html">1.1 What is new</A> <B> Previous:</B> <A NAME="tex2html2767" HREF="node19.html">1.1.9 Overview of GMT</A> <B> <A NAME="tex2html2775" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html2777" HREF="node256.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION009110000000000000000"> 1.1.10 Overview of </A><A NAME="tex2html612" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> 4.1.4 [Nov-1, 2006] </H2> <P> Changes in <A NAME="tex2html613" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> 4.1.4 are again relatively minor and predominantly bug fixes. One imporant new feature is that <A NAME="tex2html614" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> can now automatically recognize the format of the grid file given to a program. The use of the ``=id'' mechanism is now only needed when writing an output file in a grid format other than the netCDF default or when reading using custom scaline and translation is required. We have also added a new user directory pointed to by <B>GMT_USERDIR</B> (default directory is <U><IMG WIDTH="16" HEIGHT="15" ALIGN="BOTTOM" BORDER="0" SRC="img14.png" ALT="$\sim$">/.gmt</U>) where items such as <U>.gmtdefaults4</U> will be looked for. Additionally, a few enhancements have been made to overcome limitations in the previous versions: <P> <OL> <LI><A NAME="tex2html615" HREF="../man/grd2cpt.html"><I><B>grd2cpt</B></I></A><A NAME="5424"></A> has a new option <B>-T</B> for the creation of tables symmetric about zero. </LI> <LI><A NAME="tex2html616" HREF="../man/grdblend.html"><I><B>grdblend</B></I></A><A NAME="5430"></A> will accept negative weights which are taken to mean that the sense of tapering should be reversed. </LI> <LI><A NAME="tex2html617" HREF="../man/grdedit.html"><I><B>grdedit</B></I></A><A NAME="5435"></A> has a new option <B>-E</B> to transpose the entire grid. </LI> <LI><A NAME="tex2html618" HREF="../man/grdmath.html"><I><B>grdmath</B></I></A><A NAME="5441"></A> has a new option <B>-N</B> to turn off strict domain match checking when multiple grid files are involved. </LI> <LI><A NAME="tex2html619" HREF="../man/grdreformat.html"><I><B>grdreformat</B></I></A><A NAME="5447"></A> now supports the <B>-f</B> option. </LI> <LI><A NAME="tex2html620" HREF="../man/nearneighbor.html"><I><B>nearneighbor</B></I></A><A NAME="5453"></A> will now optionally accept a <I>min_sectors</I> argument appended to the <B>-N</B> option. </LI> <LI><A NAME="tex2html621" HREF="../man/pshistogram.html"><I><B>pshistogram</B></I></A><A NAME="5459"></A>'s option <B>-I</B> can now accept a modifier <B>O</B> to output all bin data even if <IMG WIDTH="39" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img16.png" ALT="$y = 0$">. </LI> <LI><A NAME="tex2html622" HREF="../man/psscale.html"><I><B>psscale</B></I></A><A NAME="5465"></A> will now invert the color scale if a negative length is provided, and <B>-I</B> will now work with colormaps with non-constant interval and with gaps (<B>-L</B>). </LI> <LI><A NAME="tex2html623" HREF="../man/psxy.html"><I><B>psxy</B></I></A><A NAME="5472"></A> and <A NAME="tex2html624" HREF="../man/psxyz.html"><I><B>psxyz</B></I></A><A NAME="5477"></A> have a new option <B>-Sj</B><IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$"><B>J</B> that plots a rotatable rectangle but otherwise behaves similarly to <B>-Se</B><IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$"><B>E</B>. </LI> <LI><A NAME="tex2html625" HREF="../man/ps2raster.html"><I><B>ps2raster</B></I></A><A NAME="5484"></A> has many improvements; added EPS output; high-quality PDF output. Also removed -dDOINTERPOLATE option which caused inversion of colour map and had no benefits. </LI> </OL> <P> Below is a list of previous problems (a few accidently introduced in <A NAME="tex2html626" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> 4.1.3) that we have identified and corrected in the current release: <P> <DL> <DT><STRONG><A NAME="tex2html627" HREF="../man/gmt_agc.c.html"><I><B>gmt_agc.c</B></I></A><A NAME="5492"></A></STRONG></DT> <DD>: AGC grids use 0 to represent NaNs - this was not implemented yet. </DD> <DT><STRONG><A NAME="tex2html628" HREF="../man/gmt_calclock.c.html"><I><B>gmt_calclock.c</B></I></A><A NAME="5497"></A></STRONG></DT> <DD>: Proper rounding of time when converting to dates. </DD> <DT><STRONG><A NAME="tex2html629" HREF="../man/gmt_support.c.html"><I><B>gmt_support.c</B></I></A><A NAME="5502"></A></STRONG></DT> <DD>: Fixed bug in <B>-I</B> when modifier <B>=</B> was used. </DD> <DT><STRONG><A NAME="tex2html630" HREF="../man/gmt_init.c.html"><I><B>gmt_init.c</B></I></A><A NAME="5508"></A></STRONG></DT> <DD>: Fixed bug not recognizing <B>PAGE_ORIENTATION</B> as well as a bug that prevented proper writing of <B>PAGE_ORIENTATION</B> in defaults. Added a check so <A NAME="tex2html631" HREF="../man/gmtset.html"><I><B>gmtset</B></I></A><A NAME="5513"></A> will not crash if VALUE is not given. Finally, let <B>GMT_HOMEDIR</B> default to C: under Windows if <B>HOME</B> is not set. </DD> <DT><STRONG><A NAME="tex2html632" HREF="../man/gmt_io.c.html"><I><B>gmt_io.c</B></I></A><A NAME="5518"></A></STRONG></DT> <DD>: <TT>GMT_scanf_argtime</TT> now returns RELTIME (not ABSTIME) when relative time is found. </DD> <DT><STRONG><A NAME="tex2html633" HREF="../man/gmt_grdio.c.html"><I><B>gmt_grdio.c</B></I></A><A NAME="5524"></A></STRONG></DT> <DD>: Set [xy]_units also in <TT>GMT_update_grd_info</TT>. Fixed time-scaling bug on input (was always seconds). Make units check case-insensitive. Check for toggled lat/lon coordinates. </DD> <DT><STRONG><A NAME="tex2html634" HREF="../man/gmt_nc.c.html"><I><B>gmt_nc.c</B></I></A><A NAME="5530"></A></STRONG></DT> <DD>: Made sure no garbage remains under Cygwin when using <TT>strncpy</TT>. Check if x- and y-coordinates have constant step sizes; issue warning if not. </DD> <DT><STRONG><A NAME="tex2html635" HREF="../man/gmt_plot.c.html"><I><B>gmt_plot.c</B></I></A><A NAME="5536"></A></STRONG></DT> <DD>: Bugs related to annotations with <B>-JPa</B> and its <B>z</B> modifier fixed. Log gridlines did not work for 3-D view. 3-D axis label would sometimes get misplaced due to round-off. 3-D map scale did not project correctly. Duplicate title could appear if <B>-JX</B> was used and one axis was geographic (d). Needed to add secondary font to list to be encoded. </DD> <DT><STRONG><A NAME="tex2html636" HREF="../man/pslib.c.html"><I><B>pslib.c</B></I></A><A NAME="5543"></A></STRONG></DT> <DD>: Fixed memory management in LZW compression (memory leak). Improved EPS conformance. </DD> <DT><STRONG><A NAME="tex2html637" HREF="../man/filter1d.html"><I><B>filter1d</B></I></A><A NAME="5548"></A></STRONG></DT> <DD>: Robust option used extreme rather than median to determine the outliers. </DD> <DT><STRONG><A NAME="tex2html638" HREF="../man/gmtconvert.html"><I><B>gmtconvert</B></I></A><A NAME="5553"></A></STRONG></DT> <DD>: Did not have <B>-L</B> listed in synopsis. </DD> <DT><STRONG><A NAME="tex2html639" HREF="../man/grdblend.html"><I><B>grdblend</B></I></A><A NAME="5559"></A></STRONG></DT> <DD>: Now skip grids that are entirely outside the region of interest. </DD> <DT><STRONG><A NAME="tex2html640" HREF="../man/grdcontour.html"><I><B>grdcontour</B></I></A><A NAME="5564"></A></STRONG></DT> <DD>: Crashed if <B>-M</B> and <B>-D</B> were used with no file name specified. The <B>-W</B>[+][c<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">a] option was susceptible to misinterpreting things like <B>-W</B>cyan as contour pen with color yan. </DD> <DT><STRONG><A NAME="tex2html641" HREF="../man/grdcut.html"><I><B>grdcut</B></I></A><A NAME="5573"></A></STRONG></DT> <DD>: Require geographical instead of global in order to shift by 360 degrees. </DD> <DT><STRONG><A NAME="tex2html642" HREF="../man/grdfilter.html"><I><B>grdfilter</B></I></A><A NAME="5578"></A></STRONG></DT> <DD>: Should not wrap over pole unless grid extends all the way to the pole. </DD> <DT><STRONG><A NAME="tex2html643" HREF="../man/grdinfo.html"><I><B>grdinfo</B></I></A><A NAME="5583"></A></STRONG></DT> <DD>: When <B>-C</B> was used there was no linefeed at the end. </DD> <DT><STRONG><A NAME="tex2html644" HREF="../man/grdsample.html"><I><B>grdsample</B></I></A><A NAME="5589"></A></STRONG></DT> <DD>: <B>-T</B> did not ignore <B>-R</B> (as per manual), resulting in changed cell size. <B>-F</B> did not use gridline node registration as default, rather that of the input grid. When using pixel node registration, number of cells would be one too large. <B>-L</B> worked only in very limited case: going from x=[-180;180] to x=[0;360]. Now supports any periodicity in X and Y (as per manual). <B>-F</B> again forces pixel node registration. Default is same as input. More consistency with manual. </DD> <DT><STRONG><A NAME="tex2html645" HREF="../man/grdtrack.html"><I><B>grdtrack</B></I></A><A NAME="5599"></A></STRONG></DT> <DD>: The <B>-Z</B> option failed to be set for some input configurations. </DD> <DT><STRONG><A NAME="tex2html646" HREF="../man/grdvector.html"><I><B>grdvector</B></I></A><A NAME="5605"></A></STRONG></DT> <DD>: Added <B>-f</B> option. </DD> <DT><STRONG><A NAME="tex2html647" HREF="../man/grdview.html"><I><B>grdview</B></I></A><A NAME="5611"></A></STRONG></DT> <DD>: The <B>-W</B>[c<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">m] option was susceptible to misinterpreting things like <B>-W</B>cyan as contour pen with color yan. </DD> <DT><STRONG><A NAME="tex2html648" HREF="../man/grdvolume.html"><I><B>grdvolume</B></I></A><A NAME="5618"></A></STRONG></DT> <DD>: Three bugs squashed: gridcell oriented grids now get proper area and volume, including edges; only one cell per NaN is excluded; when <B>-C</B> and <B>-L</B> are combined, the volume is properly corrected for the baseline height. </DD> <DT><STRONG><A NAME="tex2html649" HREF="../man/pscoast.html"><I><B>pscoast</B></I></A><A NAME="5625"></A></STRONG></DT> <DD>: <B>-N</B> and <B>-I</B> reset pens to default settings after initially changing them. Did not change output mode to binary (Windows only) if <B>-M</B> and <B>-b</B> were set. Both <B>-Gc</B> and <B>-Sc</B> needed to check that no letter is following the <B>c</B> modifier. </DD> <DT><STRONG><A NAME="tex2html650" HREF="../man/pscontour.html"><I><B>pscontour</B></I></A><A NAME="5636"></A></STRONG></DT> <DD>: The <B>-D</B> dump option wrote projected instead of original coordinates. </DD> <DT><STRONG><A NAME="tex2html651" HREF="../man/psimage.html"><I><B>psimage</B></I></A><A NAME="5642"></A></STRONG></DT> <DD>: <B>-G</B><I>colorname</I> (e.g., <B>-G</B>black) will now be interpreted as foreground color, e.g. <B>-Gf</B>black. </DD> <DT><STRONG><A NAME="tex2html652" HREF="../man/pslegend.html"><I><B>pslegend</B></I></A><A NAME="5650"></A></STRONG></DT> <DD>: Did not replace octagons with polygon form when pattern was requested. Did not consider if absolute coordinates were given in <B>-X</B> and <B>-Y</B>. Passed the wrong character code when <B>M</B> was chosen with a plain scale modifier. </DD> <DT><STRONG><A NAME="tex2html653" HREF="../man/psscale.html"><I><B>psscale</B></I></A><A NAME="5657"></A></STRONG></DT> <DD>: A vertical bar with a label placed along it was mis-justified. </DD> <DT><STRONG><A NAME="tex2html654" HREF="../man/pstext.html"><I><B>pstext</B></I></A><A NAME="5662"></A></STRONG></DT> <DD>: Default for <B>-G</B> is now <B>BASEMAP_FRAME_RGB</B> as for other map annotations. The box option <B>-W</B>[<I>fill</I>][o<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">O<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">c<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">C][<I>pen</I>]] is now <B>-W</B>[<I>fill</I>,][o<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">O<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">c<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">C][<I>pen</I>]], <I>i.e.</I>, we now use a comma to separate the fill and pen (done since fill may be a name containing o<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">c); parsing is backwards compatible. </DD> <DT><STRONG><A NAME="tex2html655" HREF="../man/psxyz.html"><I><B>psxyz</B></I></A><A NAME="5670"></A></STRONG></DT> <DD>: <B>-C</B> for symbols did not pick up color fill. </DD> <DT><STRONG><A NAME="tex2html656" HREF="../man/trend2d.html"><I><B>trend2d</B></I></A><A NAME="5676"></A></STRONG></DT> <DD>: Processing of <B>-F</B> happened after checking. </DD> <DT><STRONG><A NAME="tex2html657" HREF="../man/xyz2grd.html"><I><B>xyz2grd</B></I></A><A NAME="5682"></A></STRONG></DT> <DD>: Had <B>-Az</B> as default rather than no <B>-A</B>. Fixed bad header parsing when <B>-E</B> was selected. </DD> </DL> A few bug-fixes applies to the supplements as well: <DL> <DT><STRONG><A NAME="tex2html658" HREF="../man/grdraster.html"><I><B>grdraster</B></I></A><A NAME="5690"></A></STRONG></DT> <DD>: Only do 360-degree wrapping if working on a geographic grid. </DD> <DT><STRONG><A NAME="tex2html659" HREF="../man/mgd77list.html"><I><B>mgd77list</B></I></A><A NAME="5695"></A></STRONG></DT> <DD>: Did not process time when <B>-Am</B>2<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">4 was set and time was not requested as output. Also, did not process time when <B>-Am</B>2<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img11.png" ALT="$\vert$">4 was set and time was not requested as output. </DD> <DT><STRONG><A NAME="tex2html660" HREF="../man/x2sys.c.html"><I><B>x2sys.c</B></I></A><A NAME="5702"></A></STRONG></DT> <DD>: Did not look in current dir for *.def files. </DD> </DL> <P> <HR> <!--Navigation Panel--> <A NAME="tex2html2778" HREF="node21.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html2772" HREF="node10.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html2766" HREF="node19.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html2774" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html2776" HREF="node256.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html2779" HREF="node21.html">1.1.11 Overview of GMT</A> <B> Up:</B> <A NAME="tex2html2773" HREF="node10.html">1.1 What is new</A> <B> Previous:</B> <A NAME="tex2html2767" HREF="node19.html">1.1.9 Overview of GMT</A> <B> <A NAME="tex2html2775" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html2777" HREF="node256.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> Paul Wessel 2010-07-14 </ADDRESS> </BODY> </HTML>