next up previous contents index
Next: 1.1.3 Overview of GMT Up: 1.1 What is new Previous: 1.1.1 Overview of GMT   Contents   Index

1.1.2 Overview of GMT 4.5.2 [Jan-15, 2010]

This is mostly another bug-fix release, including one that required us to add more meta-data to the GSHHS coastline netCDF files. Therefore, this version requires GSHHS 2.0.2 or higher. As was the case for 4.5.1, note that the GSHHS polygons themselves have not changed (still at version 2.0). We also added in the relatively recent Nunavut province boundary in Canada. However, some enhancements were added as well, most notably a new graph frame mode for linear projections (to add arrow heads to math axes) and a new symbol in psxy.c (to draw a circular arrow used to indicate angles); these capabilities are demonstrated in a new (and final) example 30. Finally, we fixed the long-standing problem of psxy -SE requesting major and minor axes but actually treating them as if they are semi-axes. We now consistently expect and use major and minor axes; you may thus notice a scaling of two if you continue to give semi-major/minor axes. Here is the list of bug corrections:

configure
: Fixed bug with -rpath.
gmt_customio.c
: Fixed bug resulting from releasing the pointer to from_gdalread structure before its members were freed.
gmt_gdalread.c
: Force computation of min/max since metadata info may be wrong.
gmt_grdio.c
: GMT_read_img did not apply swab if little-endian architecture.
gmt_io.c
: GMT_access did not check for NULL filename.
gmt_init.c
: Now guards against getting a negative hash value, which happened when text was Russian language codes from ru.d. If GMT_DATADIR was set to a list of colon-separated dirs then init failed since we tried to check access as if GMT_DATADIR was always a single entity (as in the past). Opened file with fopen but closed with GMT_fclose. Bug in the parsing of -Jglon/lat/radius/lat. Both .gmtdefaults4 and .gmtcommands4 were assumed to be in UNIX format. Now we properly chop off Windows or Unix end-of-line characters.
gmt_mgg_header2
: Opened file with GMT_fopen but closed with fclose.
gmt_plot.c
: qsort of GMT_LONGs was passed int arrays. The calculation of the actual plot width of a map scale did not account for the effect of a 3-D view angle.
gmt_shore.c
: Changes to accommodate new GSHHS2.0.2 netCDF files which needed more metadata to properly compute the level of tile corners after features where dropped due to size, etc.
gmt_support.c
: Increase the size of the variable that contains the path to a CPT file and the pathname to BUFSIZ bytes.
gmtconvert.c
: The -S option failed for actual matches; the 2009/5/26 change screwed that up. Now fixed and tested.
grdcontour.c
: The -Q option should only apply to closed contours, and -T failed to find an inside point for some oblique projections.
grdgradient.c
: Now, -Lg will imply -fg to properly set geographic units. Fixed bug where the gradient at the south pole was not replicated to x = east.
grdlandmask.c
: Round-off and bug caused missing nodes for -F with -Rd.
grdtrack.c
: The -Z option gave z-values a longitude formatting, including 360-degree wrapping.
mapproject.c
: The -S option failed after recent i/o makeover.
pslib.c
: Ellipse was wrongly dimensioned by semi-major and semi-minor axes, instead of major and minor axes. Also, memory never got freed by ps_free.
psrose.c
: Needed to set scale to 1 so the bounding box calculations would be correct for EPS output.
psscale.c
: The -Bg now correctly produces gridlines using GRID_PEN_PRIMARY.
psxy.c
: Incorrectly drew tips at plot boundary when clipping the error bars.
psxyz.c
: Fixed bug in distance sorting (also made much simpler).
imgsrc/img2google
: One gmtmath call did not have the required -Q.
mgd77/mgd77sniffer.c
: SEGV when an array index was allowed to become -1.
misc/gmt2kml.c
: Removed rogue newline before writing coordinates and an additional $>$ in a tag.
misc/gmtstitch.c
: NULL segment headers were passed to strcpy() to give SEGV; also fixed output message when -C was used and only one segment was present.
misc/kml2gmt.c
: Mix of fopen and GMT_fclose not good under Windoze.
sph/sphinterpolate.c
: Bad index on line 317 went outside array limit. Also did not initialize the grid header properly.
sph/sphdistance.c
: Did not initialize the grid header properly.
spotter/backtracker.c
: When -L is set, -mo must be turned on automatically even if -m is not set.
spotter/grdrotater.c
: Bug in node index resulted in no longitudinal variation in the rotated grid.
x2sys/x2sys_init.c
: Did not accept -m, only the now obsolete -M.
x2sys/x2sys_datalist.c
: Did not retrieve the correct data columns when -F was used.
x2sys/x2sys_list.c
: Weights were not written out when names were selected as well, as in -Fncw.

Here is a list of the recent enhancement to various programs:

  1. fitcircle.c will let -S optionally take a fixed latitude instead of finding the best-fitting latitude [Default].
  2. gmtdefaults.c has new BASEMAP_TYPE = graph option for linear projections that wish to have their axes extended 7.5%, ending in arrow heads.
  3. grd2xyz.c has a new option -N which can be used to replace NaNs with another value on output.
  4. psxy.c now has a new symbol -Sm option for math angle, which lets user draw a circular arc with optional curved arrow heads at neither, one, or both ends.
  5. psxyz.c also has the new symbol -Sm option but does not draw the curved arrow heads yet.
  6. mgd77/mgd77manage.c adds attribute array of TZ corrections for the few cruises that stored TZ and local time instead of UTC time.
  7. spotter/rotconverter.c has new option -E to reduce stage pole opening angles by fact [0.5] (e.g., to get half-spreading rates).
  8. x2sys/x2sys.c now lets x2sys programs automatically strip off extensions for tracks given via list files. Also, various lists can contain header records.
  9. x2sys/x2sys_get.c has new option -E to select extensions on output, and -Q[i$\vert$e] to be used with -L. Finally, -D now only lists track names.
  10. x2sys/x2sys_solve.c has new option -Z to remove smallest dist/time for -Ed$\vert$t.


next up previous contents index
Next: 1.1.3 Overview of GMT Up: 1.1 What is new Previous: 1.1.1 Overview of GMT   Contents   Index
Paul Wessel 2010-07-14