Fantastic. Works like a charm. Couple of comments:
1. Could the second line of the history be indented a little?
Parameters: FLOW=! FREQ=! [log in to unmask] OUT=@yyy POWER=@power
MSG_FILTER=! QUIET=!
Software: /star/bin/smurf/calcnoise
Group: IN="20090923/00027/s4a20090923_00027_0001,
20090923/00027/s4a20090923_00027_0002,
20090923/00027/s4a20090923_00027_0003,
like the second line does in the Parameters section.
2. Kappa please. I have dreamed of seeing the history for something
like wcsmosaic actually listing all the files that were included in
the mosaic.
3. Some extra commas seem to turn up.
Group: SIMPAR=", subname=(s8a,s8b,s8c,s8d), , add_hnoise=0, "
Group: OBSPAR=", ra=00:00:00.0, dec=00:00:00.0, , lambda=0.85e-3, ,
mjdaystart=53997.5, , steptime=5.0e-3, , obsmode=heatrun, ,
flatname=TABLE, , , heatstart=24.2, , heatstep=0.01, ,
heatnum=150, "
(this is from the SCUBA-2 simulator).
On Oct 16, 2009, at 7:58 AM, David Berry wrote:
> OK. I've implemented a system to do this. Not quite like I imagined
> because of limitations caused by fixed-size buffers, etc., and not
> wanting any direct inter-dependency between NDF and GRP. It involves
> using the new functions ndgBeggh and ndgEndgh to create a "GRP NDF
> History" block, within which any uses of kpg1_gtgrp etc are recorded.
> A new type of NDF event is used to record each NDF to which default
> history is written, and when ndgEndgh is called, all these NDFs are
> modified to include the expanded group contents in their history.
>
> I've modified cupid_mon.c and smurf_mon.c to use these facilities.
--
Tim Jenness
Joint Astronomy Centre
|