Skip to content

Commit

Permalink
smurf: Record the number of chunks used by makemap in the output map.
Browse files Browse the repository at this point in the history
The number of chunks used is now stored in new item "NCHUNK" within
the SMURF extension of the output map.
  • Loading branch information
David Berry committed Aug 14, 2014
1 parent 578f2fa commit 4493ebd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion applications/smurf/libsmurf/smurf_makemap.c
Expand Up @@ -746,7 +746,10 @@
* accessed (unless JSA tiles are being created).
* 2014-03-31 (DSB):
* smf_mapbounds fast mode has been fixed so that it now works for
# the JSA all-sky pixel grid.
* the JSA all-sky pixel grid.
* 2014-08-14 (DSB):
* Add NCHUNK item to the SMURF extension of the output map,
* holding the number of chunks used.
* {enter_further_changes_here}
* Copyright:
Expand Down Expand Up @@ -1824,6 +1827,10 @@ void smurf_makemap( int *status ) {
ndfXpt0i( iters, ondf, SMURF__EXTNAME, "NUMITER", status );
}

/* Store the number of chunks used in the smurf extension of the
output map. */
ndfXpt0i( (int) ncontchunks, ondf, SMURF__EXTNAME, "NCHUNK", status );

/* Set bad bits mask to enable QUALITY. We can have quality bits set
indicating where a boundary condition to zero the map has been used.
If ast.zero_notlast is set the boundary condition was not applied on
Expand Down

0 comments on commit 4493ebd

Please sign in to comment.