[fitsbits] WCSLIB 3.3

Mark Calabretta Mark.Calabretta at atnf.CSIRO.AU
Wed Oct 22 05:24:05 EDT 2003


Greetings,

As presaged at the FITS BoF at ADASS, WCSLIB 3.3 is now available from
                                      ----------
   http://www.atnf.csiro.au/~mcalabre

This release contains some fixes to WCSLIB 3.2 gleaned from usage in
aips++ but the main changes are primarily in PGSBOX.  Change notes for
each are appended.

Mark Calabretta
ATNF


>>>


WCSLIB version 3.3 (2003/10/21)
-------------------------------

* In celset(), the default value for phi_p (LONPOLE) is

     phi_p = phi_0 + ((delta_0 < theta_0) ?  180.0 : 0.0)

  Previously phi_0 (which is normally zero) was not added.  Reported by
  David Berry (dsb at ast.man.ac.uk).

* wcsprt() and linprt() now check that the structs have been initialized.

* In wcsini(), when the wcsprm flag is -1 also set the linprm flag to -1 to
  force initialization of the memory managed by linset().

* wcsset() now explicitly initializes the celprm and spcprm structs via
  celini() and spcini().

* Fixed syntax errors in the macro definitions of linrev_errmsg and
  linfwd_errmsg.

* In Makefile, added the -ansi option to gcc to force it to behave like a
  strict ANSI C compiler, specifically in setting the __STDC__ preprocessor
  macro.


>>>


PGSBOX version 3.3 (2003/10/21)
-------------------------------

* PGSBOX now recognizes status returns -1, -2, and -3 from NLFUNC for opcodes
  +2 and +1 which cause it to accept the returned (x,y) coordinates but not
  consider them as one end of a crossing segment for labelling world
  coordinate 1, 2, or both.

* PGSBOX now takes care not to lose vertical tick marks (and hence labels) at
  the left or right edge of the frame.  Likewise for horizontal tick marks at
  the top or bottom edge of the frame.

* Tightened up the test in PGSBOX for cycles in angle to catch the case where
  the coordinate value spans a full 360 degrees.

* PGSBOX will no longer accept frame crossings that are too oblique; floating
  point rounding errors may cause grid lines that should otherwise track along
  the frame to weave down it from side-to-side resulting in spurious crossing
  points.

* Fixed a bug in pgwcsl_() for processing simple linear coordinates.

* pgwcsl_() now returns error -2 if the latitude is outside -90 to +90 for
  opcodes +2 and +1.

* Amended the translation of status return codes from WCSLIB in pgwcsl_().

* Provided a header file for pgwcsl_() (mainly for C++ usage).

* Added extra test plots to PGTEST and cpgtest.

* Added extra functionality to the Makefile.





More information about the fitsbits mailing list