CHANGES IN GMT from v3.0 - 3.4.x -------------------------------------- $Id: CHANGES,v 1.28.4.21 2002/02/27 20:23:56 pwessel Exp $ 1. Overview This file shows all details regarding specific enhancements and bug fixes since the 1995 release (3.0). Unfortunately, sometimes we forget to add an entry so there may actually be more fixes than these. 2. Bug fixes. The following is a list of specific bug fixes and enhancements since the release of version 3.0 in August 1995. Date: Program: Fix: ----------------------------------------------------------------------------------------- ===> 08/11/1995 tar 3.0 made and released ----------------------------------------------------------------------------------------- 08/14/1995 gmt_customio.c _bin_read and _short_read allocated insufficient memory when subregion was specified. gmt_support.c bicubic interpolation now returns node value when point is within SMALL of the node position. gmt.txt Fixed spelling mistakes 08/18/1995 gmt_plot.c Added seconds and year to Unix time stamp. gmt_support.c Skips blank lines in .cpt files 08/23/1995 gmt.h Added inverse hyperbolic trig macros for AUX gmt_init.c 1:xxxx scale info for Hammer, Eckert, Mollweide, Plate Carree, Winkel, Robinson, Sinusoidal was set incorrectly (scaled by radius of Earth...) grdimage.c size of subset image scaled incorrectly for -Jx pscoast.c Painted lakes incorrectly - now works. 08/25/1995 gmt_customio.c write pointers for *write_grd_info was set to read for id>0 08/28/1995 gmt_plot.c Map scale can now also be in nautical miles (n). 08/29/1995 psxy.c -Se didnt work without a dummy size. -Sf with lines outside -R crashed with memory error. gmt_defaults.h flattening for WGS-84 was off a bit. 08/30/1995 gmt_funcnames.h Had redeclaration of gmt_input and gmt_output. 08/31/1995 gmt_map.c map_path needed to have some slop in its == test 09/05/1995 gmt_shore.h Removed uchar typedef since IBMs complain. 09/07/1995 grdview.c With -Qs and a continuous .cpt file grdview would sometimes pick a z_ave outside the range of a polygon. Now checks. 09/13/1995 gmt_plot.c Second anotation screwed up for negative longitude. 09/18/1995 psscale.c -V did nothing; now reports range in cpt file. 09/28/1995 pstext.c Now longer needs leading hyphen to give font names. gmt_init.c fonts in .gmtdefaults and via gmtset can be now be font # or name. psxyz.c Radius instead of diameter expected for circles. 10/17/1995 gmt_init.h Forgot to add -JQ/q to list of unique options. 10/24/1995 gmt_defaults.h RECT_GRATICULE did not include linear proj. 10/25/1995 psxy.c greenwich set incorrectly. 11/22/1995 pscoast.c variable key was not initialized to NULL. 11/30/1995 grdsample.c Used incorrect dx to get new longitudes 12/07/1995 grdmath.c Had memory error for DUP and EXCH operators. 12/27/1995 grdcontour.c Allocated mem before increaseing n_alloc gmt_plot.c Added support for POW gridlines 01/05/1996 grdcontour.c Option -N to append units to contour anotations 01/31/1996 pshistogram.c Added log10 option and restored -R as optional. 02/01/1996 grdproject.l Did not explain -M at all. 02/14/1996 gmt_map.c General cylindrical (-JY) did not give right map width. 02/19/1996 pstext.c Accepts 2-char codes for justification, e.g., LL for lower left, CM = centered middle, etc. Added -D to shift the PROJECTED x,y point by dx/dy. gmt_init.c Fixed problem with exponential notation in -B option! 02/20/1996 pscontour.c Added -L option to draw underlying triangular mesh. grdcontour.c Optionally specify shift in the -Z option 02/27/1996 psscale.c Mentions that a unit label can also be set with -B. 03/01/1996 makecpt.c Added -I to reverse sense of color/gray-ramps. minmax.c Added -C for simple column output. 03/05/1996 triangulate.l Had no explanation for -G option. surface.l Had no mention of -Q 03/07/1996 grdlandmask.c Mask values not set correctly for -Nwet/dry multiple files Allow for grdfile extension shorthand so that file.i2 is interpreted as file.i2=2/1/0/32767, etc. These suffix abbreviations are kept in ~/.gmt_io and GRIDFILE_SHORTHAND must be set to TRUE (this is a new parameter) gmt_grdio.c Added byte and bit binary scanline formats. grdmath.c Added cosd, sind, tand, r2d, d2r, gdist grdgradient.c Options to find steepest slope direction and |grad z|. 03/08/1996 psmask.c Added -M for map unit distances. grdgradient.c Now checks if input grdfile exists! grdfft.c --"-- grdhisteq.c --"-- grdtrend.c --"-- psclip.c Replaced -S with -C psmask.c exchanged -S and -C grdmask.c Added -S as in psmask nearneighbor.c removed -M; added k suffix to -S instead psmask.c --"-- 03/12/1996 grdhisteq.c Now takes with -N as an option. 03/13/1996 *.txt Fixed formatting errors thruout grdvector.c Now explains -I 04/02/1996 triangulate.c Now initialize the header struct 04/03/1996 xyz2grd.c Now averages multiple node entries. 04/10/1996 grd2xyz.c Option -S to suppress output when a node == NaN 04/15/1996 gmt_map/init.c -JM takes the alternate and more complete form -JM|m to specify a meridian and standard parallell other than 0,0. 04/16/1996 gmt_init.c Writing of .gmtcommands did not check if an option started with '-' (which it must). 04/24/1996 pshistogram.c Bug in usage message caused core dump. 04/25/1996 mapproject.c Added option for nautical miles output. 05/08/1996 grdmath.c Needed to allocate stack space when 2 constants were operated on to produce a grid 05/24/1996 gmt.h ps_heximage declared double rather than BOOLEAN 05/28/1996 grdtrack.c Added -R to work on subsets 07/05/1996 grdmask.c Added missing -H option 07/10/1996 gmtselect.c New program gmtselect.c for subset extraction based on spatial criteria such as closeness to points or lines, inside/outside polygons, etc. 07/15/1996 *.* Renamed all shared functions for increased portability. 08/16/1996 gmt_map.c Fixed bug in gmt_ialbers and failure to use sphere. gmt_eckert must use fabs(delta) in iteration. Equatorial stereographic view should now work again. 08/23/1996 binned_river* Fixed a stray straight line connection between 2 segments. binned_shore* A lake crossing Greenwich had level 1 instead of 2 08/26/1996 gmt_support.c Fixed the BoundingBox problem for landscape plots pslib.c ---"--- 11/01/1996 pstext.c Text on back side of Earth did not get clipped. 11/18/1996 psxy.c -Sf option incorrectly connected fault endpoints automatically. sample1d.c Now reports line # where time is not strictly monotonically increasing. Can now also handle monotonically decreasing time. 11/26/1996 psxyz.c Did not check z-range on data. 01/28/1997 pslib.c Did not recognize user patterns. 02/07/1997 pshistogram.c Now can do transpartent histogram using -L thanks to John L Lillibridge. 03/20/1997 gmt_init.c Bug that messed up DPI for metric users have been killed. 03/28/1997 makecpt.c Read problem with old-style tables fixed Can now output HSV values with or without -Z No more negative values (i.e. -1) for r,g,b psscale.c Uses D_FORMAT when no decimal places are needed gmt_plot.c -----------"------------- grdview.c New option -L for bilinear rather than bicubic resampling. When resampling now checks for NaN return values. xyz2grd.c Now can handle -Rr syntax psxy.c Now deals correctly with combination -Sc and -Ey sample1d.c Options -A -C -L now taken as -Fa, -Fl, -Fc (but is backwards compatible). 04/16/1997 grdvector.c Added PI instead of 180 for Cartesian case... 04/30/1997 splitxyz.c Now includes the last input point. 08/12/1997 psclip.c No longer sets -O implicitly with -C 08/26/1997 grdtrack.c Added -S to suppress NaN output *.c Changed rint() to irint() where integer result is needed. This should fix roundoff in log -anotations on HPs. 09/11/1997 gmt_cdf.c Commented out old netCDF-2 function calls and rewrote using netCDF-3 with the new syntax gmt_unique.h New include file gmt_keywords.h ----"---- 09/14/1997 gmt_cdf.c Finished updating function calls with netcdf 3.0 (compiled but not tested) gmt_shore.c Continue updating function calls with netcdf 3.0 (not compiled yet) 09/22/1997 gmt_cdf.c Tested and found errors; recompiled again 09/24/1997 grdview.c Fixed bug that made pixel files go belly-up upon surface shading 09/28/1997 gmt_cdf.c Added function calls check_nc_status; all nc_ functions will be checked for any errors. 09/29/1997 gmt_shore.c Added function calls check_nc_status; all nc_ functions will be checked for any errors. 10/01/1997 gmt_cdf.c Compiled, tested and found errors. gmt_shore.c Compiled, tested and found errors. 10/09/1997 *.c Updated all POSIX functions with the correct argument types; ex. free ((char *)) to free((void *)),fread, fwrite... 10/18/1997 makefile Added -Xc (Ansi C) option to Sun compiler flags. 10/20/1997 grdimage.c cast variable "bitimage" with "unsigned char". 10/21/1997 grdview.c cast variable "bitimage" with "unsigned char". psscale.c 10/21/1997 pscontour.c changed function "dump_contour" from type int to void; added function declaration in the beginning. 10/21/1997 pstext.c erase "break" statement in the "default" switch. 10/22/1997 fitcircle.c temporarily added #define M_PI_2 in the file; because the file won't compile even with math.h. 10/22/1997 gmt_shore.c cast variable "c->node_level" with "unsigned char". 10/22/1997 grdraster.c rename gmt functions because they are missing "GMT" in the beginning of the name of the functions; or "gmt" was in lower case. 11/04/1997 gmt_funcnames.h added some of the function prototypes that are missing. See file "functions" for detail. 11/08/1997 pscoast.c added "&" in front of variable "ytmp[2]" gmt.h moved around include files for convenience 02/19/1998 *.* ** All is now POSIX compliant and fully ANSI-C ** Using void * pointers where old rule was char * gmt_plot.c checker-board basemaps now start with correct shade of black or white 02/20/1998 gmt_map.c Put the Robinson table into code; table file no longer used. 02/23/1998 *.* Added GMT_IO structure to facilitate table i/o project.c Support for multiple files, multisegment, and binary i/o Old -M renamed -Q and -M added for multisegment. Added -Z as in splitxyz for xy input only (no z) 030/1/1998 block*.c Now quietly eats -M subheaders grdpaste used -B which is reserved; now uses neither -A or -B but -Sa and -Sb. 03/03/1998 grdclip.c Used -B also; now uses -Sa and -Sb. 03/04/1998 gmt* Added -Jj -JJ Miller cylindrical projection 03/06/1998 gmt* Added -Jf -JF Gnomonic azimuthal projection psmegaplot Made part of supplemental archive 03/18/1998 psxy.c Can now accept symbol code as part of input. 03/21/1998 *.c Updated GMT_memory 2nd and 3rd argument to (size_t), 1st argument to (void *) *.c Changed buffer size 512 to BUFSIZ(1024) *.c Updated memset 3rd argument to (size_t) *.c Updated memcpy 3rd argument to (size_t) *.c Updated fread 2nd and 3rd argument to (size_t) *.c Updated fwrite 2nd and 3rd argument to (size_t) 03/24/1998 *.c -Gp now takes Sun rasterfiles instead of Sun icons and allow you to assign colors to 1-bit images. 8-bit & 24-bit images are also allowed. pscoast.c Now may issue clip paths instead of painting polygons (makes pscoastclip obsolete). 03/26/1998 *.* -F no longer used to set frame pen (use gmtset) 03/30/1998 psxy.c Empty -G now means get -G string from subheaders in -M files (polygons only) 04/15/1998 gmt_support.c ASCII read skips bad records (x and/or y is NaN) 04/17/1998 psscale.c Now has -E to indicate back/forground colors + can use full -B option syntax 04/20/1998 gmt_grdio.* Verify that -R and -I are compatible. 04/21/1998 xyz2grd.c Now can deal with a variety of formats and ordering schemes, plus can byte swap. 04/22/1998 grd2xyz.c Ditto. 04/27/1998 binned_shore_* Fixed problems with 10x10 degree blocks (-Dl) getting wrong color. 04/28/1998 nearneighbor.c Added option for boundary conditions 05/01/1998 *.* Introduced gmt_nan.h which is created by the program gmt_nan_init and defines both the float and double NaNs patterns. 05/05/1998 pslib.c Now write Boundingbox at end. 05/06/1998 gmt_support.c Walter completed boundary functions 05/10/1998 grdimage.c Fixed problem with global projections grdcontour.c Fixed problem with -R...r setting grdimage.c --"-- grdvector.c --"-- shorelines binned_shore_? renamed to binned_GSHHS_? to avoid confusion when using GMT 3.1 05/11/1998 grdview.c Removed -D, merged -M and -W, and expanded -L to do BCs. 05/12/1998 grdinfo.c Now uses D_FORMAT for output and has an output layout that is easier to parse with awk etc. ----------------------------------------------------------------------------------------- ===> 06/24/1998 tar 3.1b made and released to testers ----------------------------------------------------------------------------------------- 08/20/1998 gmt_map.c Fixed clipping of data in polar projections. 08/20/1998 gmtselect.c Always ate the first data record. Now also uses Cartesian distances and units unless -J is set. 08/20/1998 *.c *.h All GMT_boundcond_* functions now use pointers to struct. 08/21/1998 gmt_cdf.c Use strlen(text)+1 so that the leading \0 is written to the grdfile. gmt_plot.c Tried to free xings nc times in GMT_map_lontick (not good if nc > 1) pswiggle.c Swapped filename and program-name gmt.h Use POSIX-defined floor and ceil instead of buggy GMT macros. gmt_math_init.csh Now also looks for an externally defined rint(x) 08/24/1998 psxy.c Once again plots faults with -Sf. -SE instead of -Se expects azimuth and axes lengths in km. 08/25/1998 pslib_inc.h Use POSIX-defined floor and ceil instead of buggy GMT macros. 08/26/1998 surface.c converge_limit set before z_scale calculated. Thus, this limit was always 0.001 unless set with -C. nearneighbor.l Makes it clear that nearneighbor only considers the nearest value inside each sector; not all values inside the radius. grdinfo.c Option -C to format report on a single line for shell scripting convenience. 08/27/1998 *.* FRAME_PEN, GRID_PEN, and TICK_PEN can now be generic GMT pens (e.g., 2/255/0/0ta), and new function GMT_setpen is used throughout GMT for setting pens. pscoast.c New option -M to dump shorelines which makes the utility shoredump obsolete. ----------------------------------------------------------------------------------------- ===> 09/04/1998 tar 3.1brev2 made and released to testers ----------------------------------------------------------------------------------------- 09/05/1998 gmt_math_init.bash Bash version for install under Cygwin32 or DJGPP job*.bash All example scripts now come in csh and bash flavors. do_examples.bash Driver script for all examples 09/07/1998 pslib_inc.h Added 6 more patterns to make it an even 90. *.* -Gp/-GP now takes dpi instead of size. 0 still means current DPI setting. 09/09/1998 gmt_support.c replaced pw_gecos with pw_name since the former is not guaranteed to be there by POSIX. 09/11/1998 minmax.c Reported junk if -I was set and no files found. 09/16/1998 gmt_io.c Added DOS portability for binary/text fopens. psscale.c y-label now plotted using ANOT_FONT settings. psxy.c Upper case symbol have equal size, lower case symbol act as in GMT 3.0. gmt*.c Added DOS directory delimeter support and WIN32 preprocessor flag. Appendix L New info for using GMT on non-Unix machines. 09/17/1998 psxyz.c Now enjoys the same 2-D symbols as psxy, and may read symbol types from data. data files may now be binary as in psxy psrose.c Now can handle binary or ascii data. pshistogram.c Now can do patterns. 09/23/1998 gmtdefaults Added new parameter MAP_SCALE_HEIGHT for size of map scales on map (used to be TICK_LEN) gmt_math_win32.h The gmt_math.h file for MSDOS gmt_win32.h Extra include file for MSDOS compilation 09/26/1998 pshistogram.c Fixed bug in -S. gmtselect.c Fixed bug in memory allocations GMT Added Examples 17-20 and updated cookbook 09/28/1998 grd* Makes sure that grd files created by GMT have no more than 0.01% slop in dx/dy relative to data range. Likewise, require the same max slop upon reading 09/29/1998 grdedit.c New option -A to adjust old grdfiles with too much slop in -R -I. 09/30/1998 spectrum1d.c Allow for single window. ----------------------------------------------------------------------------------------- ===> 09/30/1998 tar 3.1brev3 made and released to testers ----------------------------------------------------------------------------------------- 10/08/1998 psxy.c Will automatically look for -W and -G strings in multisegment headers and let those settings override the command line settings psxyz.c Same as psxy.c above 10/09/1998 gmtdefaults.c Needed GMT_stdout set separately since GMT_begin is not used in this program only. xyz2grd.c Default for -Z should be ascii (-ZTLa) grd2xyz.c Same. Also updated man pages. 10/13/1998 grdview.c Now checks for improper file sizes AFTER having the right information in hand... gmtenv.bat DOS bat file to set GMT environment paths on Windows 95/1998. gmtinstall.bat DOS bat file to compile GMT using Microsoft Visual C/C++ tools. letter2A4.sh Supply shell script to convert documentation to A4 ----------------------------------------------------------------------------------------- ===> 10/14/1998 tar 3.1brev4 made and released to testers ----------------------------------------------------------------------------------------- 10/15/1998 gmt_cdf.c GMT_cdf_write_grd_info was not in define mode so changes to information was not allowed in grdedit. gmt.h Fixed typos in ellipse parameters and added WGS-66 10/16/1998 blockm*.c Incorrectly set n_expected_fields when -bi gave the number of fields. 10/18/1998 mapproject.c Binary output did not happen 10/19/1998 grdtrack.c Same problem for some cases of io. gmt_io.c Ascii read function now chops off trailing blanks, commas, and tabs so # cols is set correctly. gmtselect.c Simplified output format test. psclip.c Now can handle empty multisegment segments. psxy.c Now can handle empty multisegment segments. psxyz.c Now can handle empty multisegment segments. spectrum1d.c Now also may output using binary format with -bo[s] splitxyz.c Now also may output using binary format with -bo[s] minmax.c Must specify # of columns in -bi *.c All programs that take -M (multisegment file input) now checks for empty segments. psmask.c Added -F for pixel registrered masks. grdproject.c Now sets measure unit to m with -Mm. grdcontour.c -W+ will use the cpt colors when drawing contours pscontour.c -W+ will use the cpt colors when drawing contours ----------------------------------------------------------------------------------------- ===> 10/20/1998 tar 3.1brev5 made and released to testers ----------------------------------------------------------------------------------------- 10/20/1998 sample1d.c Fixed typos in usage message. 10/21/1998 block*.c Finally, binary i/o works... *.c Binary i/o only worked for 1st input file because GMT_io.status was never reset to 0. 10/22/1998 psxy[z].c -L now ONLY means to close the polygons. Only -W[pen] sets symbol outline. job* Edited all affected example scripts. pslib.c If SI is set then A4 pagesize is assumed. letter2A4.sh Adjust differently for landscape & portrait. Documentation Fixes spellings and added more info. Scripts Shrunk Ex 12 and 14 by 10%, added title to 17. 10/26/1998 pscoast.c Now checks for all of the 5 coastline bases. grdlandmask.c Same. *.c, *.txt All -H explanations are now [-H[]] pscoast.c -M now accepts optional multisegment flag *.man Cleaned up manpage typos and inconsistencies. Archives Split crude, low, and intermediate coastlines and rivers/borders into separate _lib.tar.gz archive to make source archive small. 10/28/1998 GMT Now under GNU General Public License. gmt_init.c Updating of .gmtdefaults is now using advisory file locking. This means that only one GMT program will be able to read and write to the .gmtcommands file at any time. In GMT 3.0 and earlier versions it happened that a later GMT call in a series of pipes would try to read while another program was busy updating the file. *.c Programs now update the .gmtcommands file immediately after error checking. 10/29/1998 blockmode.c New program for block mode estimates. blockmedian.c Now takes -Q to return (x,y) at median z value rather than median x, median y. 10/29/1998 psmask.c When optimized the distance variable was not exactly zero when I thought it was, so a test failed that assumed it was zero. 10/29/1998 gmt_init.c Permission problems with i/o to .gmtcommands are no longer fatal errors, just warnings. gmt_grdio.c Now tells users to use grdedit -A upon finding incompatible -R -I in grdfiles. 10/30/1998 psxy[z].c Needed to differentiate between number of required versus expected columns, since binary must read all columns. *.c All programs that have -bi option are given reasonable default values for the number of columns that is expected. This can always be overridden by -bi[s]. job20.* Assumed ./ in users' $path. 11/02/1998 grdvolume.c Added -Z and -L options; also tighter error checking on arguments. grdcontour.c Upper left node was not changed by -Z. 11/03/1998 project.c Can handle any number of input columns beyond the required x, y. Now behaves in the same way as mapproject and grdtrack in that text fields are passed through if both input and output modes are ASCII. 11/04/1998 psxyz.c Used old, wrong variables in outside test. 11/05/1998 pslib.c Only issue paint and pen changes when the new values differ from the current values. gmt_math_init.* Now use isnanf = isnan[d]((double)(x)) instead of poor man's x != x macro. 11/08/1998 gmt.h Special #ifdef __MACHTEN__ to fix bad machten implementation of ANSI/POSIX. pslib_inc.h -------"------- gmthex2ras.c -------"------- job09.csh Made safe for broken csh versions that do not like if (..) action 1-liners. gmt_support.c Added alternate GMT_delaunay function based on Jonathan Shewchuck's triangle routine. The instructions on how to use this alternate code is placed in TRIANGLE.HOWTO in the src directory. ----------------------------------------------------------------------------------------- ===> 11/08/1998 tar 3.1 made and released via email ----------------------------------------------------------------------------------------- 11/09/1998 gmt_init.c passed char rather than int to isdigit, isalpha and strchr. grdmath_main.c passed char rather than int to isdigit pstext.c Same. gmt_io.c Passed char rather than int to strchr gmt_support.c Arg to one free call not cast to void Several GMT_memory returns not cast to char * gmt_map.c Arg to one free call not cast to void grdcontour.c Several GMT_memory returns not cast to char * grdtrack.c Same. mapproject.c Same. All these fixes are not bugs but bad style. 11/10/1998 Makefile Replaced USER with PROGS to avoid conflicts with $USER in shells. Added gmt_boundcond.h to list of include files in makefile. 11/13/1998 gmt_io.c ascii_input now returns -1 if EOF instead of 0. gmtselect.c do_project was not set if -J was not given but -R was used and -Jx1 was implied. check for n_fields >= 0 since -M files' multi- segment headers gives n_fields = 0 grdtrack.c Failed for -M files; now checks for n_fields >= 0 mapproject.c Same. pshistogram.c Same. psmask.c Same. spectrum1d.c Same. trend?d.c Same. psxy[z].c -G -W in multiple segment headers now also apply to symbols. 11/16/1998 xyz2grd.c Fixed Verbose output report to align names and values. 11/23/1998 psxy.c Warns if error bars exceed allowable domain, i.e., goes negative for log plots. minmax.l Said -K instead of -M (explain_-M.txt had typo) gmtconvert.l Same. project.l Same. psmask.l Same. gmt_support.c R. Krueger: Fix to yield the same pattern & line thickness regardless of SI or INCH. pslib.c ---"--- pshistogram.c Added -A option and new 'o' modifier for -I. pshistogram.l Had no mention of -I. grdhisteq.c Did not update grdfile history remarks. ----------------------------------------------------------------------------------------- ===> 11/23/1998 tar 3.1.1 made and released via email & EOS ----------------------------------------------------------------------------------------- 11/25/1998 project.c Got hung if -W or -L was set. Fixed many typos in both man page and usage message. psscale.l Had old-style -B example. gmt.h Added support for paper Media formats gmt_init.h Same gmt_init.c Same gmt_media_name.h New include file for media names gmt_media_size.h New include file for media sizes gmtmedia.d User-editable file for custom paper media kept in $GMTHOME/lib gmt_keywords.h Changed PAPER_WIDTH to PAPER_MEDIA gmtdefaults.l Same, plus added list of all media pslib.c Changed paper_width from double to integer array of length 2. People usling pslib, beware! pslib.h Same pslib_inc.h Same 11/26/1998 grd2xyz.c Now gives warning if -bo and -Z are selected. xyz2grd.c Now gives warning if -bi and -Z are selected. 11/26/1998 pslib.c Bug in ps_image caused 1-bit images to fail. pscoast.c Now uses GMT_prep_polygons which is defined in gmt_shore.c as a new function. grdlandmask.c Now uses GMT_prep_polygons instead of duplicate code from pscoast. All progs needing to extract and use coastline polygons will use this routine. 11/28/1998 img2mercgrd.c Supplemental program: Fixed bug in -T0 that gave 0 data 11/29/1998 pslib.c Read Sun rasters incorrectly on bigendian machines. Now should work ok on all platforms. gmtselect.c Now takes -N (and -A, D) to keep/skip points that are inside/outside any geographical features (coastlines). 11/30/1998 pslib.c Added support for Run-Length Encoded rasterfiles. PS. this feature has not been extensively tested at this point since I haven't gotten many RLE files to test on. Also fixed a bug for 24-bit images of odd width. gmthex2ras.c Obsolete since Sun rasterfiles are defined at the byte level so new read-module in pslib works on all platforms. The GMT patterns will now be distributed as binary rasterfiles. 12/01/1998 gmt_customio.c Now reads/writes format # 3 Sun rasterfile header correctly on all platforms, like pslib.c If you ever used GMT to write Sun rasterfiles under Linux, you need to fix the raster headers. 12/02/1998 psclip.c fclose outside file loop so only ~95 files could be openened before we run out of file pointers... gmtselect.c Added friendly check to ensure -L and -F gets a multisegment file. 12/08/1998 grdimage.c Had two problems: 1) Clip path did not follow the grid but the -R region. 2) images sometimes were shifted incorrectly. Both problems fixed I hope. grdview.c Clip path now based on grid, not -R. Pixel grids are now processed correctly. 12/09/1998 * All internal calculations in GMT are now done using inches. All input lengths (e.g., map scales or widths, distance gaps, symbols sizes, etc) that previously were taken as inches or as either inch/cm are now scanned to see if they have the unit c, i, m, or p appended (c = cm, i = inch, m = meter, p = point). If no unit is appended, GMT will default to the unit set by MEASURE_UNIT. Thus, even if MEASURE_UNIT is cm one can specify a 6 inch map with -JM6i. All the man pages have also been updated. psmegaplot.c Updated to deal with GMT 3.0 PS format. No longer need PS files produced with -K at the end. job??.{csh,bash} Now employ unit-independent widths, sizes and pens. Should give identical results regardless of which MEASURE_UNIT is in effect. 12/14/1998 gmt_plot.c FANCY frame for Lambert Conic had problems when south was not multiple of y_inc. 12/29/1998 gmt_inic.c Now accepts -X -Y where a prepended a indicates absolute coordinates [Default is relative, prepending r has no effect] pslib.c Added absolute mode according to above. gmt_support.c Same 01/02/1999 grdmath.c Added j0, j1, jn, y0, y1, yn, erf, erfc which is present in most math libraries, and bei, ber, kei, ker from gmt_math.c Also log1p which we already use elsewhere. gmtmath.c New program with same operators as grdmath expect it works on tables instead of grids. gmt_math.c Contains definitions of bei, ber, kei, ker. gmt_math_init.csh/bash Looks for j0, j1, jn, y0, y1, yn, erf, erfc and puts dummy macros in gmt_math.h if not found. (erf and erfc also conditionally included in gmt_stat.c if not found locally). 01/12/1999 grdmath.c Added Legendre polynomical of degree L and order M (PLM), the fully normalized surface spherical harmonic YLM, and POP (delete top stack element). gmtmath.c Added PLM and POP, see above. pstext.c Now clips same way as psxy. 01/13/1999 gmt_map.c Improved map-jump mechanism. 01/14/1999 pslib.c -G with black failed in psbasemap. 01/15/1999 GMT Added ZapfDingbats as font # 34 psbasemap Usage did not list -E 01/17/1999 pstext.c -W can now take optional pen after 'o', and will not fill without a shade/color. 01/19/1999 Documentation All rewritten in Latex and translated to both PostScript and HTML 01/20/1999 grd/gmtmath.c Added modified Bessel I0 and modified Kelvin K0 functions. 01/21/1999 grdmath.c Added 5 operators: DDX, DDY, D2DX2, D2DY2, CURV gmtmath.c Added 2 operators: DDT and D2DT2 01/23/1999 psclip.c The -M option wrote the multisegment header to the PS file without leading %. gmt_plot.c Now can use grid crosses for linear projections 01/25/1999 psbasemap.c Now works with -JXp when the is negative. grdmath.c Added modified Bessel functions I1, IN, K1, KN. gmtmath.c Same. 02/04/1999 grdhisteq.c Had error in testing filenames. 02/05/1999 gmtio.c -M is allowed with -b and means look for records with all fields == NaN as to imply binary multiple segment headers. *.c Pens are internally maintained in units of points to avoid DPI problems. mapproject.c Added -D option to temporarily reset MEASURE_UNIT 02/08/1999 pslib.{c,man} All symbols sizes are now given as the diameter of circumscribing circle. psxy[z].{c,man} Same, except for upper case as before. 02/11/1999 psscale.c Giving negative length now reverses scale Will read stdin if -C not given. 02/17/1999 pscoast.c Now may take only -C and only plot lakes. gmt_map.c Gives error if longitude range exceeds 360 03/02/1999 triangulate.c Synopsis or man page did not mention -E option. Added -Dx|y option to take derivatives. -J was ignored when -G -I were set. 03/03/1999 grdcontour.c -Z[fact[/shift]]p allows for 360-degree periodicity in z (i.e., phase data). 03/03/1999 psxyz.c Did not let users specify -Su (3-D cubes) 03/08/1999 gmtmath.c Added Heaviside step function STEP grdmath.c Added Heaviside step functions STEPX and STEPY 03/11/1999 makecpt.c Rewritten to take a master cptfile as starting point and -T option to set z-steps. About a dozen master cpt files distributed with GMT. grd2cpt.c Same. Takes -C and -Tz0/z1/dz as makecpt.c 03/16/1999 gmt_services.html Added sub-page for supplmental man pages 03/17/1999 manpages Fixed misc. typos and inconsistencies. 03/18/1999 splitxyz.c z-output not passed through correctly. 03/22/1999 grdedit.c Using -R now changes the dx/dy automatically. 03/23/1999 gmt_math_init.csh More robust test for which awk to use do_examples.csh Same. ----------------------------------------------------------------------------------------- ===> 03/25/1999 tar 3.2 made and released via email ----------------------------------------------------------------------------------------- 03/26/1999 gmtmath.c Forgot to implement -H, now done 03/26/1999 pslib.c Added ps_imagemask for transparent bitmaps gmt_support.c Understands that fore- or background color in -Gp can be - which means transparency psimage.c -Gf- or -Gb- means transparency grdimage.c New -G[f|b] option to make transparent color masks from otherwise black/white 1-bit images 04/02/1999 grdview.c -Qsm drew contours even though -W was not set. pscontour.c Usage did not explain -W+. Added -A- to force deactivation of all contour labels grdcontour.c Same. sample1d.c Had memory allocation errors with -M. Now also works with -N file that spans the range of several -M segments. gmt_plot.c GMT_polar_adjust sensitive to round-off which could affect orientation of basemap anotations gmt_math_init.csh/bash Had wrong #define for the dummy yn(n,x) function 04/05/1999 grdreformat.c Now skips comments in gmtformats.d file grdraster.c Forgot to deal with DOS directory slash and drive letters gmt_mgg.c Forgot to deal with DOS directory slash 04/06/1999 gmt_map.c Hopefully fixed a bug in finding map crossings for linear projection. 04/07/1999 pslib.c Now knows about DOS drive letters in any pattern filenames gmtmath.c Added -Q shorthand option for scalar math Same as giving -Ca -N2/0 -T0/0/1 04/08/1999 pslib.c Missed final linefeed when -K and absolute positioning (-Xa? -Ya?) were used. grdimage.c Shit! Somehow, MAPPING was replaced by !RECT_GRATICULE on 12/8/98, i.e. after 3.1.1 Now fixed (again). All grdimage plots made since 3.2 came out have problems if they use a map projection that had rectangular graticules, like Mercator and many cylindrical projections. 04/09/1999 pslib.txt ps_command and ps_colortiles are now documented pslib.c Added ps_flush for buffer flushing. pscoast.c Added -bo option for use with -M 04/12/1999 grdraster.c Did not open files as binary (which is required under Win32) dat2gmt.c Same. gmt2dat.c Same. gmt2bin.c Same. gmtinfo.c Same. gmtselect.c Sped up test for proximity to points by first checking for inside a square (fast), then the circle (slow). Suggested by Joaquim Luis. Also added -Cf for using Flat earth (fast) rather than great circle distance calculations. Also, use original x,y values for the output psscale.c Did not respond to any -X -Y options. gmt_init.c Complained if one of -X, -Y was set as absolute and the other was implicitly 0. grdcut.c Did not check that output -R was ok grdfilter.c Did not check that output -R, -I were ok 04/27/1999 gmt_defaults.h Without .gmtdefaults, paper size was 0x0 install_gmt Now figures out if binary files written on Suns (e.g., data files like world_grav etc) need to be swapped on the user's machine. This is used to compile in swapping in some of the supplemental programs. Not used by main GMT programs. img2mercgrd.c Compiles in swapping if install_gmt says so. 04/28/1999 xyz2grd.c Added -S[file] option to simply swap the byte order and write out new table. Added H and I for unsigned short and ints grd2xyz.c Added H and I for unsigned short and ints gmt_io.c Fixed problems with swapping of signed short and ints. Added i/o for unsigned short and int. 04/29/1999 blockm*.c Inadvertently turned -W on if data had 4 cols. gmtdefaults Added case-insensitive checking for most GMT parameters unless noted. Also enforcing stricter error checking on given values gmt_map.c Sped up several projections by eliminating repeated trig calls with same argument. gmt_support.c GMT_LUT structure now holds the quantity i_dz = 1 / (high_z - low_z) which got recalculated every time in GMT_get_rgb24. 05/04/1999 pstext.c Added -M mode for paragraph typesetting. -Dx/y[v[]] will draw line from point to the offset location (-M only). pslib.c Added ps_words function for paragraph typesetting. Will include file PSL_text.ps from lib until it is stable. ps_words knows about 3 additional escape sequences: @_ toggles between normal and underlined text @:size: changes font size, @:: resets it. @;r/g/b; changes font color, @;; resets it. 05/06/1999 grdmath.c Added function DILOG. gmtmath.c Same. 05/11/1999 pslib.c No longer issues %!PS statements more than once. gmt_map.c Added spherical code for the projections Mercator, TM, UTM, Stereographic, Lambert Conic, Albers Conic, and Cassini. Used when flattening == 0. psxy[z].c Did not process -Sbb correctly (when width is expected as one of the data columns). 05/12/1999 pslib.c %%Orientation was not set correctly, and is now only issued for PS files, not EPS. %%Page is now used for PS files. gmt_map.c scale_factor was inadvertently set to 1 for the Stereographic projection. 05/18/1999 gmt_support.c GMT_shift_grd had error for gridline-registered grids. This affected grdedit -S operations. grdimage.c Needlessly interpolated grid when -JX..d was used. xyz2grd.c -L and xyz input will now enforce periodicity. 05/20/1999 GMT Added -Jv (van der Grinten) projection Added -Jd (Equidistant conic) projection Added -Jkf Eckert IV (f for 4). Also allow -Jks for Eckert VI (s for 6) but -Jk without modifier will default to Eckert VI. 05/25/1999 gmt_plot.c Now FANCY basemap works for all Conic projections 05/26/1999 gmt_plot.c Implemented global TM, and allow optional way to specify TM with latitude of origin (default 0). 05/27/1999 xyz2grd.c Was not robust enough when calculating the node positions. Warns about pixel/gridline confusion. 05/28/1999 grdproject.c -F now means toggle node registration, and default is same as input file. 05/31/1999 xyz2grd.c Test for -N nodata values mixed floats and doubles and would sometimes fail. gmt_init.c More tolerant of blank lines in .gmtdefaults file and comments in ellipse files. grdraster.c Now tolerates blank lines in grdraster.info file 06/04/1999 gmt_plot.c Round-off problems would lead to some anotations being ommitted at xmax or ymax *.c #ifdef SINCOS added to take advantage of sincos function where available. 06/07/1999 gmt_init.c Make sure -b options are processed before file names are encountered since fopen mode must be set correctly. Should only affect WIN32 version examples Now include DOS *.bat versions for all examples (except 03). Added scripts to view all plots. 06/08/1999 gmt_init.c flush .gmtcommands file before unlocking/closing and use same open file pointer for read/write. ----------------------------------------------------------------------------------------- ===> 06/09/1999 tar 3.3 made and released via email ----------------------------------------------------------------------------------------- 06/11/1999 xyz2grd.c When -S is set the fopen modes must be rb and wb or it will fail under WIN32. 06/14/1999 psxy.c Needed a "stroke" operator after drawing error bars. psxy.txt Clarify that -N does not affect the PostScript BoundingBox; you may have to post-process in order to get a correct BB. psxyz.txt Same. pstext.txt Same. gmt_support.c CPT files with gray-value columns only did not get processed correctly. 06/15/1999 gmt_map.c Mindless insistance on |y| <= 90 applied even for non-geographic data in gridlines... grdraster.c Added optional final column that can be set to L or B to indicate the endianness of the data file. 06/17/1999 gmt_init.c Use GMT_DEFAULT_PATH instead of /usr/local/gmt. This is set in makegmt.macros pslib.c Same. 06/18/1999 gmt_cdf.c Reduced repeated code and simplified gmt_customio.c Same. gmt_grdio.c Same. Combined, these 3 shrank in size by 30% 06/20/1999 psxy[z].c -SV[]n did not work, now fixed. psxy.c -E with no symbols gave SEGV. Now, -E with no xy means -Exy (or -Eyx, with -:) 06/21/1999 pstext.c Better treatment of European font reencodeing. *.c *.h Added MSC support for DLL libraries (WIN32) -B Can also take :,"unit string": which will be appended to each anotation value. 06/21/1999 gmt_stat.c Speed up calculation of kei, ker, bei, ber and extended domain to |x| > 8. Fixed m-loop bug in plm. 06/24/1999 fourt.c Erroneously included sunmath.h instead of giving prototype. mgd77togmt.c Now understands the new, Y2K-compliant MGD77 format and also has a kludge Y2K fix for older (i.e., 2-digit year) files. spotter New supplemental package for plate tectonics x2sys New supplemental package for finding trackline intersections (crossovers) meca Four new tools (pscoupe, psmeca, pspolar, and psvelo) replaces old psvelomeca and adds more functionality. Makefile Now supports shared libraries on most systems 06/30/1999 psxy[z].c -SE would scale axes incorrectly if MEASURE_UNIT did not happen to be INCH. gmt_map.c GMT_left_albers, GMT_right_albers replaced with GMT_left_conic, GMT_right_conic that actually does the work (no more report to gmt@soest message). Same for Lambert and equidistant conic. gmttrack.c Messed up measurement units if not INCH, now ok. grdview.c -Qs did not process F/B colors correctly. 07/01/1999 PSL_text.ps Typo PLS_top instead of PSL_top caused error for 1-line paragraphs. ----------------------------------------------------------------------------------------- ===> 07/01/1999 tar 3.3.1 made and released via email ----------------------------------------------------------------------------------------- 08/12/1999 fourt.c Line 382 had sin, cos reversed (sincos only). grdpaste.c New line 269 that initializes pad array to zero. gmt_grdio.c Initialize geo = FALSE at line 250. gmt_cdf.c Line 236 should read edge[0] = header->nx. install_gmt Missing "then" in if-test at line 566 pscoast Fixed -G syntax in man page example gmt.h Added global variable GMT_pad[4] to simplify code gmt_init.h ---"--- and initialized it to zeros. grd*.c Now use GMT_pad. job06.bat Use %% to print % gmt_map.c Added HALF_DBL_MAX to avoid overflow in slopes. pslib.c European font mechanism had extraneous leading / in PSL_Euro_encode and no 'if' for procedure. 08/13/1999 *.c Replaced free(..) with GMT_free (..) so Win32 DLL will work (Thanx to Hanno von Lom). 08/16/1999 gmt_support.c Added function to deal with optional file coastline.conf containing multiple directories in which coastline files may be stored. gmt_shore.c Now uses GMT_getpathname to find path to a coastline file (which may be in different dirs). gmt_shore.h Added prototype for GMT_getpathname. README Explains the optional coastline.conf feature gmtselect.c Removed old GMT_find_resolutions stuff. grdlandmask.c Same. pscoast.c Same. makegmt.macros.orig Made Watson's triangulation routine the default due to copyright issues. install_gmt Same. Also added optional coastline.conf installation for high and full coastlines. gmtselect.c Could SEGV by picking bad bin number. Also got incorrect bin for lat = -90. 08/18/1999 grdlandmask.c Incorrectly calculated which nodes to initialize. binned_GSHHS_c.cdf Had bad levels for support nodes in Antarctica 08/19/1999 spectrum1d.c Expanded -C to allow selection of output spectra. COntributed by Ben Horner-Johnson. Check for negative window count. 08/26/1999 gmt_map.c Fixed incorrect clippath for -JP projection 08/27/1999 grdimage.c Fixed error in image scaling when -R region was larger than grd region. gmt_map.c Added optional argument to -JP to explicitly set the angle of the baseline [default is 0]. Better checks on -J -R consistancy. gmt_plot.c Now always resets pen dashing in GMT_setpen. Fixed anotation bugs in -JP. 08/30/1999 gmt_support.c GMT_format put trailing space in anotation format gmt_init.c Allow negative ANOT_OFFSET values gmt_plot.c Place anotation inside frame if ANOT_OFFSET is a negative value. Handle +/- TICK_LENGTH correctly psscale.c Internal tickmarks ok, and use |ANOT_OFFSET|. 09/01/1999 psscale.c -B:,: now works correctly. *.[ch] #define support for building GMT under OS/2 with the EMX system have been added, thanks to Allen Cogbill, Los Alamos National Laboratory. pslib.c Fixed ps_words bug that caused SEGV when first word had certain @ escapes. install_gmt Now uses $EDITOR, allows edit of makegmt.macros. 09/07/1999 gmt.conf New configuration file in lib allowing run-time selection of SI or US GMT default values. .gmtdefaults_SI Placed in lib, has SI default values .gmtdefaults_US Placed in lib, has US default values gmt_init.c Deals with GMT default inits via gmt.conf gmtdefaults.c Option -D[s|u] can return SI, US, or currently set system defaults (via gmt.conf). *.l No longer separate SI and US man pages - one set contains examples of both SI and US usage. install_gmt Sets gmt.conf and no longer deals with -DSI 09/08/1999 gmt_support.c Did not interpolate CPT tables correctly when -I was passed to makecpt. gmt_map.c Fixed incorrect clippath for -JP projection again 09/09/1999 gmtselect.c -C speedup by sorting points in x first, as suggested by Joaquim Luis. 09/10/1999 gmt_stat.c Added inverse error function for grd/gmtmath. 09/14/1999 psscale.c -Z behaved badly when comment lines were present. 09/16/1999 pslib.c Had problems with @+-1 (interpreted - as @-). 09/17/1999 psscale.c Added -M for monochrome bars gmt_init.c Added support for binary i/o under WIN32 Supplementals Added segyprogs supplemental archive, provided and maintained by Timothy Henstock 09/20/1999 grdimage.c Added -S as in grdproject.c minmax.c -I had trouble with empty data files 09/21/1999 gmt_init.c BASEMAP_FRAME_RGB did not correctly set values for tick, frane, and grid pens. Now, a call to gmtset BASEMAP_FRAME_RGB resets all the pens rgb, while individual pens can be set separately. grdinfo.c Added -D to report w/s/e/n dx/dy using dd:mm:ss.f 09/22/1999 gmt_io.c No longer need the -bo:file WIN32-specific option job*.bat DOS versions modified for gawk limitations All examples works with static executables but several fail with DLL so we still will distribute static executables and work on these problems gmt_win32.h Also include fcntl.h needed for binary i/o mode ----------------------------------------------------------------------------------------- ===> 09/23/1999 tar 3.3.2 made and released via email ----------------------------------------------------------------------------------------- 10/04/1999 gmt_map.c Memory problem in GMT_truncate_*. Comment out check_R_J for azimuthal projections. PSL_text.ps Replaced t and c with PSL_t and PSL_c to avoid interference with other pslib variables. install_gmt Must use cp -r to move lib contents. gmt_support.c GMT_sample_cpt had problem, now fixed and tested! 10/05/1999 grdlandmask.c Mixed inches and degrees in a bad way... Also assumed grid dx/dy was less than bin sizes. 10/06/1999 gmt_init.c fcntl.h was not included under Cygwin. 10/07/1999 mex/grdread.c Did not fill in x,y when [x,y,z,d] = was used. 10/08/1999 grdview.c Implemented new image clip routine instead of the buggy simple clip function. Also fixed incorrect pixel loop and wrapping. 10/14/1999 gmt_support.c Also flip back/fore-ground colors when reversing a cpt file with makecpt -I 10/18/1999 *.c Replaced #ifdef SINCOS with always calling sincos which is either native or a GMT dummy call. configure New script made by autoconf takes some of the guessing out of the installation, and creates gmt_math.h from gmt_math.h.in and make.macros from make.macros.in. The *.in files are new in 3.3.3. install_gmt Now takes optional parameter file to run a batch type (quiet) installation. At the end of an interactive install it will write out the parameters to install.par to be used for batch installing. install.par can also be designed from the GMT web. blockmean.c Added -S to get block sums. gmt_stat.c Provide alternative Bessel functions if not in -lm: GMT_j0,j1,jn,y0,y1,yn used if not on ANSI-C system. 10/19/1999 mex/makefile Did not have target spotless defined. 10/20/1999 grdinfo.c Added -F for world mapping format output. 10/22/1999 grdimage.c Got incorrect projection box for global, azimuthal projections. 10/26/1999 x2sys/x2sys_cross.c -A option was implemented exactly opposite of what it was intended to do: Skip xovers on segments that had point separation exceeding the -A setting. 10/28/1999 pswiggle.c -I behaved as -I- 10/29/1999 nearneighbor.c -H had somehow been dropped, now back in. gmt.h, gmt_init.c Added FreeBSD floatingpoint support 10/31/1999 grdview.c -QI no longer needed. -QI gives -Qi. There are no longer any grdview-specific limitations in -B 11/03/1999 psxy[z].c Added optional % that can be appended to -Sl to select a particular font [ANOT_FONT] can be < 64 characters long. psxyz.c Usage did not mention fault symbol or letter. gmtdefaults.c Did not exit after detecting bad arguments. pslib.c ps_comment used incorrectly in gmt_plot.c, causing hidden characters in PostScript output. GMT Added 4 Japanese fonts to list of built-in fonts 11/05/1999 gmt_map.c Power projection for y-axis had bug that made the axis go in the wrong direction and off the page. psimage.c Added -E and -F for image frame. 11/08/1999 psxyz.c -Z option failed for -Z0. Fixed. psbasemap.c Same. psclip.c Same. pstext.c Same. grdview.c Same. 11/09/1999 gmt_notposix.h.in Split gmt_math.h.in into gmt_notposix.h.in, which contains the define statements that is set by the configure script, and gmt_math.h which is unchanged by configure and just holds the macros and funciton prototypes. Only gmt_notposix.h will be made. 11/10/1999 grdvolume.c Set zero-values to SMALL, not small, and thus added some offsets into the calculations. PSL-text.ps Forgot to set PSL_top for single, hanging lines. 11/18/1999 pscoast.c -Lx did not convert positions from the chosen user units to inches. psbasemap.c Same. Now done by new gmt_support.c function GMT_getscale which also does more error checking. * Use share instead of lib for coastline and pattern subdirectory. 11/19/1999 psxyz.c Now will clip polygons when -Jz is not set. Makefile New top-level makefile deals with making, testing and installing GMT, supplements, docs, and data. 11/22/1999 gmt_map.c Variable ok not set in GMT_geo_to_xy_line 11/24/1999 psxy.c -C can now be used with polygons (-M). Each segment header must have a -Z string to set the polygon color via cpt lookup. psxyz.c Same. psmask.c Had old test that disallowed pattern fill. grdimage.c Added -T option to aid in plotting categorical data 11/27/1999 grdview.c Added -T option to aid in plotting categorical data 11/29/1999 gmt_plot.c tick_length used instead of map_scale_height pswiggle.c Same. 12/01/1999 gmt_map.c Implemented correct {left/right}_ellipse_boundary. 12/03/1999 gmt_init.c Made advisory file locking a run-time option so that the mex GMT routines can turn locking off since Matlab would prevent other GMT jobs. ----------------------------------------------------------------------------------------- ===> 12/03/1999 tar 3.3.3 made and released via email ----------------------------------------------------------------------------------------- 12/06/1999 gmt_map.c The GMT_quick_tm failed when -R did not straddle the central meridian, resulting in wrong TM code. pslib.c Final underlined word had no trailing space. 12/07/1999 gmt_stat.c Added GMT_rand and GMT_nrand for random numbers. gmt_math.h.in Same. gmtmath.c Added the two functions RAND and NRAND which give uniform deviates (0 < x < 1) and normal deviates with xero mean and unit variance, respectively. grdmath.c Same. 12/20/1999 gmt_init.c Added optional -Jp|P[a] for CW azimuths rather than the default CCW directions. Thanx to Ben H.-J. gmt_map.c Same. gmt_project.h Same. pslib.c Global X and Y scale were not used to adjust the BoundingBox values. grdvector.c Did not use default unit (MEASURE_UNIT) when -S gave a value without explicit unit appended. 12/27/1999 configure.in Added --disable-flock to turn history file locking off. Needed on pre-2.4 Linux kernels when using NSF-mounted disks from other Unix machines. 12/29/1999 originator.c Added new program to the SPOTTER package which associates each seamount with most likely hotspot. backtracker.c Added -A to limit output to certain times/stages. Added -LF|B to return stage id rather than ages. Added -S to write tracks to individual files. 01/03/2000 gmt_map.c Use 3 points when making straight meridians to avoid disappearence of gridlines through corners. grdproject.c Added -C as in mapproject to set origin independently of -M, which now allows the units to be cm, inch, or meter. 01/04/2000 gmt_map.c Error in GMT_merc_inverse caused grdproject to exceed array bounds for some situations. 01/07/2000 pslib.c pstext -M -W... would reset box pens after first paragraph since we were inside a local block. 01/17/2000 backtracker.c Added -C to read Finite instead of Stage poles hotspotter.c Same. originator.c Same. 01/19/2000 gmt_plot.c Anotation justification for right y-axis with power projection and -B....p was incorrect. 01/20/2000 psscale.c Now paint with polygons when cpt file is discrete and no illumination effects are selected. surface.c -L failed because we did not clip nodes that were not iterated by set equal to a nearby data point. 01/25/2000 gmt_io.c Programs now decode [+|-]dd:mm[:ss.ff][w|w|S|s] as it occurs in any columns in the input data. gmt_io.h Same. psxy.c The -Z in multisegment headers now understand NaN psxyz.c Same. gmt_map.c Scaling error affected -Jw, -Jh, -Jr, -Jy, -Jv. Better crossing locator for ellipsoidal borders. 01/27/2000 gmt_init.c geographical coordinates in input files and in command line options (-R, -J, etc) can now have suffix W|E|S|N|w|e|s|n to indicate sign. 02/01/2000 gmt_map.c Array for boundary crossovers could only hold 2 points but sometime 3 is obtained... 02/04/2000 .gmtdefaults_{SI|US} Reverting the default settings to produce EPS not PS since we have failed to educate users on why there is a setpagedevice operator... This setting is now one of the installation options. gmt_map.c Made the GMT_clip_to_map routine more robust so that it can handle cases where a polygon will intersect a map region but none of the vertices are inside the region. 02/05/2000 gmt_support.c smooth_contour would pass duplicate points to the interpolant which failed to check for dx = 0. This affected grdcontour. 02/07/2000 mapproject.c Did not allow for false northing (+1.0e7) for UTM coordinates on the southern hemisphere. configure.in Added --enable-eps to select EPS as default format. gmt_colors.h Added pointer to GMT_FILL structure in CPT struct. gmt_support.c GMT_read_cpt now knows about patterns in CPT files which only makes sense for grdview at the moment. grdview.c Skips slices if red = -. For -Qs, you can now let gray equal a pattern specification. For -Qi I only apply an image clipmask if there are no NaNs. 02/09/2000 psscale.c Now can paint patterns in the scale bar. 02/10/2000 grdimage.c -T can use patterns and skips in cpt file. 02/14/2000 xyz2grd.c -L option did not work for some range of longitudes. pslib.c ps_shorten_path incorrectly set direction of first segment to +1 without looking at dx. This caused line segments with same slope but opposite direction to be removed before plotting. psxy.c -JP should not use great cirle interpolation. 02/15/2000 grdvector.c Now skips NaN vectors since they have NaN length... psxy[z].c No longer need leading space before -G,-Z,-W in a multisegment header, and -Z also allows for symbols. grdproject.c Made similar to mapproject by adding option -A to set 1:1 scaling (and optional unit) and expand -M to take the same units as -D in mapproject. gmt_map.c Simplifying modifications to fwd/inv grd-projections gmt_init.c Common routines to grdproject and mapproject put here. 02/17/2000 grdcontour.c -D did not care that -Q was set. gmtselect.c Now handles polygons (-F) containing S or N pole. 02/18/2000 grdmask.c Now handles input polygons containing S or N pole. Added -L to allow for periodicity in x data. Now checks if data are inside -R when -S is used. *.c Output to stdout via GMT_stdout only (DLL bug?) 02/19/2000 psmask.c Wrong starting row number for clipping gave SEGV. sample1d.c Added -V for completeness grdedit.c Added -V for completeness grdinfo.c Added -V for completeness gmt_stat.c Function erfc should have been GMT_erfc 02/21/2000 psxy[z].c Added -Sw for pie wedges 02/22/2000 *.c Final tuning to allow DLL support for WIN32 02/24/2000 pslib.c Bug in numbering user-defined patterns. Changed ps_loadraster interface to take file pslib.h Changed ps_loadraster interface to take file 02/25/2000 pscontour.c Now paints only those pieces that are not to be skipped (old version always painted each triangle) psbasemap.c -G can now take patterns too. 02/26/2000 psscale.c Now -U is positioned correctly. cps/cpsencode.c Malformed format statement gave junk in CPS file. Now understands DOS batch scripts cps/cpsdecode.c Did not work with -e -u. ex16 Now uses pattern too and adds a color scale. gmt_support.c B, N ,F in cptfile can be patterns or colors 03/02/2000 cps/cpsencode.c Now uses built-in uuencode/decode functions from the new libuu.c functions. Added option -x to embed executable files encountered. Now sets the file permissions correctly, and #CPS: can take wild card notations. cps/cpsdecode.c Sets file permissions correctly. cps/libuu.c Library with uuencode/decode algorithm cps/uu.h Include file used by libuu.c 03/03/2000 gmt_stat.c Added faster version of GMT_jacobi gmt_plot.c -U now outputs time in decreasing magnitude. 03/06/2000 x_system Added old (1995) x_system to supplemental archive so it is available until x2sys is completed. x_system has been migrated to POSIX ANSI-C psxy.c -Sf suffered from wrap-around in longitudes psxyz.c -Sf suffered from wrap-around in longitudes 03/08/2000 gmtselect.c Always assumed geographic coordinates if -R set. 03/13/2000 gmt_io.c grd2xyz -Z wrote extra linefeed after NaNs xyz2grd.c Never checked for too many input lines with -Z 03/14/2000 gmtmath.c DUP and EXCH did not work if only constants involved grdmath.c Same. gmt_customio.c NaN's were not set to proxies upon writing native binary files of type short int or smaller. 03/17/2000 gmt_map.c Global oblique Mercator maps had zero scale... 03/20/2000 mapproject.c Did not work too well with -: (thanx to T. Henstock) pscoast.c Reset GMT_world_map which sometimes messed up the basemap overlay for azimuthal projections. ----------------------------------------------------------------------------------------- ===> 03/21/2000 tar 3.3.4 made and released via email ----------------------------------------------------------------------------------------- 03/21/2000 gmt_plot.c GMT_echo_command used a 160-char char array which could overflow on very long (-B) options. 03/22/2000 pstext.c -W has no default fill; fixed man page to agree. gmt_plot.c -JPa needed to change to draw counter-clockwise. 03/23/2000 pstext.c Added -Dj to set smart offsets that go in the direction of the string's justification. Now paints text fill after drawing outline. 03/24/2000 gmt_map.c Sped up -JN by factor of 2 by saving coefficients gmt_mapproject.h Added new variables needed for -JN 03/29/2000 xyz2grd.c Still did 360-check even without -L triangulate.c Did not validate that grd-indeces were inside the region when -R -I -G was used. gmt_init.c -Js///1:xxxx for true scale at specified standard parallel implemented. gmt_map.c Only give warning when central meridian as set by -J is outside -R (do not reset meridian). grdtrack.c Added -Z option to only write the z-column 03/30/2000 pswiggle.c -D scaled to meter even for non-geographical data 04/10/2000 pscoast.c -Gc or -Sc with no coastlines in -R gave SEGV. 04/18/2000 gmt_plot.c -B...:,unit: did not check for octal codes or escapes grdcontour.c -D -M did not have linefeed at end of segm header 04/19/2000 gmt_customio.c Reading of bit-masks did not allocate enough memory. 04/20/2000 gmtmath.c -T... did not stick unless T was first operand. 04/24/2000 gmt_map.c Clip path for azimuthal projections when the S or N pole was included in -R did not work. gmtselect.c -L -F requries an implicit -M while reading the line or polygon files. Option -M only applies to the input data files. 04/26/2000 gmt_io.c Did not skip blank input lines. xyz2grd.c Did not update n_filled when it had to average. 04/27/2000 grdview.c yval was reset instead of xval - could give SEGV. 04/28/2000 gmt_plot.c y-component of grid-crosses not parallel to meridian 05/01/2000 grdview.c Now correctly interprets -Qig as 100 dpi mono image. surface.c Planar correction for constrains moved directly to nearest node was not scaled by r_z_scale. 05/03/2000 grdview.c mesh was set as default even when -T was selected. 05/04/2000 gmt_map.c Replaced old Oblique Mercator with a general rotation to oblique coordinates followed by plain Mercator. Rotation done as in project via vector operations. This also fixes mapproject errors. grd_inverse had a 360 degree offset problem. 05/05/2000 dbase/grdraster.c Now, -Ggridfile is optional; if not given we write xyz triplets to stdout instead. 05/09/2000 share/binned_border* Added new borders for the Balkans. grd2xyz.c -Sr suppresses all non-NaN nodes 05/15/2000 grdfilter.c Added -T to toggle registration as in grdsample, but left old -N in there (undocumented) to ensure backward compatibility. 05/23/2000 gmt_support.c Had USE_TRIANGLE instead of TRIANGLE_D in #ifdef test, effectively giving everybody Watson's method xgrid/* Now use GMT grid i/o, and a configure script to get the X libraries set up correctly, thanx to Lloyd Parkes xyz2grd.c Added -A[n|z] option to count or add up multiple node entries. Also, no warnings without -V. 05/25/2000 mapproject.c OK to have variable column numbers; only 2 required. grdtrack.c Same. grdinfo.c -C -M did not output the number of NaNs. grdimage.c Called ps_image with incorrect number of pixels for 1-bit images (only noticeable on small nx grids) 06/10/2000 psxy[z].c -Sf is now a general front plotter. The new option is backwards compatible with 3.3.4 and earlier. 06/13/2000 PS_font_heights.h Changed to fit height of numbers instead of "A". 06/15/2000 gmtdefaults.c Added new parameter ANOT_MIN_SPACING which can be used to reduce overprinting of closely spaced anotations. Also, OBLIQUE_ANOTATION has been extended considerably to carry many flags that affect basemap anotations. 06/16/2000 pslib.c Now includes reencoding of missing special chars. 06/27/2000 psxy.c Now will resample paths when -JX..d is used. 06/30/2000 gmtdefaults.c Add 10 to DEGREE_FORMAT to use the large degree symbol [Default uses the standard, small ring-symbol] 07/03/2000 mex Added configure file to make the makefile 07/05/2000 pslib.c Very large images (> 21845 pixel per scanline) would exceed implementation limits on string length. Fixed. 07/07/2000 gmt_io.c With some expections, -: is processed by GMT_input and GMT_output, and only applies to geographic data. Periodicity in longitudes also handled in GMT_input. 07/10/2000 blockm*.c Added option -L for periodicity in longitude (360) splitxyz.c --"-- trend2d.c --"-- triangulate.c --"-- gmtselect.c --"-- (plain -L; -L is still preserved) grdtrack.c --"-- (plain -L; -L is still preserved) nearneighbor.c --"-- (plain -L; -L is still preserved) surface.c --"-- (plain -L; -L is still preserved) gmt_support.c Fixed bug in set_grd_region 07/13/2000 pslib.c No longer reencode the Japanese fonts grdmath.c Added plain Heaviside step function STEP gmtmath.c Renamed existing STEP to STEPT in keeping with naming convention established in grdmath. Then added new, plain STEP (Heaviside function) 07/17/2000 x_system/*.c All now include gmt.h to properly deal with _WIN32 cps/libuu.c Needed fcntl.h under cygwin (_WIN32) config.* New versions correctly work under Interix and for Rhapsody (MacOS X). 07/21/2000 gmt_map.c Would reject polygons that completely contained the -R region as being "outside" the region. ----------------------------------------------------------------------------------------- ===> 07/21/2000 tar 3.3.5 made and released via email ----------------------------------------------------------------------------------------- 07/25/2000 grd2xyz.c Needed -L so that -: would work. psscale.c Modifier -B...s did not work. 07/27/2000 grdmath.c Added EXTREMA operator to find local extrema gmtmath.c Added LT, LE, EQ, GE, GT, NAN oerators grdmath.c --"-- gmtmath.c -Q must be protected from -T/inc check added in 3.3.5 07/31/2000 gmtmath.c Added plain -T for no-time data and -Cr to toggle cols xyz2grd.c Now, -V is needed to get verbose action (warnings) gmt_init.c Because of -L, -R now needs to set project_info.w,e,s,n 08/01/2000 psxy[z].c With -V, symbol sizes <= 0.0 result in warning (skipped) pslib.c Added ps_write_rasheader function for completeness gmt_support.c Added *_out_of_bounds functions for adjusting i,j based on BCs. gmt_boundcond.h Added prototypes for above. nearneighbor.c Use new *_out_of_bounds functions, plus fixed bug with replication and x-periodicity. Also fixed bug in the way new points were counted. 08/18/2000 gmt_stat.c Moved GMT_median and GMT_mode to here from gmt_support.c Made GMT_getmad based on code in pshistogram.c Made float versions of GMT_median, GMT_mode, GMT_getmad. Added chi-squared distribution. pshistogram.c Now calls the external GMT_getmad function. grdmath.c Added ISNAN, XOR, MODE, MAD, LMSSCL, TDIST, FDIST, CHIDIST gmtmath.c Added all these --"--, plus INT and SUM. Also added -S to report just the first row of the results (useful when we use MEAN, MEDIAN, etc) 08/21/2000 imgsrc/img2grd New Bourne script that calls img2mercgrd and converts the Mercatorized grid to geographic using grdproject. gmt_init.c When ensuring that -J is processed first we must preserve the order of the other arguments since grdvector expects two grdfile names in row. 08/22/2000 gmt_cdf.c New formats 7-11 for netcdf files with byte, char, short, int, and double arrays instead of floats. Thanx goes to Masakazu Higaki, JMA for implementing this feature. gmt_customio.c ---"--- gmt_grdio.{c,h} ---"--- psxyz.c -Su with size read from file failed to set y-size of cube. 08/23/2000 gmt/grdmath.c Added UPPER and LOWER to get extreme values 09/05/2000 grdimage.c Needed polygon clip/wrap machinery for -T as in psxy. gshhs Added the GSHHS tools as a new supplement. The binary data files must be obtained separately as before. 09/13/2000 Makefile Main directory Makefile did not copy .gmtdefaults_{SI,US} to the alternate share directory. gmt_support.c GMT_LUT structure were not properly initialized and some FILL pointers where not zero (affected cpt files with more than 50 entries). 09/17/2000 grdtrack.c -Lg now implies -L nearneighbor.c ---"---. 09/19/2000 gmt_support.c Resampling of cpt files (for makecpt) did not anticipate non-equidistant z-values from the user, which can occur when no -T option is given. Allow custom formatting of axis values via D_FORMAT when the it does NOT contain the 'g' format type. gmt_plot.c -JX...d with negative axes would not draw frame and annotate 09/20/2000 Makefile Had a typo: mex had become nex. 09/27/2000 surface.c Now aborts with a message if all input data lie on a plane. gmt_customio.c Fixed read_info for surfer file grids [J. Luis]. meca/utilmeca.c Replaced M_2PI with TWO_PI which is defined in gmt.h install_gmt Now a Bourne shell script which is the most portable shell. 09/29/2000 grdview.c -B..W+ for -Jo gave wrong box. -N facade and vertical lines not possible with -Rw/s/e/nr ----------------------------------------------------------------------------------------- ===> 09/29/2000 tar 3.3.6beta made and released via email to gmt-team ----------------------------------------------------------------------------------------- 10/02/2000 gmt_grdio.c Wrong size passed to do_scaling if pads were set. grdmath.c Needed to initialize grd header when no files present on the command line. do_examples.* Neither version set the library path correctly install_gmt Did not clean up after itself; still had bad (and unnecesary comparisions to empty strings gmt_customio.c Updated read function for surfer file grids [from J. Luis]. 10/05/2000 grdcontour.c Had to add -D- to get short DOS names for WIN32 gawk which does not seem to understand long names 10/10/2000 gmt_support.c Fix of 09/19/2000 broke grd2cpt - now fixed to deal with both cases (makecpt and grd2cpt). 10/12/2000 pslib.c Bug in ps_clipon: Passed close=TRUE to ps_line but 1st point not included so close should be FALSE. 10/13/2000 gmt_notunix.h DIR_DELIM should only be set to \ for WIN32. 10/17/2000 gmtmath.c Off by factor of 1/2 in D2DT2... gmt_grdio.c Better messaging in the grd_RI_verify routine ----------------------------------------------------------------------------------------- ===> 10/17/2000 tar 3.3.6 made and released via email ----------------------------------------------------------------------------------------- 10/20/2000 gmt_map.c Really densely sampled lines could fail to generate a crossing at map boundary due to imposed round-off. Now enforce that all lines start with "pen down". 10/27/2000 gmt_stat.c Return to inc_beta for GMT_f_q. Not used in GMT. 10/30/2000 gmt_support.c GMT_getinc would remove the trailing m or c while processing the increments; this only affected titles or remarks in output gridfiles. 11/03/2000 mgg/gmttrack.c -Sab was not converted to meters internally. dist was initialized to zero more than once. 11/06/2000 gmt_map.c Only had forward, but not inverse projection of linear geographic data. Messed up the -JXd inverse. 11/16/2000 gmt_man.html Had bad links for the cps modules 11/17/2000 pswiggle.c -Z did not use the default measure unit but instead used inches in the absence of a modifier. 11/27/2000 gmt_shore.c Need to reset node-levels when some polygons are skipped with the -A option. 11/28/2000 gmt_support.c Had error in verifying xinc for boundary condition prep. 11/30/2000 grdvector.c -Sf now sets fixed length vectors. 12/04/2000 pscoast.c Had world_map = TRUE for Gnomonic, which is not correct and led to criss-crossing of lines gmt_map.c No Gnomonic annotations except for rectangular box. mapproject.c Wrong units used when reporting xmin/xmax/ymin/ymax 12/07/2000 pswiggle.c Still did not get the azimuths correct. Now positive wiggles should go in the preferred direction [north]. 12/08/2000 gmt_map.c Ensure that if BOTH west/east are < 0, add 360. gmt_support.c GMT_set_format now always checks if units should be added. gmt_plot.c No longer overrides GMT_set_format. psscale.c -B0 will now skip the anotations, like psbasemap. 12/09/2000 psxy.c Ellipses drawn with -SE -N will not be skipped if their center is outside as some lines should plot inside. 12/15/2000 minmax.c Needed -L so that -: would work for geographical data. 12/22/2000 *.c Xmas present to users who want their -: back. -: now works regardless of -L. gmt_support.c Now use binary search to get rgb_index (Mika Heiskanen) 01/17/2001 project.c Did not calculate distances along small circles correctly gmtselect.c Used wrong slope for normal to line. 02/05/2000 meca/psmeca.c Several pens and fills were not initialized. 02/20/2000 minmax.c Added -D for Dateline (-180/+180) vs Greenwich (0/360). xyz2grd.c Now can handle multiple input files (except for -S) surface.c Issue error if more than one input file is given. gmt_plot.c Maps with -JPa/ were not oriented correctly Also, the anotations were incorrect. grdview.c With -JZ-, the z-anotations were not plotted. 02/26/2001 block*.c Added -F to mean pixel registration, but left -N in there for backward compatibility (undocumented option). Added -C to output center of block instead of mean/med/mode blockmode.c Did not output value when only one point inside block, and gave wrong value when two points of equal weight were in the block. 03/01/2001 grdcontour.c Adopted Kaj Jancke's modification for transparent text label boxes by appending t to the -A option. GMT Added a wrapper script that can start any GMT command It is intended to be installed in /usr/bin and it will know where the GMT binaries are to be found. E.g., use as GMT psbasemap -R0/5/0/5 -JM5 -P -B1 > plot.ps GMT.txt Renamed gmt.txt to GMT.txt 03/05/2001 imgsrc/img2grd The script did not understand name=format grdfile names. gmt_customio.c When writing integer grids, use irint to get out value, and apply same roundoff to min/max values. 03/07/2001 gmt_map.c Eliminated unneccesary * and / in gmt_[i]tm_sph. gmt_init.c Treat - and + in UTM as given. GMT_doc.* Split into several archives, as below: GMT_ps.* The PostScript versions of Cookbook and Tutorial GMT_pdf.* The PDF versions of Cookbook and Tutorial GMT_man.* The UNIX man pages for GMT GMT_tut.* The tutorial data sets install_gmt Modified to deal with the new archives gmt_services.html Now has links to PDF versions of documentation 03/20/2001 gmt_plot.c Fancy frame color not set for -B0 03/22/2001 gmtsuppl.bat Try no optimization for meca supplement compile 03/27/2001 grdimage.c Picked wrong box for -JG when periodic in long but not quite -90/+90 in latitude. grdview.c Place basemap on top when not a 3-D view 04/02/2001 gmt_map.c Now gives error if -R...r extends beyond horizon. 04/03/2001 meca/pscoupe.c Uninitialized variable now set (cause of Win32 problem?). segyprogs/pssegy[z].c fixed behavior for -ve Corrected type mismatches and format statements spotter/hotspotter.c Fixed malformed format statement spotter/originator.c Fixed malformed format statement x_system/x_over.c Fixed long and int mismatches x_system/x_solve_dc_drift.c Fixed long and int mismatches x_system/x_report.c Fixed long and int mismatches x_system/x_update.c Fixed long and int mismatches 04/04/2001 pslib.c Ensure pen color is reset to black in ps_plotend. triangle.tar Now starts at the src/ level, not GMT/ 04/07/2001 configure.in Now uses GMT hypot function under Cygwin/Interix gmtformats.d Updated to list all grid formats 04/10/2001 grdview.c -Qsg never implemented; same for -Qmg. 04/11/2001 gmtmath.c Give error message if unrecognized options are used grdmath.c ---"--- grdhisteq.c Incorrectly incremented index j and made gaps segyprogs/*.c Now checks for endian-ness and have new option -A gmt_cdf.c Write full headers to maintain fixed header size grdimage.c -M now affects -T also dbase/grdraster.c Round off sloppy -R to nearest dx/dy and give warning *.c Relax test of number of fields in input records for programs where n_required is known. 04/13/2001 pslib.c Transparent images got back/foreground switched 04/17/2001 gmt_plot.c Log10 frames suffered from round-off when bounds were < SMALL. gmtdefaults.c Added more DEGREE_FORMAT options to deal with integer degrees followed by decimal minutes. Now must add 100, not 10, to get big degree symbol instead of the default. ----------------------------------------------------------------------------------------- ===> 04/18/2001 tar 3.4 made for transition to CVS-based archive ----------------------------------------------------------------------------------------- 04/24/2001 minmax.c -C -Idx/dy did not use dy, only dx. pslib.c Ensure setpagedevice only used with PS Level > 1 mapproject.c The verbose min/max values were not reflecting -D 04/25/2001 surface.c Aborted when all points lie on a plane. Now fill grid with the planar values instead. 05/22/2001 gmtmath.c CHIDIST, TDIST, and FDIST all take degrees of freedom nu and not n as advertised. FDIST takes variances. grdmath.c ---"--- 05/23/2001 psxy.c Forgot to mention that psxy -EX|Y does box-and-whiskers 06/12/2001 grdvolume.c Bug in array allocation for -C0 and no -C 07/02/2001 grdfilter.c If input grid was pixel, output would be gridline reg. 07/11/2001 psrose.c Did not check properly for DEGREE_FORMAT symbol. 07/12/2001 grdvolume.c Had trouble when many nodes equaled the contour value. 07/16/2001 gmt_plot.c -Jp did not give tickmarks and only did 0-360 anotations. 07/26/2001 grdinfo.c Did not add 0.5dx/0.5dy to min/max location for pixel grids 08/06/2001 psscale.c Not fully cm/inch tolerant - added fix to deal with this. 08/16/2001 triangulate.c -b switch had no break; also did -D. 08/23/2001 gmtmath.c Did not deal well with negative t_inc 08/28/2001 gmtdefaults.c GMT_program not set so (null) was given when error. 08/31/2001 gmtmath_main.c MED, MAD, MODE, LMSSCL were passed n-1, not n. grdmath_main.c --"-- 09/13/2001 pscontour.c Now deals more appropriately with NaNs 09/18/2001 pstext.c Bug when giving font names rather than font number. 09/19/2001 gmt_plot.c Could exceeded array bounds in GMT_pow_array. 09/23/2001 pslib.c Ignored ny for non-square fill images. 09/27/2001 grdcontour.c Transparent labeling need to specify pen down when skipping points under the label. 10/04/2001 gmt_map.c Allow 360-periodicity in central meridian test 10/11/2001 grdproject.c Did not do false northing properly 10/12/2001 psimage.c Transparency did not work. pslib.c 1-bit images of odd width did not colorize correctly. 10/15/2001 psxy.c -S did not work well when l/ was read from the data file (\n was not removed). 10/24/2001 gmt_support.c Corrected error in comments for GMT_minmaxinc_verify [bchj] 10/24/2001 meca/ps*.txt Corrected man page formatting problems 10/31/2001 grdreformat.txt Replaced "nan" with "NaN" 11/07/2001 pstext.c -M did not skip text records, only master records. 11/18/2001 gmt_grdio.c No need to replace underscores with spaces in remarks etc 12/01/2001 grdimage.c If z == NaN, do not use intensity to change NaN rgb 12/10/2001 gmtselect.c With -bi, got confused and read -F, -L, -C files as binary. These are _always_ ascii. 12/24/2001 pslib.c Write in binary mode so PS binary images under Windows are not corrupted. 01/13/2002 gmt_map.c Fixed missing latitude anotations for -R-180/180/... gmt_plot.c ---"--- 01/29/2002 x2sys/x2sys_cross.c Allocated half the memory needed for arrays y and t. 02/14/2002 grdinfo.c half not initialized, could be garbage. 02/17/2002 gmt_map.c Allocation error in clipping could crash pscoast 02/20/2002 grdview.c -Q and -T together now gives usage error. 02/27/2002 *.c Clean up trailing \0 in sprintf statements Compiler -Wall flagged a few inconsistancies gmtmath.c Had -bi|o[d] instead of -bi|o[s] in synopsis. ----------------------------------------------------------------------------------------- ===> 03/01/2002 tar 3.4.1 made and released via email ----------------------------------------------------------------------------------------- 3. Known Problems that have not been fixed yet. * Still no explicit implementation of time-axes. Scheduled for 4.0 developers series * Filling of polygons that covers 360 degrees of longitude may not always work in psxy. Split them into pieces with < 180 degree longitude span.