Commit summary from repository starlink ------------------------------------ (Tim Jenness) smurf: Refactor ra/dec and az/el calculation 100.0% applications/smurf/scripts/ (Tim Jenness) smurf: Use JSA::Headers for reading jcmtstate extension 100.0% applications/smurf/scripts/ (Tim Jenness) perlmods: Use Safefree and Newx in NDF.xs instead of malloc/free 100.0% perlmods/Starlink/NDF/ (Tim Jenness) smurf: Whitespace cleanup in scripts directory 100.0% applications/smurf/scripts/ (Tim Jenness) hds: Improve error message in datGet1C 100.0% libraries/hds/ (Tim Jenness) smurf: Clean up dreamweights a little 71.4% applications/smurf/libsmf/ 25.3% applications/smurf/libsmurf/ 3.1% applications/smurf/ (Peter W. Draper) gaia: fix bug when given a mask that doesn't exist. 45.9% applications/gaia/gaia/generic/ 53.8% applications/gaia/gaia/library/ (David Berry) ast: Declare astMapPut1<X> input arrays "const" 100.0% libraries/ast/ Commits from repository starlink ----------------------------- commit 344a1d50a5fea45ce1cc8aeea0df0f9182f5622a Author: Tim Jenness <[log in to unmask]> Date: Mon Sep 21 15:52:30 2009 -1000 smurf: Refactor ra/dec and az/el calculation The calculation of the RA/DEC and AZ/EL columns are the same except for the key name in the JCMTSTATE structure. Use this to allow the calculation to occur in a subroutine. Also add DRA and DDEC as arcseconds offset from base position and calculate DAZ and DEL in the same manner without erroneously referring the offsets to the azel of the first sample (since that is not particular meaningful). applications/smurf/scripts/jcmtstate2cat | 167 +++++++++++++--------------- 1 files changed, 75 insertions(+), 92 deletions(-) commit fcad35f385770bcc4cf04ed3df65a74b93f6fa54 Author: Tim Jenness <[log in to unmask]> Date: Mon Sep 21 14:49:48 2009 -1000 smurf: Use JSA::Headers for reading jcmtstate extension Since so much effort has gone into a generic JCMTSTATE reader for JCMT data files for the JSA and ORAC-DR, make use of it from SMURF as well. ORAC-DR already uses the JSA modules so this should not add a dependency to the global Starlink system. applications/smurf/scripts/jcmtstate2cat | 55 ++++------------------------ 1 files changed, 8 insertions(+), 47 deletions(-) commit 10be52b1e90272f7ed5022e829245f395a10977b Author: Tim Jenness <[log in to unmask]> Date: Mon Sep 21 14:47:55 2009 -1000 perlmods: Use Safefree and Newx in NDF.xs instead of malloc/free perlmods/Starlink/NDF/NDF.xs | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) commit d64d08251a4167c1ad4348a5fc164a92c96a5c04 Author: Tim Jenness <[log in to unmask]> Date: Mon Sep 21 14:13:58 2009 -1000 smurf: Whitespace cleanup in scripts directory applications/smurf/scripts/dumpocscfg | 176 ++++++++++++++-------------- applications/smurf/scripts/gettsys | 64 +++++----- applications/smurf/scripts/jcmtstate2cat | 24 ++-- 3 files changed, 132 insertions(+), 132 deletions(-) commit c7a87a09e17b51b4c191e0c30bc9c490942444fe Author: Tim Jenness <[log in to unmask]> Date: Mon Sep 21 08:59:05 2009 -1000 hds: Improve error message in datGet1C libraries/hds/datGet1C.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit 616dec010a95dc3a3d0cdbaea61b87c3554950f5 Author: Tim Jenness <[log in to unmask]> Date: Fri Sep 18 17:48:34 2009 -1000 smurf: Clean up dreamweights a little * Config param now defaults to null * grid extent now specified in config as a vector * document config options in prologue * remove unnecessary malloc of fixed size array applications/smurf/libsmf/smf.h.source | 2 +- applications/smurf/libsmf/smf_dream_getgrid.c | 83 ++++++++++---------- applications/smurf/libsmurf/smurf_dreamweights.c | 56 ++++++++++--- applications/smurf/smurf.ifd.in | 3 +- 4 files changed, 86 insertions(+), 58 deletions(-) commit e89e9409a59fc14a98f24dbe1c69f2b5616b4cce Author: Peter W. Draper <[log in to unmask]> Date: Mon Sep 21 11:13:28 2009 +0100 gaia: fix bug when given a mask that doesn't exist. applications/gaia/gaia.news | 3 +++ applications/gaia/gaia/generic/gaiaArrayTcl.c | 20 +++++++++++++------- applications/gaia/gaia/library/GaiaMask.tcl | 22 +++++++++++++--------- 3 files changed, 29 insertions(+), 16 deletions(-) commit 037410104f68cae3b4e292ef6184676749de3510 Author: David Berry <[log in to unmask]> Date: Mon Sep 21 10:07:24 2009 +0100 ast: Declare astMapPut1<X> input arrays "const" libraries/ast/ast.news | 10 ++++++- libraries/ast/configure.ac | 2 +- libraries/ast/keymap.c | 59 +++++++++++++++++++++------------------- libraries/ast/keymap.h | 26 +++++++++--------- libraries/ast/sun_master.tex | 29 +++++++++++++++----- 5 files changed, 76 insertions(+), 50 deletions(-)