<!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.9 Overview of GMT 4.3.0 [May-1, 2008]</TITLE> <META NAME="description" CONTENT="1.1.9 Overview of GMT 4.3.0 [May-1, 2008]"> <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="node20.html"> <LINK REL="previous" HREF="node18.html"> <LINK REL="up" HREF="node10.html"> <LINK REL="next" HREF="node20.html"> </HEAD> <BODY bgcolor="#ffffff"> <!--Navigation Panel--> <A NAME="tex2html2838" HREF="node20.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html2832" HREF="node10.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html2826" HREF="node18.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html2834" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html2836" HREF="node258.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html2839" HREF="node20.html">1.1.10 Overview of GMT</A> <B> Up:</B> <A NAME="tex2html2833" HREF="node10.html">1.1 What is new</A> <B> Previous:</B> <A NAME="tex2html2827" HREF="node18.html">1.1.8 Overview of GMT</A> <B> <A NAME="tex2html2835" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html2837" HREF="node258.html">Index</A></B> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION00919000000000000000"> 1.1.9 Overview of </A><A NAME="tex2html514" HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> 4.3.0 [May-1, 2008] </H2> <P> Changes are once again a mix of structural improvements, bug fixes, and a few enhancements. The coastline files (now GSHHS 1.10) have seen minor modifications, the mex supplement now offers support for <A NAME="tex2html515" HREF="http://www.octave.org"><I>Octave</I></A>, all source code is now fully 64-bit compliant, we have added an isolation mode option (if <B>GMT_TMPDIR</B> is defined, write temporary and hidden files to that directory), and the configure/make setup has been further improved (such as honoring CFLAGS and LDFLAGS set by user). Colors may now be specified as hexadecimal codes (e.g., #ff0000 for red), and projections can be specified by name (similar to <A NAME="tex2html516" HREF="http://proj.maptools.org"><I>Proj4</I></A>). Finally, binary table data can now be COARDS-compliant netCDF files. As for documentation, we have now switched from C shell to Bourne shell (although the <I>csh</I><A NAME="4657"></A> examples are still distributed). <P> The following lists specific enhancements or new program options: <P> <OL> <LI><A NAME="tex2html517" HREF="../man/gmt_grdio.c.html"><I><B>gmt_grdio.c</B></I></A><A NAME="4661"></A> is modified so the grid i/o supports the <B>GMT_[DATA<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img12.png" ALT="$\vert$">IMG<IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img12.png" ALT="$\vert$">GRID]DIR</B> environment settings. </LI> <LI><A NAME="tex2html518" HREF="../man/gmt_init.c.html"><I><B>gmt_init.c</B></I></A><A NAME="4666"></A> was enhanced so <B>-U</B> can now interpret a justification (e.g., <I>just/dx/dy</I> on the command line or by setting <B>UNIX_TIME_POS</B>) and we introduced a new default parameter <B>UNIX_TIME_FORMAT</B> which controls the formatting of the timestamp. </LI> <LI><A NAME="tex2html519" HREF="../man/gmt_io.c.html"><I><B>gmt_io.c</B></I></A><A NAME="4672"></A> now implements <B>-b</B>[<B>i</B><IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img12.png" ALT="$\vert$"><B>o</B>]<B>c</B>[<I>var1/...</I>] option to indicate input is netCDF. </LI> <LI><A NAME="tex2html520" HREF="../man/gmtmath.html"><I><B>gmtmath</B></I></A><A NAME="4678"></A> recognizes new constants <B>TMIN</B>, <B>TMAX</B>, <B>TINC</B>, and <B>N</B>. </LI> <LI><A NAME="tex2html521" HREF="../man/grdimage.html"><I><B>grdimage</B></I></A><A NAME="4683"></A> uses <B>-N</B> to not clip image at map boundary. </LI> <LI><A NAME="tex2html522" HREF="../man/grdview.html"><I><B>grdview</B></I></A><A NAME="4689"></A> now uses <B>-Wf</B> to change the facade pen from its default value. </LI> <LI><A NAME="tex2html523" HREF="../man/grdmath.html"><I><B>grdmath</B></I></A><A NAME="4695"></A> recognizes new constants <B>XMIN</B>, <B>XMAX</B>, <B>XINC</B>, <B>NX</B>, and similarly <B>YMIN</B>, <B>YMAX</B>, <B>YINC</B>, <B>NY</B>. </LI> <LI><A NAME="tex2html524" HREF="../man/mapproject.html"><I><B>mapproject</B></I></A><A NAME="4700"></A> <B>-G+</B> will compute distances between coordinates in first 4 columns. </LI> <LI><A NAME="tex2html525" HREF="../man/ps2raster.html"><I><B>ps2raster</B></I></A><A NAME="4706"></A> has new option <B>-D</B> to specify alternative output directory and <B>-V</B> to report progress. </LI> <LI><A NAME="tex2html526" HREF="../man/psrose.html"><I><B>psrose</B></I></A><A NAME="4713"></A> has new option <B>-F</B> to disable the plotting of the scale bar. </LI> <LI><A NAME="tex2html527" HREF="../man/psxyz.html"><I><B>psxyz</B></I></A><A NAME="4719"></A> has new option <B>-D</B> to match option set in <A NAME="tex2html528" HREF="../man/psxy.html"><I><B>psxy</B></I></A><A NAME="4725"></A>. </LI> <LI><A NAME="tex2html529" HREF="../man/mgd77/mgd77list.html"><I><B>mgd77/mgd77list</B></I></A><A NAME="4730"></A> added <B>-Ga</B><IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img12.png" ALT="$\vert$"><B>b</B><I>rec</I> to limit output to a certain record range. </LI> <LI><A NAME="tex2html530" HREF="../man/spotter/hotspotter.html"><I><B>spotter/hotspotter</B></I></A><A NAME="4736"></A> added <B>-S</B> to normalize output to percent of CVA maximum. </LI> <LI><A NAME="tex2html531" HREF="../man/spotter/grdspotter.html"><I><B>spotter/grdspotter</B></I></A><A NAME="4742"></A> is a new program, like <A NAME="tex2html532" HREF="../man/hotspotter.html"><I><B>hotspotter</B></I></A><A NAME="4747"></A>, but using gridded data as input. </LI> </OL> <P> A long list of bugs has been squashed since the last release, the most important are listed below: <P> <DL> <DT><STRONG><A NAME="tex2html533" HREF="../man/gmt_grdio.c.html"><I><B>gmt_grdio.c</B></I></A><A NAME="4752"></A></STRONG></DT> <DD>: Fixed 3 bugs in <TT>GMT_decode_grd_h_info</TT> that caused problems parsing <B>-D</B> option. Explicitly exclude = sign from becoming separator. </DD> <DT><STRONG><A NAME="tex2html534" HREF="../man/gmt_io.c.html"><I><B>gmt_io.c</B></I></A><A NAME="4759"></A></STRONG></DT> <DD>: Now skips blank lines that has leading whitespace. </DD> <DT><STRONG><A NAME="tex2html535" HREF="../man/gmt_init.c.html"><I><B>gmt_init.c</B></I></A><A NAME="4764"></A></STRONG></DT> <DD>: <B>c</B> for seconds was not recognized as <B>TIME_UNIT</B> (expected <B>s</B>, which is kept for backwards compatibility). <B>-B</B> processing of labels used an internal string that was too short, which could lead to label truncation. Fixed ``Holiday-bug'' in <TT>GMT_parse_J_option</TT> introduced 2007-12-21. <TT>GMT_str_tolower</TT> could run out of bounds. Probably only affected 32-bit compilers. <TT>GMT_is_a_blank_line</TT> is now used wherever ascii input is processed. </DD> <DT><STRONG><A NAME="tex2html536" HREF="../man/gmt_map.c.html"><I><B>gmt_map.c</B></I></A><A NAME="4773"></A></STRONG></DT> <DD>: Fixed bug in radial clipping. The radial clipping would sometimes add arcs using the arc that exceeds 180 degrees. Added new rectangular clip function using Sutherland/Hodgman algorithm in order to fix incorrect results in <A NAME="tex2html537" HREF="../man/grdlandmask.html"><I><B>grdlandmask</B></I></A><A NAME="4778"></A>. Minor bug in 4th term in conformal to geodetic lat. Round-off could mess mapping of west/east to xmin/xmax. Now has a safety valve for checking that this does not occur. </DD> <DT><STRONG><A NAME="tex2html538" HREF="../man/gmt_plot.c.html"><I><B>gmt_plot.c</B></I></A><A NAME="4783"></A></STRONG></DT> <DD>: 3-D basemap axis did not use <B>LABEL_OFFSET</B>. </DD> <DT><STRONG><A NAME="tex2html539" HREF="../man/gmt_proj.c.html"><I><B>gmt_proj.c</B></I></A><A NAME="4788"></A></STRONG></DT> <DD>: Fixed bug in azimuthal equal area projection that had the horizon shifted from where it ought to be. Avoid error in <TT>GMT_lamb_sph</TT> when lat is 90 degrees. Clip path for general perspective projection was not closed. For <B>-JS</B>: Would set slice to NaN if central meridian was not Greenwich. For <B>-JR</B>: Longitudes beyond 180 were set to 180. </DD> <DT><STRONG><A NAME="tex2html540" HREF="../man/gmt_stat.c.html"><I><B>gmt_stat.c</B></I></A><A NAME="4796"></A></STRONG></DT> <DD>: Bug in <TT>GMT_median</TT> would sometime give subtle mistakes, most noticeable when only a few values were passed to the function. Traced to the use of <I>size_t</I> variables in expressions that could yield a negative value. Fixed minor issues in <TT>GMT_PvQv</TT> function. </DD> <DT><STRONG><A NAME="tex2html541" HREF="../man/gmt_support.c.html"><I><B>gmt_support.c</B></I></A><A NAME="4803"></A></STRONG></DT> <DD>: Made <TT>GMT_polygon_is_open</TT> tolerant of round-off and if polygon is not open set last to exactly equal first point. <TT>GMT_get_annot_label</TT> did not properly honor the <I>ddd.xx</I> setting. Now implements annotation for Gnomonic maps. In <TT>GMT_contour</TT>, would occasionally not check internal crossings for some interior contours. </DD> <DT><STRONG><A NAME="tex2html542" HREF="../man/pslib.c.html"><I><B>pslib.c</B></I></A><A NAME="4811"></A></STRONG></DT> <DD>: Bug in <TT>ps_shorten_path</TT> lead to SEGV when path resulted in a single point. Fixed error in applying <A NAME="tex2html543" HREF="../man/pstext.html"><I><B>pstext</B></I></A><A NAME="4817"></A>'s <B>-Dj</B><I>dx/dy</I> shift in paragraph mode (<B>-M</B>). Redefine rect symbol to be less prone to round-off. Used internal <I>point_code</I> before it was initialized. This caused <B>PAGE_COLOR</B> not to work (wrote <IMG WIDTH="17" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img14.png" ALT="$<$">NUL<IMG WIDTH="17" HEIGHT="29" ALIGN="MIDDLE" BORDER="0" SRC="img15.png" ALT="$>$"> rather than C). </DD> <DT><STRONG><A NAME="tex2html544" HREF="../man/gmtmath.c.html"><I><B>gmtmath.c</B></I></A><A NAME="4824"></A></STRONG></DT> <DD>: Implemented Welford (1962) algorithm in <B>KURT</B>, <B>SKEW</B> and <B>STD</B> operators for more precise one-pass computation of mean and sum of squares. </DD> <DT><STRONG><A NAME="tex2html545" HREF="../man/gmtselect.c.html"><I><B>gmtselect.c</B></I></A><A NAME="4829"></A></STRONG></DT> <DD>: The <B>-:o</B> option failed to reverse output order. </DD> <DT><STRONG><A NAME="tex2html546" HREF="../man/grd2xyz.c.html"><I><B>grd2xyz.c</B></I></A><A NAME="4835"></A></STRONG></DT> <DD>: Do not abort when <B>-R</B> exceeds grid; simply output common region. For gridline oriented grids: <B>-E</B> returned xll and yll one cell too large. Now writing [xy]llcenter properly. </DD> <DT><STRONG><A NAME="tex2html547" HREF="../man/grdblend.c.html"><I><B>grdblend.c</B></I></A><A NAME="4842"></A></STRONG></DT> <DD>: Did not pick up node registration before calculating output grid size. </DD> <DT><STRONG><A NAME="tex2html548" HREF="../man/grdedit.c.html"><I><B>grdedit.c</B></I></A><A NAME="4847"></A></STRONG></DT> <DD>: Adjust z_min and z_max when changing add_offset or scale_factor. </DD> <DT><STRONG><A NAME="tex2html549" HREF="../man/grdgradient.c.html"><I><B>grdgradient.c</B></I></A><A NAME="4852"></A></STRONG></DT> <DD>: With <B>-D</B> and <B>-S</B> the slopes were not set to NaN if data were NaN. </DD> <DT><STRONG><A NAME="tex2html550" HREF="../man/grdinfo.c.html"><I><B>grdinfo.c</B></I></A><A NAME="4859"></A></STRONG></DT> <DD>: Implemented Welford (1962) algorithm for more precise one-pass computation of mean and sum of squares. zmin==zmax no longer forces <B>-M</B> option. </DD> <DT><STRONG><A NAME="tex2html551" HREF="../man/grdmask.c.html"><I><B>grdmask.c</B></I></A><A NAME="4865"></A></STRONG></DT> <DD>: Tiny bug for determining which hemisphere (N/S) unlikely to have had any effect. Needed to allow for some slop when comparing shrink to 0.0 since sometimes the result of <I>acos</I> is 1e-14 or thereabouts. </DD> <DT><STRONG><A NAME="tex2html552" HREF="../man/grdmath.c.html"><I><B>grdmath.c</B></I></A><A NAME="4870"></A></STRONG></DT> <DD>: Implemented Welford (1962) algorithm in <B>KURT</B>, <B>SKEW</B> and <B>STD</B> operators for more precise one-pass computation of mean and sum of squares. </DD> <DT><STRONG><A NAME="tex2html553" HREF="../man/grdview.c.html"><I><B>grdview.c</B></I></A><A NAME="4875"></A></STRONG></DT> <DD>: The facade (<B>-N</B>) outline was drawn with contour pen. The <B>-Qc</B> option failed to set the ``build image'' flag and produced garbage surface tiles. Also, <B>-T</B>[<B>s</B>] produced polygons that were not checked for wrapping at a periodic map boundary. Clarified that <B>-T</B> cannot take <B>-JZ</B><IMG WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0" SRC="img12.png" ALT="$\vert$"><B>z</B>. </DD> <DT><STRONG><A NAME="tex2html554" HREF="../man/minmax.c.html"><I><B>minmax.c</B></I></A><A NAME="4885"></A></STRONG></DT> <DD>: Could get confused when longitudes crossed dateline or Greenwich, and <B>OUTPUT_DEGREE_FORMAT</B> could interfere with result. </DD> <DT><STRONG><A NAME="tex2html555" HREF="../man/pscontour.c.html"><I><B>pscontour.c</B></I></A><A NAME="4890"></A></STRONG></DT> <DD>: <B>-T</B> option was susceptible to infinite loop if bad record was found. </DD> <DT><STRONG><A NAME="tex2html556" HREF="../man/pshistogram.c.html"><I><B>pshistogram.c</B></I></A><A NAME="4896"></A></STRONG></DT> <DD>: The <B>-R</B> option was processed separately and did not understand time coordinates. Bug in <B>-F</B> option failed to center bins. </DD> <DT><STRONG><A NAME="tex2html557" HREF="../man/psmask.c.html"><I><B>psmask.c</B></I></A><A NAME="4903"></A></STRONG></DT> <DD>: The <B>-D</B> option used the wrong output file name. </DD> <DT><STRONG><A NAME="tex2html558" HREF="../man/psscale.c.html"><I><B>psscale.c</B></I></A><A NAME="4909"></A></STRONG></DT> <DD>: Inverted vertical scale, when using filled rectangles: Colors remained in the original order. Inverted vertical or horizontal scale, when using rectangles with gradients: Size of rectangles followed original order, not inverted. In reverse mode, <B>-Eb</B> was plotting foreground triangle, <B>-Ef</B> background triangle. </DD> <DT><STRONG><A NAME="tex2html559" HREF="../man/pstext.c.html"><I><B>pstext.c</B></I></A><A NAME="4916"></A></STRONG></DT> <DD>: Parsing of <B>-C</B> complained about % sign. </DD> <DT><STRONG><A NAME="tex2html560" HREF="../man/psxy.c.html"><I><B>psxy.c</B></I></A><A NAME="4922"></A></STRONG></DT> <DD>: If first symbol in list with size was not circle, it got rejected. When sizes of <B>-Sr</B> or <B>-Sj</B> were read from list, they were always assumed to be in inches. Drawing arrows with <B>-SvS</B> and time-coordinates did not work as 2nd time coordinate did not get processed properly. </DD> <DT><STRONG><A NAME="tex2html561" HREF="../man/psxyz.c.html"><I><B>psxyz.c</B></I></A><A NAME="4930"></A></STRONG></DT> <DD>: If first symbol in list with size was not circle, it got rejected. When sizes of <B>-Sr</B> or <B>-Sj</B> were read from list, they were always assumed to be in inches. </DD> <DT><STRONG><A NAME="tex2html562" HREF="../man/sample1d.c.html"><I><B>sample1d.c</B></I></A><A NAME="4937"></A></STRONG></DT> <DD>: Calendar time knots did not get properly interpreted with <B>-N</B>. </DD> <DT><STRONG><A NAME="tex2html563" HREF="../man/mgg/mgd77togmt.c.html"><I><B>mgg/mgd77togmt.c</B></I></A><A NAME="4943"></A></STRONG></DT> <DD>: Did not initialize the MGG_SHAREDIR path. </DD> <DT><STRONG><A NAME="tex2html564" HREF="../man/mgd77/mgd77.c.html"><I><B>mgd77/mgd77.c</B></I></A><A NAME="4948"></A></STRONG></DT> <DD>: Wrong header order written if <A NAME="tex2html565" HREF="../man/mgd77convert.html"><I><B>mgd77convert</B></I></A><A NAME="4953"></A> ... <B>-Tt</B> was used. </DD> <DT><STRONG><A NAME="tex2html566" HREF="../man/mgd77/mgd77info.c.html"><I><B>mgd77/mgd77info.c</B></I></A><A NAME="4959"></A></STRONG></DT> <DD>: Could get confused when longitudes crossed dateline or Greenwich, and <B>OUTPUT_DEGREE_FORMAT</B> could interfere with result. </DD> <DT><STRONG><A NAME="tex2html567" HREF="../man/mgd77/mgd77sniffer.c.html"><I><B>mgd77/mgd77sniffer.c</B></I></A><A NAME="4964"></A></STRONG></DT> <DD>: Numerous fixes and enhancements; see ChangeLog. </DD> <DT><STRONG><A NAME="tex2html568" HREF="../man/x2sys/x2sys.c.html"><I><B>x2sys/x2sys.c</B></I></A><A NAME="4969"></A></STRONG></DT> <DD>: Error in determining which columns had been requested. </DD> <DT><STRONG><A NAME="tex2html569" HREF="../man/x2sys/x2sys_binlist.c.html"><I><B>x2sys/x2sys_binlist.c</B></I></A><A NAME="4974"></A></STRONG></DT> <DD>: Could create bad bins because of incorrect reallocation of memory. </DD> <DT><STRONG><A NAME="tex2html570" HREF="../man/x2sys/x2sys_get.c.html"><I><B>x2sys/x2sys_get.c</B></I></A><A NAME="4979"></A></STRONG></DT> <DD>: The <B>-L</B> option did not honor any <B>-F</B> or <B>-N</B> settings. </DD> <DT><STRONG><A NAME="tex2html571" HREF="../man/x2sys/x2sys_put.c.html"><I><B>x2sys/x2sys_put.c</B></I></A><A NAME="4987"></A></STRONG></DT> <DD>: Wrong test when replacing older track info lead to data base loss. </DD> <DT><STRONG><A NAME="tex2html572" HREF="../man/x2sys/x2sys_cross.c.html"><I><B>x2sys/x2sys_cross.c</B></I></A><A NAME="4992"></A></STRONG></DT> <DD>: Used wrong data column order and computed speed when there is no time. <P> </DD> </DL> <P> <HR> <!--Navigation Panel--> <A NAME="tex2html2838" HREF="node20.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> <A NAME="tex2html2832" HREF="node10.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> <A NAME="tex2html2826" HREF="node18.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> <A NAME="tex2html2834" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> <A NAME="tex2html2836" HREF="node258.html"> <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> <BR> <B> Next:</B> <A NAME="tex2html2839" HREF="node20.html">1.1.10 Overview of GMT</A> <B> Up:</B> <A NAME="tex2html2833" HREF="node10.html">1.1 What is new</A> <B> Previous:</B> <A NAME="tex2html2827" HREF="node18.html">1.1.8 Overview of GMT</A> <B> <A NAME="tex2html2835" HREF="node1.html">Contents</A></B> <B> <A NAME="tex2html2837" HREF="node258.html">Index</A></B> <!--End of Navigation Panel--> <ADDRESS> Paul Wessel 2011-02-27 </ADDRESS> </BODY> </HTML>