<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4994845427978586964</id><updated>2012-02-08T13:54:08.589-10:00</updated><category term='nanahope'/><category term='orac-dr'/><category term='JSA'/><category term='starlink'/><category term='clumps'/><category term='JLS'/><category term='OMP'/><category term='minutes'/><category term='ACSIS'/><category term='faq'/><category term='DR'/><category term='SCUBA-2'/><category term='picard'/><category term='astronomy software'/><category term='opacities'/><category term='cadc'/><category term='GAIA'/><category term='jcmt'/><category term='data processing'/><category term='drip feed'/><category term='CUPID'/><category term='tau'/><category term='twitter'/><category term='calibration'/><category term='FCFs'/><category term='telecon'/><category term='smurf'/><title type='text'>Pipelines and Archives</title><subtitle type='html'>The latest happenings in JCMT data pipeline development, as well as our interfaces with the JCMT data archive at CADC.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>81</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-2217320657712150245</id><published>2012-02-03T10:57:00.023-10:00</published><updated>2012-02-08T13:54:08.603-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='FCFs'/><category scheme='http://www.blogger.com/atom/ns#' term='opacities'/><category scheme='http://www.blogger.com/atom/ns#' term='tau'/><category scheme='http://www.blogger.com/atom/ns#' term='calibration'/><title type='text'>SCUBA-2 Calibration: REDUX.</title><content type='html'>&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;The short story:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The heater coupling factors have been adjusted to more realistic values. In practice, &lt;span style="font-weight: bold;"&gt;this does not change the performance of the instrument&lt;/span&gt; - however it does change the absolute value of the FCFs. These values were adjusted in the software in mid-December.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;The WVM tau algorithm has been fixed and improved. This will not affect you directly: though the nightly plots now look extremely good and are officially used for weather band determination.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;This has allowed new, and better calculation of the relation between the 225GHz tau derived from the WVM and the opacities at the two SCUBA-2 filter-bands. They are now as follows:&lt;/li&gt;&lt;/ul&gt;                          &lt;span style="font-weight: bold;"&gt;TAU_[850] = 4.6 * (TAU_[225] - 0.0043)&lt;/span&gt;&lt;br /&gt;                       &lt;span style="font-weight: bold;"&gt;TAU_[450] = 26.0 * (TAU_[225] - 0.019)&lt;/span&gt;&lt;ul&gt;&lt;li&gt;The FCFs (flux conversion factors) have been derived for both wavelengths from an extensive reduction of calibrator sources observed over eight months of SCUBA-2 commissioning and science verification observations. They are as follows:&lt;/li&gt;&lt;/ul&gt;                   &lt;span style="font-weight: bold;"&gt;850um: &lt;/span&gt;&lt;br /&gt;                    &lt;span style="font-weight: bold;"&gt;FCF_[arcsec]  = 2.42 +/- 0.15 Jy/pW/arcsec**2&lt;/span&gt;&lt;br /&gt;            &lt;span style="font-weight: bold;"&gt;       FCF_[peak]    = 556 +/- 45 Jy/pW/beam&lt;/span&gt;&lt;br /&gt;             &lt;span style="font-weight: bold;"&gt;       Beam area    = 229 arcsec**2&lt;/span&gt;&lt;br /&gt;&lt;br style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;                  450um:&lt;/span&gt;&lt;br style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;                      FCF_[arcsec]   = 6.06 +/- 0.32 Jy/pW/arcsec**2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;                      FCF_[peak]      = 606 +/- 55 Jy/pW/beam&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;                      Beam area       = 97 arcsec**2&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;Reminder on how to calibrate your data:&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Other posts discuss how best to reduce your data (and what recipes are needed). The latest software releases (since January 2012) all include extinction correction (with the relations above) and the changed coupling factors. If you reduced your data prior to this, &lt;span style="font-style: italic;"&gt;you will need to reduce them again to account for these changes.&lt;/span&gt; Applying the FCFs reported here to old reductions of your data will be wrong.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;The arcsec FCF: &lt;/span&gt;&lt;span style="font-style: italic;"&gt;(when you want integrated fluxes)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;     The arcsec FCF  is the factor by which you should multiply your map if you wish to use the calibrated map to do aperture photometry.&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;The peak FCF: &lt;/span&gt;&lt;span style="font-style: italic;"&gt;(the FCF-formerly-known-as-beam):&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;    This FCF is the number by which to multiply your map when you wish to measure absolute peak fluxes of discrete sources.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;The whys and the wherefores (the gory details):&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;Reductions of the calibration observations:&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Uranus and Mars were used as the primary calibrators for these results. In addition, CRL 618, CRL 2688 were also predominant secondary calibrators. All of the calibrators were reduced in January 2012 using the updated dimmconfig_bright_compact.lis. The improvements in the recipe (mostly in how it chooses to stop iterating) have resulted in extremely flat maps with nearly no evidence of the 'bowling' seen around strong sources during S2SRO reductions. To improve the accuracy of the peak-fitting and aperture photometry, the maps were reduced with 1 arcsecond pixels at both wavelengths. &lt;/p&gt;&lt;p&gt;Once the maps were reduced they were then analysed using the PICARD script SCUBA2_FCFNEFD. There have been some changes to this script: some few bugs have been fixed, the average FCF's have been adjusted, as well as the (now emprically derived) beam area, and a few reference fluxes have been adjusted. FCF_beamequiv has been removed entirely, and all calculations of integrated values are now done using AUTOPHOTOM, with a defined aperture and annulus for background subtraction.&lt;/p&gt;&lt;p&gt;Following extensive analysis of the most optimal parameters, all calibrations were reduced using a 60" diameter aperture (at both wavelengths) with an annulus between 90" and 120" from the source position.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Questions? Let's provide answers to a few we've already seen:&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;"These FCFs are very different to the old numbers quoted!"&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Yes they are. The heater coupling factor change and the new tau relations play a significant part in this. But in addition, the large sample of observations has allowed for a much more accurate determination of the beam area.  At 450um in particular, optical effects of the telescope show that the error beam is large and the beam is not gaussian. This results in an effective FWHM that is much broader than the 7.5" quoted previously (though that is the approximate FWHM of the fit to the centre of the beam) - it is more like 9.5", taking into account the error beam. Therefore, the measured (and fitted) peak is relatively lower, requiring a higher FCF to calibrate the peak flux in your data.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;"There is a lot of scatter when I calculate the 'beam' or peak FCFs for my calibrators (particularly at 450um)"&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;No kidding. Peak values are obtained either from reading off the peak of the map (in gaia or by another method) or by fitting to the peak using beamfit (as is done in PICARD).  The beam shape (particularly at 450um) can be extremely susceptible to changes in focus and atmospheric instability, amongst other things. The integrated value (FCF_arcsec) is more robust against such changes. If you are measuring a peak fit from a calibrator and see a strong deviation from the expected value things to check are:&lt;/p&gt;&lt;p&gt; - how 'focussed' does the image look? If you see distortion in the shape of a source that should be point-like, or distortion or 'shoulders' in the beam then it is likely that the peak value will be unreliable.&lt;br /&gt;&lt;/p&gt;&lt;p&gt; - was the observation taken early in the evening? Focus and atmospheric effects are known to be worst in the early evening hours and sometimes in the morning after sunrise. If you are looking at calibrators, try and look at ones taken later in the night and see if there is improvement.&lt;/p&gt;&lt;p&gt;A 'trap' has been set in PICARD to warn you if the attempted fit to the peak misses the actual peak value by more than 10%. Looking at the fit to the shape also helps in this instance.  In any case, the quoted peak FCF value at the top of the post is derived from the arcsec FCF and the empirical beam area derived from nearly 500 observations at both wavelengths and this number has been shown to be robust.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;"How stable are these FCFs? (read: do I need to reduce my own calibrators?)"&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Very. The absolute errors at both wavelengths are within 5% and no significant trends have been seen in the last six months. Instrument performance is being monitored very closely and any deviations are likely to be noted specifically. However, we do not discourage you taking calibrators from the nights your data was taken and reducing them yourself - we appreciate the sanity checks! Another handy rule: &lt;span style="font-weight: bold;"&gt;if you do it to your data, do it to your calibrator. &lt;/span&gt;If you have specific methods you plan to use on your data, apply the same methods to your calibrator in order to ensure your calibration is correct. We are now happy to say though, that these FCFs look stable and correct, so using these numbers should provide you with well-calibrated data.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul style="font-weight: bold;"&gt;&lt;li&gt;"What happened to FCF_beamequiv?"&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;FCF_beamequiv is a seductive, evil little value that tempted us to stray to the dark side, albeit temporarily. In essence it was created to use as a comparison to SCUBA performance, but should never have been used to actively calibrate SCUBA-2 data as it assumed a perfect gaussian beam. The statements above explain that this is patently untrue, especially at 450um. The beamequiv number was quoted previously, and incorrectly, as the true FCF, and it is largely the reason that the new (and correct) numbers seem so much larger.  We have banished it from PICARD and it shall now be known as the FCF-that-shall-not-be-named.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-2217320657712150245?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/2217320657712150245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=2217320657712150245&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2217320657712150245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2217320657712150245'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2012/02/scuba-2-calibration-redux.html' title='SCUBA-2 Calibration: REDUX.'/><author><name>Jessica Dempsey</name><uri>http://www.blogger.com/profile/17089662585998108442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-4259094968595129560</id><published>2011-11-16T12:15:00.007-10:00</published><updated>2011-11-18T11:30:24.869-10:00</updated><title type='text'>Supplying an externally-generated zero mask</title><content type='html'>In an earlier post I described &lt;a href="http://pipelinesandarchives.blogspot.com/2010/09/suppressing-large-scale-noise-with-zero.html"&gt;zero-masking&lt;/a&gt; , in which the map is forced to a value of zero in certain locations to help with convergence (i.e. reduce saddles, negative bowls around sources etc.). The two methods that have been available until now are: defining circular regions beyond which the map is set to zero (good for known compact sources); and using a threshold on the local SNR (an automatic way to identify source and blank sky).&lt;br /&gt;&lt;br /&gt;Since SMURF still handles non-continuous pieces of data independently (i.e. multiple maps of the same field), the SNR of an individual map may not be sufficiently large to produce a good mask of source / blank sky, whereas the combination of all data sets do. For those cases, and other examples where you may know, a priori, where to expect emission, a new facility has been added so that the user can define a zero mask externally and then provide it to SMURF.&lt;br /&gt;&lt;br /&gt;In this illustrative example, I use one of the OMC-1 maps from 2010 with the s4a array: obs 18,22,23 on 2010216 and obs 27,29,33,34 on 20100218. First, we make a map using the bright_extended configuration (which uses SNR-based zero masking; I also use a lot of down-sampling and big map pixels to speed things up for this example):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;makemap ^names_450.txt map_450_be pixsize=8 \&lt;br /&gt;method=iterate \&lt;br /&gt;config='"^/stardev/share/smurf/dimmconfig_bright_extended.lis"'&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The resulting image looks reasonably good, but there are obvious negative bowls around the bright extended sources. However, the SNR of the final image is quite good, so I create a new mask based by thresholding the SNR map (4-sigma), and then smoothing it with a 5-arcsec FWHM Gaussian to spread out from where the sources are slightly:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;makesnr map_450_be map_450_be_snr&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;thresh map_450_be_snr mask_450 thrlo=4 newlo=0 \&lt;br /&gt;thrhi=4 newhi=1&lt;/span&gt;  &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;br /&gt;gausmooth mask_450 mask_450_sm fwhm=5&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;thresh mask_450_sm zero_mask_450 thrlo=0.05 newlo=bad \&lt;br /&gt;thrhi=0.05 newhi=1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I can then feed this new "zero_mask" back into makemap and re-run the data:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;makemap ^names_450.txt map_450_zm pixsize=8 \&lt;br /&gt;method=iterate \&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;config='"^/stardev/share/smurf/dimmconfig_bright_extended.lis,itermap=1,ast.zero_mask=1,ast.zero_snr=0"'  \&lt;br /&gt;ref=zero_mask_450&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The key things to note are: (i) I turned off the SNR thresholding, ast.zero_snr, that is the default for the bright_extended configuration, and (ii) the new zero mask is provided as the REF image (also ensuring that the map and mask are on the same pixel grid), and to use it we set ast.zero_mask=1.&lt;br /&gt;&lt;br /&gt;In the following images I show (from top-left): (i) an arm sticking out towards the north of OMC-1 using the default bright_extended reduction; (ii) the same region after using the updated zero-mask; (iii) the first map subtracted from the second map to illustrate the improved response to large-scale structure; (iv) the original combined zero mask based on the SNR of map pixels in individual scans; (v) the new zero mask based on thresholding/smoothing the combined SNR map:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/-BisLjpHYjXc/TsbEO1hCheI/AAAAAAAAAEg/fkeFVU5T6Y8/s1600/compare.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 310px;" src="http://2.bp.blogspot.com/-BisLjpHYjXc/TsbEO1hCheI/AAAAAAAAAEg/fkeFVU5T6Y8/s400/compare.png" alt="" id="BLOGGER_PHOTO_ID_5676440139509958114" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-4259094968595129560?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/4259094968595129560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=4259094968595129560&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/4259094968595129560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/4259094968595129560'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2011/11/supplying-externally-generated-zero.html' title='Supplying an externally-generated zero mask'/><author><name>Ed Chapin</name><uri>http://www.blogger.com/profile/05393061220413106533</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-BisLjpHYjXc/TsbEO1hCheI/AAAAAAAAAEg/fkeFVU5T6Y8/s72-c/compare.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-7246019843221948553</id><published>2011-03-31T08:37:00.004-10:00</published><updated>2011-03-31T08:40:47.540-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><category scheme='http://www.blogger.com/atom/ns#' term='orac-dr'/><category scheme='http://www.blogger.com/atom/ns#' term='data processing'/><title type='text'>Automatically adding fake sources to real data, part 2</title><content type='html'>In a previous entry, I described how to go use the new ORAC-DR recipe REDUCE_SCAN_FAKEMAP to &lt;a href="http://pipelinesandarchives.blogspot.com/2011/01/automatically-adding-fake-sources-to.html"&gt;automatically add fake sources to the raw time series&lt;/a&gt; in order to get a handle on the transfer function of the map-maker. That's all very well, but how about starting with something simpler, such as a Gaussian? Now you can add a Gaussian of given amplitude and FWHM without first creating an image to feed in to the pipeline. As before, the Gaussian properties are defined using recipe parameters:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;[REDUCE_SCAN_FAKEMAP]&lt;br /&gt;FAKEMAP_FWHM = 15&lt;br /&gt;FAKEMAP_SCALE = 0.5&lt;br /&gt;FAKEMAP_OFFSET = dx,dy&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The FWHM is in arcsec and is the only mandatory parameter (the SCALE and OFFSET are optional). In this case, the FAKEMAP_SCALE parameter is the amplitude of the Gaussian in Jy/beam. The Gaussian can be positioned anywhere in the map by giving an offset (RA, Dec in arcsec).&lt;br /&gt;&lt;br /&gt;The pipeline can help you out further by using a couple of useful defaults. If the world "beam" is given as the FWHM, then the pipeline will use the default beam size appropriate for the current wavelength (14" at 850 um, 8" at 450 um). If the amplitude is not specified then (somewhat arbitrary) defaults of 1 and 4 Jy/beam are assumed (at 850 and 450 um respectively).&lt;br /&gt;&lt;br /&gt;Note that the FWHM must be greater than half the pixel scale (the pipeline will set it to that value if the given value is less), but in principle there is no upper limit. In practice the upper limit is defined by the array footprint (about 2.5 arcmin for S2SRO data): anything much larger than that will be removed by makemap as part of fitting the common mode.&lt;br /&gt;&lt;br /&gt;As usual, update your Starlink installation (with rsync) to try it out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-7246019843221948553?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/7246019843221948553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=7246019843221948553&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7246019843221948553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7246019843221948553'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2011/03/automatically-adding-fake-sources-to.html' title='Automatically adding fake sources to real data, part 2'/><author><name>AndyG</name><uri>http://www.blogger.com/profile/08420176185148728829</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://gonewest.freeshell.org/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-5594393908514249653</id><published>2011-03-18T09:33:00.000-10:00</published><updated>2011-03-18T09:33:06.812-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSA'/><category scheme='http://www.blogger.com/atom/ns#' term='orac-dr'/><category scheme='http://www.blogger.com/atom/ns#' term='data processing'/><title type='text'>Recipe Parameters and the Science Archive</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;When processing jobs are submitted to the science archive ORAC-DR is configured to load a specialist recipe parameter file associated with the project. This can be used by PIs or surveys to tune processing to their liking. The idea is that PIs or survey teams send us their recipe parameter files and we then make sure that the processing jobs use them.&lt;br /&gt;&lt;br /&gt;This week I've updated the recipe parameter system to allow tuning based on the object name as well as the recipe name. In some projects the objects are completely different so a single parameter file was not useful. Hopefully this change will encourage more people to send us parameter files.&lt;br /&gt;&lt;br /&gt;To use the object based scheme simply append the object name to the recipe name in the file along with a colon. No spaces in the object name.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;[REDUCE_SCAN:M82]&lt;br /&gt;&amp;nbsp;&amp;nbsp;PAR1 = A&lt;br /&gt;&amp;nbsp;&amp;nbsp;PAR2 = B&lt;br /&gt;&lt;br /&gt;If there is also a recipe-based entry those parameters will be merged in&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;[REDUCE_SCAN]&lt;br /&gt;&amp;nbsp;&amp;nbsp;PAR1 = Aprime&lt;br /&gt;&amp;nbsp;&amp;nbsp;PAR3 = C&lt;br /&gt;&lt;br /&gt;So in this example if the object name is "M82" PAR1, PAR2 and PAR3 will be set and PAR1 will have a value "A". If the object is no "M82" only PAR1 and PAR3 will be set and PAR1 will have value "Aprime".&lt;br /&gt;&lt;br /&gt;This change is currently on the stardev rsync server, or if you have git installed you can update your own ORAC-DR distribution.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-5594393908514249653?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/5594393908514249653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=5594393908514249653&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/5594393908514249653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/5594393908514249653'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2011/03/recipe-parameters-and-science-archive.html' title='Recipe Parameters and the Science Archive'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-1188846628798124369</id><published>2011-01-18T08:18:00.002-10:00</published><updated>2011-01-18T08:30:18.173-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><category scheme='http://www.blogger.com/atom/ns#' term='orac-dr'/><category scheme='http://www.blogger.com/atom/ns#' term='data processing'/><title type='text'>Automatically adding fake sources to real data</title><content type='html'>Further to &lt;a href="http://pipelinesandarchives.blogspot.com/2010/10/adding-fake-sources-to-real-data.html"&gt;Ed's post on adding fake sources to SCUBA-2 maps&lt;/a&gt;, I've added some new functionality to the pipeline which allows this process to be automated.&lt;br /&gt;&lt;br /&gt;There is a new recipe called REDUCE_SCAN_FAKEMAP which should be specified on the command-line when running the pipeline. (Normally the recipe is chosen automatically.)  This recipe behaves in exactly the same way as the standard recipe, and just passes the given `fake' map (adjusted and scaled as necessary) to the map-maker.&lt;br /&gt;&lt;br /&gt;The recipe has a small number of parameters which can be given in addition to those already accepted by the pipeline (e.g. an alternative makemap configuration file). These parameters are all prefixed with "FAKEMAP_":&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;[REDUCE_SCAN_FAKEMAP]&lt;br /&gt;FAKEMAP_MAP = mymap.sdf&lt;br /&gt;FAKEMAP_SCALE = 0.5&lt;br /&gt;FAKEMAP_REGRID = 1/0&lt;br /&gt;FAKEMAP_OFFSET = dx,dy&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;The name of the base input map is mandatory (otherwise the pipeline exits immediately). The remaining parameters are optional. The SCALE parameter is the same as the "fakescale" parameter used by the map-maker and defaults to 1 if not given. Two further parameters control how the input map is adjusted before adding to the raw timeseries data.&lt;br /&gt;&lt;br /&gt;The OFFSET parameter is a pair of RA,Dec offsets in arcsec which allow the input map to be shifted so that it doesn't coincide with a source in the SCUBA-2 data. The default is not to shift the input map. The offsets are applied to the source: i.e. a shift of 60,60 puts a source originally at (02:30:00.0, 00:00:00.0) at (02:30:04.0, +00:01:00.0) in the output map.&lt;br /&gt;&lt;br /&gt;The REGRID parameter is a flag which, if true, regrids the input map to match the pixel coordinates of the output map (i.e. same pixel bounds and pixel size). The default is false, unless an OFFSET is given: in this case the input map must be aligned (regridded) to match the output map so that the pixel bounds are correct. Note that the original input file is not modified: the pipeline makes a copy and operates on that.&lt;br /&gt;&lt;br /&gt;Here's an example of calling this recipe on the command line (processing a list of files contained in mydata.lis):&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;% oracdr -loop file -files mydata.lis -recpars myrecpars.ini REDUCE_SCAN_FAKEMAP&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This new capability is available now with an update of your Starlink installation. Please try it out and let me know how well it worked (or didn't!), or send a message to the scuba2dr mailing list.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-1188846628798124369?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/1188846628798124369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=1188846628798124369&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1188846628798124369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1188846628798124369'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2011/01/automatically-adding-fake-sources-to.html' title='Automatically adding fake sources to real data'/><author><name>AndyG</name><uri>http://www.blogger.com/profile/08420176185148728829</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://gonewest.freeshell.org/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-7071501007843418014</id><published>2011-01-11T08:48:00.011-10:00</published><updated>2011-01-11T10:58:15.956-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='picard'/><category scheme='http://www.blogger.com/atom/ns#' term='data processing'/><title type='text'>Correcting for pointing drifts with PICARD</title><content type='html'>If you're lucky enough to have a bright source in your map, you may be able to improve the image fidelity by correcting for pointing offsets between observations. The pipeline now has this capability and it is applied automatically for calibrators, but not for most science targets. I've added a new PICARD recipe, called &lt;a href="http://www.oracdr.org/oracdr/SCUBA2_REGISTER_IMAGES"&gt;SCUBA2_REGISTER_IMAGES&lt;/a&gt;, which allows you to shift your images to line up at a common reference position before mosaicking. Here's how to do it.&lt;br /&gt;&lt;br /&gt;First step, upgrade to the latest Starlink version via &lt;a href="http://starlink.jach.hawaii.edu/starlink/rsyncStarlink"&gt;rsync&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Step two, create a recipe parameter file (say, params.ini) and add the following lines to it:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;[SCUBA2_REGISTER_IMAGES]&lt;br /&gt;REGISTER_IMAGES = 1&lt;br /&gt;REGISTER_RA = HH:MM:SS.S&lt;br /&gt;REGISTER_DEC = +DD:MM:SS.S&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;where "HH:MM:SS.S" and "+DD:MM:SS.S" are the RA and Dec of the source you wish to use.&lt;br /&gt;&lt;br /&gt;Then run&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;% picard -log sf -recpars params.ini SCUBA2_REGISTER_IMAGES myfiles*.sdf&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;and if all goes well, you will end up with a series of output files, one for every input file, which end in "_reg.sdf". These files can then be coadded using &lt;a href="http://www.oracdr.org/oracdr/MOSAIC_JCMT_IMAGES"&gt;MOSAIC_JCMT_IMAGES&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The recipe works by fitting a 2-d profile to the brightest source within a 2x2 arcmin&lt;sup&gt;2&lt;/sup&gt; box centred on the given reference position. The WCS is adjusted to place the reference position at the position reported by the fit.&lt;br /&gt;&lt;br /&gt;However, note that this method will only work if the source you're using is present in every image, is compact and clearly resolved from other nearby sources and is the brightest source within the 2x2 arcmin&lt;sup&gt;2&lt;/sup&gt; search box in every input image. It won't work for deep extragalactic maps, nor does it correct for any pointing drifts that occur &lt;i&gt;within&lt;/i&gt; an observation. Correcting for those drifts is much more involved, but it is something we'll investigate over the coming months. It's been tested on HL Tau, OMC-1 and AFGL4029 in W5-East.&lt;br /&gt;&lt;br /&gt;It's also possible to do the registering and coadding with a single call to MOSAIC_JCMT_IMAGES. In this case you'd want to add the following to a recipe parameter file (in addition to &lt;a href="http://www.oracdr.org/oracdr/MOSAIC_JCMT_IMAGES"&gt;any other coadding parameters&lt;/a&gt;):&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;[MOSAIC_JCMT_IMAGES]&lt;br /&gt;REGISTER_IMAGES = 1&lt;br /&gt;REGISTER_RA = HH:MM:SS.S&lt;br /&gt;REGISTER_DEC = +DD:MM:SS.S&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Here's an example using some observations of HL Tau data taken in December 2009. The corrections were as much as 8.5 arcsec in RA (the Dec corrections were less, up to 3 arcsec). The improvements are modest at 850 um (of order 10% increase in peak flux and a few per cent reduction in beam size) but much more significant at 450 um. The peak flux after correcting for pointing drifts is more than 20% higher than before, and the FWHM has decreased by 15% (9.2" to 7.9"). Furthermore, the source elongation (ratio of major and minor axes) is reduced from 16% to less than 3%. Before and after images are shown below.&lt;br /&gt;&lt;br /&gt;Left: HL Tau at 450 um, coadd of 9 separate observations from 20091213 and 20091214. Right: same data after registering each image before coadding. Both images are scaled between the same limits.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_G6uWsCwe_K0/TSzCQIDkKhI/AAAAAAAAEAg/EcDkNuyjMMY/s1600/hltau450_corr2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 156px;" src="http://3.bp.blogspot.com/_G6uWsCwe_K0/TSzCQIDkKhI/AAAAAAAAEAg/EcDkNuyjMMY/s320/hltau450_corr2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5561033222191852050" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-7071501007843418014?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/7071501007843418014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=7071501007843418014&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7071501007843418014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7071501007843418014'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2011/01/correcting-for-pointing-drifts-with.html' title='Correcting for pointing drifts with PICARD'/><author><name>AndyG</name><uri>http://www.blogger.com/profile/08420176185148728829</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://gonewest.freeshell.org/me.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_G6uWsCwe_K0/TSzCQIDkKhI/AAAAAAAAEAg/EcDkNuyjMMY/s72-c/hltau450_corr2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-459472098480400635</id><published>2010-11-29T09:13:00.001-10:00</published><updated>2010-11-29T09:14:33.346-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><category scheme='http://www.blogger.com/atom/ns#' term='data processing'/><title type='text'>SCUBA-2 at the ADASS conference</title><content type='html'>At the start of November I attended the ADASS conference in Boston and presented a poster paper on SCUBA-2 data processing. Readers of this blog probably won't find anything new in here but just in case, the conference paper itself is now on astro/ph at&amp;nbsp;&lt;a href="http://arxiv.org/abs/1011.5876"&gt;http://arxiv.org/abs/1011.5876&lt;/a&gt;. Thanks to Dave Nutter for supplying the Orion B image.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_YMgilZSPj0A/TPP7Twc7knI/AAAAAAAAEYY/NuZLRGMj_LE/s1600/ADASS_XX_poster.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://3.bp.blogspot.com/_YMgilZSPj0A/TPP7Twc7knI/AAAAAAAAEYY/NuZLRGMj_LE/s400/ADASS_XX_poster.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-459472098480400635?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/459472098480400635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=459472098480400635&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/459472098480400635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/459472098480400635'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/11/scuba-2-at-adass-conference.html' title='SCUBA-2 at the ADASS conference'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_YMgilZSPj0A/TPP7Twc7knI/AAAAAAAAEYY/NuZLRGMj_LE/s72-c/ADASS_XX_poster.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-1833483304738313380</id><published>2010-10-27T11:20:00.011-10:00</published><updated>2010-10-27T13:18:44.595-10:00</updated><title type='text'>Adding fake sources to real data</title><content type='html'>Until now it has been difficult to characterize the ability of SMURF to reduce maps of known sources. Certainly a basic simulator has been available since before SCUBA-2 began to take real data, but no effort to date has been put into updating the noise model to accurately reflect the real instrument.&lt;br /&gt;&lt;br /&gt;An alternative is to simply add signal from synthetic astronomical sources to real time-series. This feature was relatively easy to add and can be quite versatile. The user simply specifies an external 2-dimensional map using the new configuration parameter &lt;span style="font-family:courier new;"&gt;fakemap&lt;/span&gt; to makemap, containing the simulated sources. There are several things to be aware of when using this facility:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;the map of fake sources must have the same pixel dimensions as the output map&lt;br /&gt;&lt;/li&gt;&lt;li&gt;the units are the same as the output map from makemap (normally pW if working from raw data)&lt;/li&gt;&lt;li&gt;a scale factor can be applied to the map using the &lt;span style="font-family:courier new;"&gt;fakescale&lt;/span&gt; configuration parameter&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;The following two examples illustrate how this feature might be used.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Response to a point source&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;In this&lt;/span&gt;&lt;span style="font-size:100%;"&gt; example we create a beam map using a scan of Uranus  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;(&lt;span style="font-family:courier new;"&gt;s4a20091214_00015&lt;/span&gt;), and add it to the time-series for a scan&lt;/span&gt; of a blank field (&lt;span style="font-family:courier new;"&gt;s4a20100313_00029&lt;/span&gt;) to establish the effect of map-making and matched-filtering on point sources. Both of these data sets are public (See  &lt;a href="http://www.starlink.ac.uk/docs/sc19.htx/sc19.html"&gt;SC/19&lt;/a&gt; and &lt;a href="http://www.starlink.ac.uk/extras/sc19/"&gt;this web page&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;First, maps of the blank field and Uranus are both reduced:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;makemap s4a20100313_00029\*.sdf blank450 method=iterate config=^$STARLINK_DIR/share/smurf/dimmconfig_blank_field.lis&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;makemap s4a20091214_00015\*.sdf uranus_450 method=iterate config=^$STARLINK_DIR/share/smurf/dimmconfig_bright_compact.lis&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then we cut the central region out of the Uranus map and copy it into a map (using KAPPA:NDFCOPY) with the same pixel dimensions as the &lt;span style="font-family:courier new;"&gt;blank450.sdf&lt;/span&gt; so that we can use it to provide fake signal:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ndfcopy 'uranus_450(3~31,1~31)' fakeblank450 like=blank450&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We create a modified dimmconfig that instructs makemap to add in this additional source of signal, but applying a scale factor such that the amplitude of Uranus is 0.01 pW:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;^/stardev/share/smurf/dimmconfig_blank_field.lis&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;fakemap = fakeblank450&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;fakescale = 0.0471865&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We run makemap using this new config:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;makemap s4a20100313_00029\*.sdf blank450_fake method=iterate config=^dimmconfig.lis&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Finally, we produce match-filtered maps for both the original map, and the map with the fake source added in:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;picard SCUBA2_MATCHED_FILTER blank450&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;picard SCUBA2_MATCHED_FILTER blank450_fake&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The following image shows all four maps. The left column contains the raw output of makemap for the original map, and the map with the source added in. The right column shows the corresponding match-filtered images.&lt;span style="text-decoration: underline;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://4.bp.blogspot.com/_T1vpbzt-ZSc/TMifm3iuGzI/AAAAAAAAADM/X5f1YeE58Ww/s1600/fake_pointsource.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 381px;" src="http://4.bp.blogspot.com/_T1vpbzt-ZSc/TMifm3iuGzI/AAAAAAAAADM/X5f1YeE58Ww/s400/fake_pointsource.png" alt="" id="BLOGGER_PHOTO_ID_5532847632318077746" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The input source had a known amplitude of 0.01 pW. In the makemap output, however, we can see that the filtering during map-making has reduced the amplitude by about 12% to 0.0088. The peak in the match-filtered image, however, is not attenuated quite as severely, at 0.0096. In addition to the peak response, this test also clearly shows the effective PSF for the map: there are faint negative streaks along the scan directions caused by the high-pass filtering. This example suggests that upward corrections to the FCF of order 5 to 10% should be applied to maps of points sources using &lt;span style="font-family:courier new;"&gt;dimmconfig_blank_field.lis&lt;/span&gt; (although this factor should be established on a case-by-case basis).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Response to extended structures&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;It is known &lt;/span&gt;&lt;span style="font-size:100%;"&gt;that maps produced with SMURF do not have useful information on scales larger than roughly the array footprint due to the common-mode rejection, and high-pass filtering. Using the fakemap facility, we can now add sources with complicated structures to SCUBA-2 data to see this effect quantitatively.&lt;br /&gt;&lt;br /&gt;In this example we use an 850um scan of Orion (&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;s8d20100216_00022&lt;/span&gt;&lt;span style="font-size:100%;"&gt;), and to it we add some diffuse structure from a publicly available map of Vela at 350um from the &lt;a href="http://blastexperiment.info/results.php#vela"&gt;Balloon-borne Large-Aperture Submillimeter Telescope&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://1.bp.blogspot.com/_T1vpbzt-ZSc/TMisWb7ZSkI/AAAAAAAAADU/ZtOEso22j8A/s1600/fakevela.png"&gt;&lt;img style="cursor: pointer; width: 323px; height: 301px;" src="http://1.bp.blogspot.com/_T1vpbzt-ZSc/TMisWb7ZSkI/AAAAAAAAADU/ZtOEso22j8A/s400/fakevela.png" alt="" id="BLOGGER_PHOTO_ID_5532861643678632514" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Similar to the previous example, we first reduce the map of Orion (using &lt;span style="font-family:courier new;"&gt;dimmconfig_bright_extended.lis&lt;/span&gt;),&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_T1vpbzt-ZSc/TMiu0pdHV-I/AAAAAAAAADc/mRIdSa8Tlto/s1600/orion_raw.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 383px;" src="http://4.bp.blogspot.com/_T1vpbzt-ZSc/TMiu0pdHV-I/AAAAAAAAADc/mRIdSa8Tlto/s400/orion_raw.png" alt="" id="BLOGGER_PHOTO_ID_5532864361729054690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;and then we reduce it again using the BLAST image as a fakemap (positioning it and padding it to the correct size using KAPPA:NDFCOPY) and scaled to a similar signal range as the actual structure in Orion:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_T1vpbzt-ZSc/TMivOOtNYtI/AAAAAAAAADk/DXNIOjHwGI0/s1600/orion_fake.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 380px;" src="http://4.bp.blogspot.com/_T1vpbzt-ZSc/TMivOOtNYtI/AAAAAAAAADk/DXNIOjHwGI0/s400/orion_fake.png" alt="" id="BLOGGER_PHOTO_ID_5532864801225401042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;Comparing the upper-left region of this map where the Vela data were added with the original BLAST data, it is clear that all of the compact structures are faithfully identified, but the extended structure is not. Since we know what those underlying structures are, we can simply difference the input and output maps to see what we are missing in the SMURF reduction:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://4.bp.blogspot.com/_T1vpbzt-ZSc/TMivxdjQx5I/AAAAAAAAADs/CIv7Xzjc2tg/s1600/orion_diff.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 380px;" src="http://4.bp.blogspot.com/_T1vpbzt-ZSc/TMivxdjQx5I/AAAAAAAAADs/CIv7Xzjc2tg/s400/orion_diff.png" alt="" id="BLOGGER_PHOTO_ID_5532865406505633682" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;For reference, the upper-centre green blob is about 3 arcmin across, of order the array footprint. The smaller-scale dark features at the right are simply an artifact of the real Orion 850um emission that extends into the patch of the map where we inserted the Vela data!&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-1833483304738313380?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/1833483304738313380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=1833483304738313380&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1833483304738313380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1833483304738313380'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/10/adding-fake-sources-to-real-data.html' title='Adding fake sources to real data'/><author><name>Ed Chapin</name><uri>http://www.blogger.com/profile/05393061220413106533</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_T1vpbzt-ZSc/TMifm3iuGzI/AAAAAAAAADM/X5f1YeE58Ww/s72-c/fake_pointsource.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-6532496670428346716</id><published>2010-10-26T11:59:00.008-10:00</published><updated>2010-10-26T13:35:46.892-10:00</updated><title type='text'>Save time and memory: down-sampling your data</title><content type='html'>I've finally gotten around to adding the ability to "down-sample" the data.&lt;br /&gt;&lt;br /&gt;SCUBA-2 data are normally sampled at about 200 Hz (actually closer to 180 Hz). This specification  was based on the desire to scan up to 600 arcsec/sec while still fully-sampling the 450um beam. With these rates, a single sample covers an angular scale on the sky of 600/200 = 3 arcsec, which corresponds to approximately the 450 FWHM/3.&lt;br /&gt;&lt;br /&gt;For most of the observations taken as part of SRO, however, typical scan rates were in the range 100--200 arcsec/sec, meaning that SCUBA-2 samples faster than necessary. We can then, in theory, re-sample the data into longer samples without losing any useful information. SMURF can now do this by specifying the smallest scale you wish to sample in the configuration file:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;450.downsampscale = 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;850.downsampscale = 4&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;These values are measured in arcsec, and by setting to these values you will match the default pixel resolution used by SMURF in each band. It will then determine internally, based on the previous sample rate and mean slew velocity, how much to downsample the data.&lt;br /&gt;&lt;br /&gt;The following example is the default reduction of an Orion map at 450um (20100219_00039) using the &lt;span style="font-family:courier new;"&gt;dimmconfig_bright_extended.lis&lt;/span&gt; configuration file:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_T1vpbzt-ZSc/TMdRn7s9EkI/AAAAAAAAAC8/RrS0J8fRaJg/s1600/map_default.png"&gt;&lt;img style="cursor: pointer; width: 354px; height: 400px;" src="http://2.bp.blogspot.com/_T1vpbzt-ZSc/TMdRn7s9EkI/AAAAAAAAAC8/RrS0J8fRaJg/s400/map_default.png" alt="" id="BLOGGER_PHOTO_ID_5532480413730935362" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And then again, except setting &lt;span style="font-family:courier new;"&gt;450.downsampscale = 2&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_T1vpbzt-ZSc/TMdR2caoMSI/AAAAAAAAADE/78CLQY6Y4EU/s1600/map_dsamp.png"&gt;&lt;img style="cursor: pointer; width: 354px; height: 400px;" src="http://3.bp.blogspot.com/_T1vpbzt-ZSc/TMdR2caoMSI/AAAAAAAAADE/78CLQY6Y4EU/s400/map_dsamp.png" alt="" id="BLOGGER_PHOTO_ID_5532480663030608162" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As you can see there is very little difference between the two images.&lt;br /&gt;&lt;br /&gt;As makemap is running you will notice:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;smf_grp_related: will down-sample from 174.6 Hz to  60.0 Hz&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Indicating that the data are being compressed by a factor of about 3. In terms of execution time on my 8-core machine it drops from 18 s to 11 s. The reason it is not a full factor of 3 is because there is a large initial start time as the original data (before down-sampling) are loaded in. Finally, the estimated memory usage drops from 457 MiB to 251 MiB (again, not a full factor of 3 due to other static memory that needs to be loaded).&lt;br /&gt;&lt;br /&gt;This test uses a very small data set. The improvements are more pronounced for long scans in which the total memory usage is dominated by the time-series data, and not other statically allocated buffers (such as the map etc.). There will also be larger improvements at 850 um than at 450 um (because it is lower resolution), and for slower scan speeds.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-6532496670428346716?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/6532496670428346716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=6532496670428346716&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/6532496670428346716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/6532496670428346716'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/10/save-time-and-memory-down-sampling-your.html' title='Save time and memory: down-sampling your data'/><author><name>Ed Chapin</name><uri>http://www.blogger.com/profile/05393061220413106533</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_T1vpbzt-ZSc/TMdRn7s9EkI/AAAAAAAAAC8/RrS0J8fRaJg/s72-c/map_default.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-1927507644984602589</id><published>2010-10-11T13:19:00.000-10:00</published><updated>2010-10-11T13:19:59.536-10:00</updated><title type='text'>This blog</title><content type='html'>You may have noticed that the posting rate has picked up quite a bit in the last few months, as we've been trying to keep everybody up to date with externally visible developments to the JCMT Science Archive.&lt;br /&gt;&lt;br /&gt;If you are a reader for this blog, please take a moment to leave a comment and let us know&amp;nbsp; if you would like more/fewer posts, whether the level of detail is too little/too much,&amp;nbsp; the kind of topics you'd like covered, or anything else that you would like to share.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-1927507644984602589?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/1927507644984602589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=1927507644984602589&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1927507644984602589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1927507644984602589'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/10/this-blog.html' title='This blog'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-1897993071066874247</id><published>2010-10-11T13:00:00.000-10:00</published><updated>2010-10-11T13:00:13.149-10:00</updated><title type='text'>S2SRO products - new re-reduction</title><content type='html'>The S2SRO products have been regenerated once again. In this batch you will find&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Much improved map for extended emission targets (which now are specially handled)&lt;/li&gt;&lt;li&gt;Improved step-finder&lt;/li&gt;&lt;li&gt;S/N masking for bright sources to prevent negative bowling&lt;/li&gt;&lt;li&gt;Point source observations now reduced with the science recipe rather than the summit "quickie" recipe.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;As usual you will find your SCUBA-2 products in the&lt;a href="http://www2.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/jcmt/search/product/auth"&gt; proprietary processed data&lt;/a&gt; search - just put in your project code and choose &lt;a href="http://pipelinesandarchives.blogspot.com/2010/08/jsa-faq-product-grouping-types.html"&gt;multi-night&lt;/a&gt; to get your total product.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;(Note that this&amp;nbsp; batch does not include the&lt;a href="http://pipelinesandarchives.blogspot.com/2010/10/map-based-despiking-flag-maps-sub-scan.html"&gt; map-based despiking&lt;/a&gt; - that will be in the next run).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-1897993071066874247?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/1897993071066874247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=1897993071066874247&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1897993071066874247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1897993071066874247'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/10/s2sro-products-new-re-reduction.html' title='S2SRO products - new re-reduction'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-1196661684516264241</id><published>2010-10-04T12:14:00.014-10:00</published><updated>2010-10-11T12:59:28.656-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><title type='text'>Map-based Despiking, Flag maps, Sub-scan maps, and Filters based on requested angular scales</title><content type='html'>This post summarizes a few odds and ends that were implemented over the last couple of weeks. The following examples use the 850um scan of Orion (20100216 observation 22) that was provided with the &lt;a href="http://starlink.jach.hawaii.edu/docs/sc19.htx/sc19.html"&gt;cookbook&lt;/a&gt; at&lt;a href="http://www.starlink.ac.uk/extra%20/sc19/sc19_extended_galactic.tgz"&gt; &lt;/a&gt;&lt;a href="http://www.starlink.ac.uk/extra%20/sc19/sc19_extended_galactic.tgz"&gt;http://www.starlink.ac.uk/extra /sc19/sc19_extended_galactic.tgz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Map-based Despiking&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First, a new method for despiking the data has been added. Instead of searching throughout the time series for individual samples that are outliers compared to their neighbours (which can accidentally flag large astronomical sources as spikes in some cases), this new method looks at the weighted scatter of samples that land in each map pixel, and removed outliers. This feature is now turned on by default in dimmconfig.lis:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ast.mapspike = 10&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;which flags all samples that are &gt; 10 standard deviations away from the other samples that contribute to the flux in the same map pixel, after each iteration. In fact, it works so well that we are using it instead of the time-domain de-spiking in most cases.&lt;br /&gt;&lt;br /&gt;We first reduce the Orion data using the default &lt;span style="font-family:courier new;"&gt;dimmconfig_bright_extended.lis,&lt;/span&gt;and the ERROR component of the map looks like this:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_T1vpbzt-ZSc/TKpVKYeTYxI/AAAAAAAAACU/wnX4tO2LmOA/s1600/omc850_mapdespike.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 352px;" src="http://1.bp.blogspot.com/_T1vpbzt-ZSc/TKpVKYeTYxI/AAAAAAAAACU/wnX4tO2LmOA/s400/omc850_mapdespike.png" alt="" id="BLOGGER_PHOTO_ID_5524321529779938066" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;we then re-run it, but turning off the default map-based despiking, and turning on time-based despiking:&lt;br /&gt;&lt;span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ast.mapspike = 0&lt;/span&gt;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;br /&gt;spikethresh = 10&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;br /&gt;spikebox = 50&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and the ERROR component of the map now looks like this:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_T1vpbzt-ZSc/TKpVlS1Fp7I/AAAAAAAAACk/9DnmBd1MeLI/s1600/omc850_timedespike.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 352px;" src="http://3.bp.blogspot.com/_T1vpbzt-ZSc/TKpVlS1Fp7I/AAAAAAAAACk/9DnmBd1MeLI/s400/omc850_timedespike.png" alt="" id="BLOGGER_PHOTO_ID_5524321992121362354" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This latter image clearly shows the locations of large spikes that made it through the time-based despiking. Also note that their locations are not correlated particularly with the brightest regions of emission that are obvious at the lower-right (the large scatter in the ERROR component is a reflection of other systematic errors, such as in the flatfield, that become more prominent in regions of strong astronomical signals).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Flagmaps and Shortmaps&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We have added two new types of map extensions to help identify problems while map-making. "flagmaps" are images that count the number of samples with QUALITY bits that match a given quality mask, as a function of their position on the sky. This is useful to see, for example, whether DC step correction and/or de-spiking is affected by bright sources. For example, setting&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;flagmap = (BADBOL,SPIKE,DCJUMP)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;will produce a set of &lt;span style="font-family:arial;"&gt;.more.smurf.flagmaps&lt;/span&gt; extensions corresponding to each continuous chunk of data indicating where all spikes and DC jumps were located. This is the resulting flagmap for Orion:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_T1vpbzt-ZSc/TKpW1r_pC5I/AAAAAAAAACs/7lVhGBFjyxA/s1600/omc850_flagmap.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 371px;" src="http://4.bp.blogspot.com/_T1vpbzt-ZSc/TKpW1r_pC5I/AAAAAAAAACs/7lVhGBFjyxA/s400/omc850_flagmap.png" alt="" id="BLOGGER_PHOTO_ID_5524323373266045842" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The "U" shaped patterns primarily indicate the locations of DC steps that were correlated across the array, and a number of the other spots are simply locations of spikes identified by the map-based despiker. To gain further insight, maps can be re-run, setting &lt;span style="font-family:courier new;"&gt;flagmap &lt;/span&gt;to a single quality bit each time.&lt;br /&gt;&lt;br /&gt;There is also a modified form of the "shortmaps" extensions. Instead of specifying the amount of time for each map explicitly, you can now set&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;shortmap = -1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;which will produce a new &lt;span style="font-family:arial;"&gt;.more.smurf.shortmaps&lt;/span&gt; extension each time the telescope completes a full, cross-linked pass through the scan pattern. In our Orion example, we show the full map, followed by the four sub-maps (&lt;span style="font-family:arial;"&gt;.more.smurf.shortmaps.ch00sh00000&lt;/span&gt; through &lt;span style="font-family:arial;"&gt;.more.smurf.shortmaps.ch00sh00003&lt;/span&gt;) clearly showing how the position angle was rotated for each fully-crosslinked pass across the field:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_T1vpbzt-ZSc/TKpYKiVOHaI/AAAAAAAAAC0/Tihs0nJ3m_o/s1600/omc850_shortmaps.png"&gt;&lt;img style="cursor: pointer; width: 204px; height: 400px;" src="http://1.bp.blogspot.com/_T1vpbzt-ZSc/TKpYKiVOHaI/AAAAAAAAAC0/Tihs0nJ3m_o/s400/omc850_shortmaps.png" alt="" id="BLOGGER_PHOTO_ID_5524324830961081762" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Choosing frequency-domain filters based on angular scale&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Finally, we have implemented an alternative method for specifying frequency edges. In the past, the frequency edge would be given explicitly, e.g.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;filt_edgehigh = 0.3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;flt.filt_edgehigh = 0.3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;to remove all power in the bolometer time-series below 0.3 Hz using the pre-processing and iterative filters respectively (this is the approximate 1/f knee). However, in order to evaluate the impact of such filters on real astronomical structure, one would have to divide the scan rate by this number to convert it to an angular scale. The requested scan rate is recorded in the "SCAN_VEL" FITS header, which for this Orion map was 250 arcsec/sec. Therefore a high-pass filter explicitly removes any information in the map on scales &gt; (250/0.3) = 833 arcsec.&lt;br /&gt;&lt;br /&gt;This calculation is cumbersome, and also relies on the requested "SCAN_VEL" being correct. We have therefore added an alternative method for specifying filters based on angular scale, e.g.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;filt_edge_largescale = 600.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;450.filt_edge_smallscale = 2.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;850.filt_edge_smallscale = 4.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In this case a high-pass filter will be selected such as to suppress angular scales larger that 600 arcsec, and low-pass filtered will be used to remove scales smaller than roughly the FWHM/4 of the PSF in each band. The calculation is based on the actual mean slew velocity is measured from the pointing data rather than relying on "SCAN_VEL". For example, in the above Orion maps, the default iterative filter is set to&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;850.flt.filt_edge_largescale=300&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and if the map-maker is run with &lt;span style="font-family:courier new;"&gt;msg_filter=verbose&lt;/span&gt;, when the FLT model is evaluated you will see&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  flt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;smf_scale2freq: Based on a slew speed of 243.1 arcsec/sec, setting:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;smf_scale2freq: FILT_EDGEHIGH = 0.810 Hz (less than 300.0 arcsec scales)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Even though the 1/f noise varies from observation to observation (and is at a higher frequency at 850um for SRO data), it may be useful to specify the same angular scale irrespective of scan rate (such as ensuring that the attenuation of the filtering is the same for calibrators as for science data, even if they were scanned at different rates).&lt;br /&gt;&lt;br /&gt;Related to all of this, we have replaced the "flagstat" parameter, for flagging data when the telescope was slewing too slowly, with&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;flagslow = 30&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;450.flagfast = 600&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;850.flagfast = 980&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;These default values include only data where the telescope was slewing at least 30 arcsec/sec, and no more than 600 arcsec/sec at 450um, and 980 arcsec/sec at 850um. The lower limit is set by an approximate 1/f knee of 1 Hz to ensure that at scales of order the 850um PSF will be useful in the data. Similarly, the upper speed limits are chosen to avoid smearing given the PSF sizes in each band and the 200 Hz sample rate.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-1196661684516264241?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/1196661684516264241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=1196661684516264241&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1196661684516264241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1196661684516264241'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/10/map-based-despiking-flag-maps-sub-scan.html' title='Map-based Despiking, Flag maps, Sub-scan maps, and Filters based on requested angular scales'/><author><name>Ed Chapin</name><uri>http://www.blogger.com/profile/05393061220413106533</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_T1vpbzt-ZSc/TKpVKYeTYxI/AAAAAAAAACU/wnX4tO2LmOA/s72-c/omc850_mapdespike.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-345508142217403826</id><published>2010-09-30T14:29:00.007-10:00</published><updated>2010-10-04T07:02:50.716-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><title type='text'>Suppressing large-scale noise with zero-masks</title><content type='html'>Over the last couple of weeks we have been implementing and testing two new masking features that significantly improve the large-scale noise properties. As mentioned in an &lt;a href="http://pipelinesandarchives.blogspot.com/2010/04/large-scale-structure-divergence.html"&gt;earlier post&lt;/a&gt; the common-mode signal (and also low-frequencies removed using a high-pass filter in the&lt;span style="font-family:arial;"&gt; FLT&lt;/span&gt; model) are degenerate with angular scales larger than the array footprint on the sky.&lt;br /&gt;&lt;br /&gt;In that earlier post, I described a method of specifying a zero boundary condition in which the regions of the maps with low hits (the edges) are set to zero after each iteration. While this helped significantly with smaller maps (particularly pointing observations), it wasn't much help for significantly larger maps (i.e., covering much more area than the array footprint). This would lead to "saddle" shapes all over the map as the number of iterations was increased. We have therefore added two new masking options.&lt;br /&gt;&lt;br /&gt;The first is to define a circular masked region:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ast.zero_circle = (LON,LAT,RADIUS)&lt;/span&gt;&lt;br /&gt;or&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ast.zero_circle = (RADIUS)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In this case, the portion of the map beyond a circular region centered over LON,LAT with the given radius (all quantities in degrees) is constrained to zero. Alternatively, only a single value may be supplied, in which case it is interpreted as the radius, and the LON,LAT are taken to be the pointing centre of the map (usually the compact source of interest for which this option is generally useful).&lt;br /&gt;&lt;br /&gt;The second method automatically determines the masked region based on a SNR threshold.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ast.zero_snr = SNR&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In this case, after each iteration of the map, all map pixels above the threshold SNR are included in the "source mask", and map pixels outside this mask are constrained to zero. As bright structures "grow" with respect to the neighbouring zero-constraiend map pixels, each iterations of the source mask will also grow to include more pixels.&lt;br /&gt;&lt;br /&gt;For both of these options, the &lt;span style="font-family:courier new;"&gt;ast.zero_notlast&lt;/span&gt; flag applies: for the final iteration the zero constraint will not be applied if this is set.&lt;br /&gt;&lt;br /&gt;So from a numerical point of view, what does this constraint do in the regions that were constrained to zero until the last iteration? In its simplest form the map-maker is trying to solve for several signal components in the bolometer time series:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Signal = ASTronomical + COMmon + FiLTered&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;where &lt;span style="font-family:arial;"&gt;AST&lt;/span&gt; is the signal produced by astronomical sources, &lt;span style="font-family:arial;"&gt;COM&lt;/span&gt; is the average signal seen by all of the bolometers, and &lt;span style="font-family:arial;"&gt;FLT&lt;/span&gt; is generally residual low-frequency noise. By setting &lt;span style="font-family:arial;"&gt;AST&lt;/span&gt; to zero at any location in the map, the only other places that signal can go are &lt;span style="font-family:arial;"&gt;COM&lt;/span&gt; and &lt;span style="font-family:arial;"&gt;FLT&lt;/span&gt;. &lt;span style="font-family:arial;"&gt;COM&lt;/span&gt; only contains the average signal seen by all of the detectors, and &lt;span style="font-family:arial;"&gt;FLT&lt;/span&gt; only contains low-frequency signal components. Therefore this operation, perhaps surprisingly, &lt;span style="font-style: italic;"&gt;will not&lt;/span&gt; remove any compact structures in the zero-padded regions; the effect seems to be roughly equivalent to setting the mean value on array-footprint-sized patches within those regions to zero.&lt;br /&gt;&lt;br /&gt;The updated &lt;span style="font-family:courier new;"&gt;dimmconfig_bright_compact.lis&lt;/span&gt; is a good default configuration for small/bright sources; in this case a circular mask is used with a radius of 60 arcsec. Similarly, there is an updated &lt;span style="font-family:courier new;"&gt;dimmconfig_bright_extended.lis&lt;/span&gt; that masks based on a SNR threshold of 5-sigma. We illustrate the effect of the SNR masking using the short observation of Orion mentioned in the previous blog post, s4a20100219_00039.&lt;br /&gt;&lt;br /&gt;First, a map produced &lt;span style="font-style: italic;"&gt;without&lt;/span&gt; any zero constraints and 20 iterations, clearly showing the large-scale degeneracy that results in a strong gradient in the map:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_T1vpbzt-ZSc/TKUurh4E3NI/AAAAAAAAAB8/zrQ8K_fem5Q/s1600/omc450_nomask.png"&gt;&lt;img style="cursor: pointer; width: 355px; height: 400px;" src="http://2.bp.blogspot.com/_T1vpbzt-ZSc/TKUurh4E3NI/AAAAAAAAAB8/zrQ8K_fem5Q/s400/omc450_nomask.png" alt="" id="BLOGGER_PHOTO_ID_5522871843402603730" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here is the same reduction, but setting &lt;span&gt;ast.zero_snr=5 and ast.zero_notlast&lt;/span&gt;=1:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_T1vpbzt-ZSc/TKUvVqRxWWI/AAAAAAAAACE/z0f6RLYstPc/s1600/omc450.png"&gt;&lt;img style="cursor: pointer; width: 354px; height: 400px;" src="http://3.bp.blogspot.com/_T1vpbzt-ZSc/TKUvVqRxWWI/AAAAAAAAACE/z0f6RLYstPc/s400/omc450.png" alt="" id="BLOGGER_PHOTO_ID_5522872567212366178" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;and the mask indicating which pixels are constrained to zero until the final iteration (white) -- this is the QUALITY component of the final image:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_T1vpbzt-ZSc/TKUvghZGBvI/AAAAAAAAACM/FG0sD0012g0/s1600/omc450_mask.png"&gt;&lt;img style="cursor: pointer; width: 354px; height: 400px;" src="http://4.bp.blogspot.com/_T1vpbzt-ZSc/TKUvghZGBvI/AAAAAAAAACM/FG0sD0012g0/s400/omc450_mask.png" alt="" id="BLOGGER_PHOTO_ID_5522872753805723378" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Note that 20 iterations was chosen in this example to illustrate the improved convergence properties when using the zero mask. In fact, only about 8 iterations are needed in this particular case. A better automatic convergence test is still an outstanding issue for SMURF, and at present we recommend checking the maps after each iteration visually.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-345508142217403826?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/345508142217403826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=345508142217403826&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/345508142217403826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/345508142217403826'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/09/suppressing-large-scale-noise-with-zero.html' title='Suppressing large-scale noise with zero-masks'/><author><name>Ed Chapin</name><uri>http://www.blogger.com/profile/05393061220413106533</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_T1vpbzt-ZSc/TKUurh4E3NI/AAAAAAAAAB8/zrQ8K_fem5Q/s72-c/omc450_nomask.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-3325880417286816970</id><published>2010-09-21T16:35:00.001-10:00</published><updated>2010-09-21T16:35:59.984-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><category scheme='http://www.blogger.com/atom/ns#' term='JSA'/><category scheme='http://www.blogger.com/atom/ns#' term='data processing'/><title type='text'>SCUBA-2 Pointings in the science archive</title><content type='html'>This is just a quick note to explain what has been happening to pointing observations in the science archive. Pointings are public data so the reduced images of pointing sources account for a significant fraction of publicly available SCUBA-2 reduced data. We have realised that these data are problematic because we were running the standard pointing recipe at CADC which filters out large scale structure and clips the image in order to make it easier to detect the pointing source. This is not obvious to the casual user of the archive and has recently caused some confusion.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_YMgilZSPj0A/TJlqTSwGu4I/AAAAAAAAEOM/V7saVsCL3v4/s1600/Snapz+Pro+XScreenSnapz004.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="299" src="http://1.bp.blogspot.com/_YMgilZSPj0A/TJlqTSwGu4I/AAAAAAAAEOM/V7saVsCL3v4/s320/Snapz+Pro+XScreenSnapz004.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The image above (a 20 second 450 micron observation from 2010-02-19 #39) is the standard product for a pointing of OMC-1. As is obvious, a lot of extended emission has disappeared. This week we are going to start reprocessing pointing observations using the standard recipes so that the archive contains science products rather than products that aid telescope observing. As an example the image below is the same observation using the standard recipe and it is much more representative of what SCUBA-2 is capable of:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_YMgilZSPj0A/TJlq-bnye2I/AAAAAAAAEOQ/ppg3eWhdF7k/s1600/Snapz+Pro+XScreenSnapz005.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://3.bp.blogspot.com/_YMgilZSPj0A/TJlq-bnye2I/AAAAAAAAEOQ/ppg3eWhdF7k/s400/Snapz+Pro+XScreenSnapz005.png" width="383" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-3325880417286816970?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/3325880417286816970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=3325880417286816970&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/3325880417286816970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/3325880417286816970'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/09/scuba-2-pointings-in-science-archive.html' title='SCUBA-2 Pointings in the science archive'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YMgilZSPj0A/TJlqTSwGu4I/AAAAAAAAEOM/V7saVsCL3v4/s72-c/Snapz+Pro+XScreenSnapz004.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-2180584476492978917</id><published>2010-09-13T09:04:00.013-10:00</published><updated>2010-09-13T17:25:30.427-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><title type='text'>Spatial noise vs noise maps</title><content type='html'>&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"&gt;I've been comparing the spatial noise in the two SRO SASSY maps (0.5 degrees by 0.5 degrees each) to the noise maps produced by the pipeline and matched-filter picard script.  I've been told that this is a known issue, but that I should also share my findings.  To do this I made histograms of signal to noise pixel values within the two maps that were processed using the matched-filter picard script.  Since the maps are mostly empty and the matched-filter script should remove most of the artificial large scale structure introduced by the mapmaker algorithm, the spatial noise should agree well with the noise maps produced by the pipeline.&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;div&gt;850μm maps:  For the two SASSY fields (one with 29mJy rms and another with 47mJy rms), the signal to noise map underestimates the noise in the map by about 17% (± about 2% since I'm doing this by eye).&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: underline; border-collapse: separate; color: #0000ee; font-family: Georgia, serif; font-size: 16px;"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5516489735200245506" src="http://3.bp.blogspot.com/_fjGkLvWABhE/TI6CL8GzBwI/AAAAAAAABjU/WxJh0wzRsHA/s400/850ngc2559noise.png" style="cursor: pointer; display: block; height: 309px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;Larger image &lt;a href="http://lh6.ggpht.com/_fjGkLvWABhE/TI54yDC3_HI/AAAAAAAABh0/-qt08qdkf1c/s640/850ngc2559noise.png"&gt;here&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;450μm maps (we don't expect to see any astronomical signal from these):  For the NGC 2559 field with 1700mJy rms, the noise map underestimates the noise in the map by about 29%.  For the cirrus field with 2400mJy rms, the noise in the map is overestimated by about 13%.&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: underline; border-collapse: separate; color: #0000ee; font-family: Georgia, serif; font-size: 16px;"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5516489886289838882" src="http://2.bp.blogspot.com/_fjGkLvWABhE/TI6CUu9XQyI/AAAAAAAABjc/XH49G2eVv1M/s400/450ngc2559noise.png" style="cursor: pointer; display: block; height: 309px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;Larger image &lt;a href="http://lh6.ggpht.com/_fjGkLvWABhE/TI55GeIaQJI/AAAAAAAABh8/A7XVRZHwgEE/s640/450ngc2559noise.png"&gt;here&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="-webkit-text-decorations-in-effect: underline; border-collapse: separate; color: #0000ee; font-family: Georgia, serif; font-size: 16px;"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5516490048710161218" src="http://1.bp.blogspot.com/_fjGkLvWABhE/TI6CeMBYs0I/AAAAAAAABjk/3b36OfvKujk/s400/450cirrusnoise.png" style="cursor: pointer; display: block; height: 309px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 400px;" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;Larger image &lt;a href="http://lh5.ggpht.com/_fjGkLvWABhE/TI55XfNVN5I/AAAAAAAABiE/4PSuN6qIAs8/s640/450cirrusnoise.png"&gt;here&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hopefully this is helpful for others who are trying to figure out the amount of noise in their maps and are wondering about the accuracy of the noise maps produced by the pipeline.&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-2180584476492978917?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/2180584476492978917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=2180584476492978917&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2180584476492978917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2180584476492978917'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/09/spatial-noise-vs-noise-maps.html' title='Spatial noise vs noise maps'/><author><name>Todd Mackenzie</name><uri>http://www.blogger.com/profile/12924286760299747669</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_fjGkLvWABhE/TI6CL8GzBwI/AAAAAAAABjU/WxJh0wzRsHA/s72-c/850ngc2559noise.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-8695223728152545980</id><published>2010-09-09T13:20:00.003-10:00</published><updated>2010-09-09T13:39:38.107-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><title type='text'>S2SRO data processing notes</title><content type='html'>A bunch of S2SRO people are asking whether they can just download the JSA products and go, without doing any of the data processing themselves. The answer to that is obviously yes, as long as you have convinced yourself that the JSA processing (which is also the default ORAC-DR processing) in combination with your data characteristics  will support your scientific conclusions.&lt;br /&gt;&lt;br /&gt;In aid of this, Ed Chapin has provided the following note summarising what we are doing to your data (thanks Ed).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The S2SRO data maps&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;At the time the data were acquired, SCUBA-2 was operating with single subarrays at each of 450um and 850um (the full complement is four subarrays in each band). In addition, there were a number of challenging data artifacts to overcome, including glitches in the bolometer time-series, and severe low-frequency noise caused, primarily, by oscillations in the SCUBA-2 fridge and magnetic field pickup (for further details, see &lt;a href="http://www.starlink.ac.uk/docs/sc19.htx/node24.html"&gt;SC/19 Appendix A&lt;/a&gt;). Despite these problems, it has been possible to produce science-grade maps for most of the S2SRO projects using one of two standard sets of configuration parameters for the map-making software (see &lt;a href="http://www.starlink.ac.uk/docs/sun258.htx/sun258.html"&gt;the SMURF manual&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;The first set is designed to produce maps of extremely faint fields containing point sources, using strong high-pass filtering to remove most of the low-frequency noise in the data (see &lt;a href="http://www.starlink.ac.uk/docs/sc19.htx/node16.html"&gt;dimmconfig_blank_field.lis in SC/19&lt;/a&gt;). It should be emphasized that any structures larger than the point spread function (PSF) are removed by the processing. In addition, these maps are run through a matched-filter to assist with the identification of point-sources (see further description below in "Noise Estimates").&lt;br /&gt;&lt;br /&gt;The second set of parameters is used to reduced all of the remaining data, including maps of extended and/or bright objects (see &lt;a href="http://www.starlink.ac.uk/docs/sc19.htx/node16.html"&gt;dimmconfig.lis in SC19&lt;/a&gt;). The filtering is less ambitious in this case, and it is performed iteratively, which reduces ringing around bright sources, but may produce large-scale patchy or saddle-shaped structures in the maps.&lt;br /&gt;&lt;br /&gt;For both types of processing, a common-mode signal has also been removed iteratively from the data --- the average signal recorded by all of the detectors at each instant in time. This processing, again, helps to suppress low-frequency noise, but removes all structure in the maps that are larger than the array footprint (approximately 2' x 2').&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Calibration&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Extinction correction has been performed on all of the data using the line-of-sight water vapour radiometer (WVM) on the JCMT. It is not currently believed that the calibration uncertainties are dominated by noise in these measurements.&lt;br /&gt;&lt;br /&gt;Flux conversion factors (FCFs) have also been applied to all of the data. These factors have been established using regular observations of point-like flux calibrators. While there have been large variations observed in these factors, it is not presently understood whether these are real systematic variations (i.e. as a function of time of day, surface quality etc.) or simply reflect measurement uncertainties (see &lt;a href="http://sc/19%20Appendix%20B.1"&gt;SC/19 Appendix B.1&lt;/a&gt;). We therefore apply a single FCF at each wavelength within the JSA pipeline, and assuming the errors are not systematic, estimate the total calibration uncertainties to be about 20% in a random observation.&lt;br /&gt;&lt;br /&gt;Unless there are reasons to question the calibration factors for a particular observation, we believe that the current values are the best that can be applied.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Noise Estimates&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The map-making process provides an estimate of the noise in each pixel (the VARIANCE component). Its value is calculated by:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;(i) estimating the weighted sample variance for the N bolometer samples that land in the pixel (which are averaged together to estimate the mean flux in that pixel; weighted by the inverse of the noise in the respective bolometers from which they came).&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;(ii) dividing the result of (i) by N to calculate the variance on the mean (i.e. the variance on the estimated flux).&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;On small scales, this noise estimate appears to be accurate. For example, in maps produced using the faint-field processing, which are run through a matched-filter to correlate samples on the scale of the PSF, the noise is well-behaved (see&lt;a href="http://www.starlink.ac.uk/docs/sc19.htx/node21.html"&gt; Section 6.1&lt;/a&gt; and Figs.&lt;a href="http://www.starlink.ac.uk/docs/sc19.htx/crossref.png"&gt;13&lt;/a&gt;-&lt;a href="http://www.starlink.ac.uk/docs/sc19.htx/node21.html#fig:cosmo_snrcompare"&gt;14&lt;/a&gt; in SC/19).  &lt;br /&gt;However, this noise map &lt;i&gt;does not &lt;/i&gt;accurately characterize the uncertainty in aperture-photometry measurements on scales larger than the PSF, especially in the case of bright-field processing, since there is low-frequency noise that is correlated between different pixels. In these cases, the noise does not drop as sqrt(M) as expected, where M is the number of pixels in the aperture. For example, if a cluster of pixels all happen to reside on a local postive noise patch, the uncertainty in the photometry of that cluster is dominated by the error in the baseline of the patch, not the small-scale noise estimated for each pixel. It is therefore necessary to estimate the noise for larger-scale measurements by placing measurement apertures at random locations to estimate the real (and larger) uncertainties.&lt;br /&gt;&lt;br /&gt;Finally, we re-iterate the fact that a common-mode signal has been removed from the data, so that in practice the SCUBA-2 maps only contain information on scales ranging from the PSF (6"--14") up to the size of the array (2').&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-8695223728152545980?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/8695223728152545980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=8695223728152545980&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8695223728152545980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8695223728152545980'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/09/s2sro-data-processing-notes.html' title='S2SRO data processing notes'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-2384383543052761977</id><published>2010-09-08T13:09:00.000-10:00</published><updated>2010-09-09T13:19:43.896-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSA'/><title type='text'>Processing date now visible in JSA web UI</title><content type='html'>By popular request, you now have access to the processing date of your product when you do a JSA search - it's the field at the bottom of the "Program Constraints" section called, unsurprisingly, "Processing Date". Like all the other date fields, you can enter a range to search, or if you just leave it blank but tick the box, you will get the extra column of information&amp;nbsp; in your results page.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_A9u4xg29YQw/TIgXCh61cqI/AAAAAAAAAJQ/HXeT1f3p_Ys/s1600/jsa_processing_date.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="353" src="http://2.bp.blogspot.com/_A9u4xg29YQw/TIgXCh61cqI/AAAAAAAAAJQ/HXeT1f3p_Ys/s400/jsa_processing_date.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Many thanks to Dustin and Sharon for rolling this out so quickly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-2384383543052761977?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/2384383543052761977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=2384383543052761977&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2384383543052761977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2384383543052761977'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/09/processing-date-now-visible-in-jsa-web.html' title='Processing date now visible in JSA web UI'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_A9u4xg29YQw/TIgXCh61cqI/AAAAAAAAAJQ/HXeT1f3p_Ys/s72-c/jsa_processing_date.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-913201056963114174</id><published>2010-09-07T13:29:00.000-10:00</published><updated>2010-09-09T13:19:54.793-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><title type='text'>SCUBA-2 products update - fresh batch</title><content type='html'>Just to let folks know, all the S2SRO data in the JSA has been reprocessed to pick up any observations marked as bad (and also to pick up some infrastructure changes I won't bore you about). Whether it is worth your while or not to re-download these products depends on how diligent you were about marking any bad observations since the last re-run a month or so ago.&lt;br /&gt;&lt;br /&gt;Feel free to continue flagging bad observations as you find them - the data will be re-processed again in the future, or you can just drop us a line and ask for a reprocess of your particular project any time.&lt;br /&gt;&lt;br /&gt;A few of the groups failed reduction - due to the aforementioned infrastructure improvements we are in a much better position to keep track of these failures, so we are working through the list to resolve the issues. If you are desperate for something you don't see in the archive, don't be afraid to ask to be bumped up the list.&lt;br /&gt;&lt;br /&gt;By the way, a few of you have noticed that the JSA "house" products look better than what you are managing at home. Rest assured that there isn't some secret sauce that we are feeding the hamsters; maps will look better when processed on high-memory (16G+) nodes because they will have a higher effective integration time due to the way the mapmaker works. And of course the JSA processing always uses the most recent version of the software, which if you are not one of our bleeding edge Starlink rsync users, will net you a considerable improvement.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-913201056963114174?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/913201056963114174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=913201056963114174&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/913201056963114174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/913201056963114174'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/09/scuba-2-products-update-fresh-batch.html' title='SCUBA-2 products update - fresh batch'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-7687017307593368655</id><published>2010-09-01T15:10:00.002-10:00</published><updated>2010-09-09T13:19:43.897-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSA'/><title type='text'>JSA FAQ: examining data reduction parameters</title><content type='html'>If you know what &lt;b&gt;hislist&lt;/b&gt; and &lt;b&gt;provshow&lt;/b&gt; do, you can skip this entry.&lt;br /&gt;&lt;br /&gt;Say you have downloaded your most excellent project product from the JSA and you are interested to see what went in it. Here's what you do (assuming, of course, that you have already sourced your Starlink startup files).&lt;br /&gt;&lt;br /&gt;Convert the FITS file back to NDF (we'll call the result &lt;i&gt;example&lt;/i&gt; for brevity):&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&amp;nbsp;; convert&lt;br /&gt;&lt;br /&gt;; fits2ndf jcmts20100228_00040_850_reduced001_pro_000.fits example&lt;/blockquote&gt;&lt;br /&gt;So we now have our &lt;i&gt;example.sdf&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;To see the history of the file, run the KAPPA&lt;b&gt; hislist&lt;/b&gt; (&lt;b&gt;his&lt;/b&gt;tory &lt;b&gt;list&lt;/b&gt;) command:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;; kappa&lt;br /&gt;&lt;br /&gt;; hislist example &lt;/blockquote&gt;&lt;br /&gt;In the voluminous output, you will see the full parameters of any command ran on this file, for example, the makemap parameters that were used to generate this SCUBA-2 product:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_A9u4xg29YQw/TH75A0fNOOI/AAAAAAAAAJA/vSxxutGPRuk/s1600/hislist.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_A9u4xg29YQw/TH75A0fNOOI/AAAAAAAAAJA/vSxxutGPRuk/s320/hislist.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;In order to see what observations went into this product, use the KAPPA&lt;b&gt; provshow&lt;/b&gt; (&lt;b&gt;prov&lt;/b&gt;enance&lt;b&gt; show&lt;/b&gt;) command: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;; provshow example&lt;/blockquote&gt;&lt;br /&gt;which will show you the entire provenance tree for your file.&lt;br /&gt;&lt;br /&gt;Thanks to the NDF history and provenance mechanism, every operation on the data files is automatically recorded, so you have a complete record of what was done to the data.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-7687017307593368655?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/7687017307593368655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=7687017307593368655&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7687017307593368655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7687017307593368655'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/09/jsa-faq-examining-data-reduction.html' title='JSA FAQ: examining data reduction parameters'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_A9u4xg29YQw/TH75A0fNOOI/AAAAAAAAAJA/vSxxutGPRuk/s72-c/hislist.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-318012202281444767</id><published>2010-08-11T11:37:00.000-10:00</published><updated>2010-09-09T13:19:43.899-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSA'/><title type='text'>About the JSA Products</title><content type='html'>Judging from my inbox, there is quite a lot of enthusiasm about the S2SRO products available from the JSA. We sure love this project, and it's great to see it hitting its stride and being useful to our external users. Still, I just want to throw in a couple of cautions so that people don't get caught out.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;We do not have official data releases, as most people understand them. By this I mean that the data is not vetted by anybody at the JAC - we simply don't have the effort for that.&amp;nbsp; Since right now we are still developing, we do trawl for obvious problems and bugs, but there's no scientific oversight of what the processing churns out, and the data is immediately exposed for download. So of course you may take the products, and a lot of them do seem to be publication quality, but you should still work through the reduction cookbook and make sure you understand what was done to your data.&amp;nbsp; The result you download shouldn't be different from what you would get if you run our latest software at home with the recommended parameters. The idea is to get you the best data we can give you &lt;i&gt;now&lt;/i&gt;, rather than a perfect version of your data later. The processed products can also help you prioritise which datasets to spend most time on.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;As our data pipeline matures, or as we fix new bugs,&amp;nbsp; we do re-reduce the data - and every time we do this &lt;i&gt;the new product replaces the old one. &lt;/i&gt;So if you intend to post-process and/or publish using downloaded products, make sure you retain the version of the product that you used in case you need to reproduce your work later.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&amp;nbsp;We do have a plan to allow users to upload their own versions of products into the JSA, but this is still a way off.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-318012202281444767?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/318012202281444767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=318012202281444767&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/318012202281444767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/318012202281444767'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/08/about-jsa-products.html' title='About the JSA Products'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-8561917735034850055</id><published>2010-08-05T10:00:00.000-10:00</published><updated>2010-08-05T10:00:59.827-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><category scheme='http://www.blogger.com/atom/ns#' term='smurf'/><category scheme='http://www.blogger.com/atom/ns#' term='DR'/><title type='text'>SMURF Update (August 5th 2010)</title><content type='html'>It's been a couple of months since the last SMURF news entry so I thought I'd bring people up to date.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;All the configuration files for the iterative map-maker have been tweaked and some have been renamed. For example the '&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;_faint&lt;/span&gt;&lt;/span&gt;' config is now called "&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;dimmconfig_blank_field.lis&lt;/span&gt;&lt;/span&gt;". We also have a new config file for bright calibrators called "&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;dimmconfig_bright_compact.lis&lt;/span&gt;&lt;/span&gt;".&lt;/li&gt;&lt;li&gt;The SMO (time series smoothing) model has been improved. A few bugs have been fixed and it's been parallelized and so is much faster. SMO is not enabled in any of the default configuration files.&lt;/li&gt;&lt;li&gt;The size of the apodization and padding for the FFTs can now be calculated dynamically based on the requested filter. This is now the default behaviour. A new Fourier filter has also been written that does not require apodization (which may be important for very short maps) but is still being tested.&lt;/li&gt;&lt;li&gt;Quality handling has been revamped inside the map-maker to allow us to report more than 8 different types of flagging. The report at the end of each iteration is now more compact and if you use the SHOWQUAL command to look at exported models you may see that the bit numbers assigned to a particular quality are no longer fixed. Additionally if more than 8 flags are used the exported model will combine related flags (for example PAD and APOD will be merged into ENDS).&lt;/li&gt;&lt;li&gt;Very noisy bolometers will now be discarded before the iterative map-maker starts. This can help with convergence. See the "noiseclip" config parameter to adjust this.&lt;/li&gt;&lt;li&gt;The map-maker now compares flatfield ramps taken at the start and end of each observation and disables bolometers that whose calibration has varied too much. This will not help data taken prior to 20100223 where flatfield ramps are not available.&lt;/li&gt;&lt;li&gt;The step correction algorithm continues to be improved.&lt;/li&gt;&lt;li&gt;SC2CLEAN will now report quality statistics in verbose mode.&lt;/li&gt;&lt;li&gt;SC2FFT can now be given a bad bolometer mask.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;The cookbook has also been updated and can be read&amp;nbsp;&lt;a href="http://www.starlink.ac.uk/docs/sc19.htx/sc19.html"&gt;online&lt;/a&gt;.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-8561917735034850055?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/8561917735034850055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=8561917735034850055&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8561917735034850055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8561917735034850055'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/08/smurf-update-august-5th-2010.html' title='SMURF Update (August 5th 2010)'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-7102590736578023827</id><published>2010-08-04T22:54:00.001-10:00</published><updated>2010-08-05T10:50:22.262-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><category scheme='http://www.blogger.com/atom/ns#' term='DR'/><title type='text'>New version of the SCUBA-2 cookbook</title><content type='html'>Version 1.1 of the &lt;a href="http://www.starlink.ac.uk/docs/sc19.htx/sc19.html"&gt;SMURF SCUBA-2 Data Reduction Cookbook&amp;nbsp; &lt;/a&gt;(or SC19, as it is fondly known), is out. We recommend that everybody who works with SCUBA-2 data read through it. &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;In order to be able to follow the cookbook, you will need to &lt;a href="http://pipelinesandarchives.blogspot.com/2010/02/scuba-2-dr-status-report.html"&gt;update your local starlink release&lt;/a&gt; to the latest version. &lt;br /&gt;&lt;br /&gt;You can always get to SC19 from the sidebar of this blog.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-7102590736578023827?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/7102590736578023827/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=7102590736578023827&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7102590736578023827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7102590736578023827'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/08/new-version-of-scuba-2-cookbook.html' title='New version of the SCUBA-2 cookbook'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-4844970312763864893</id><published>2010-08-04T22:32:00.000-10:00</published><updated>2010-08-04T22:32:39.234-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='faq'/><category scheme='http://www.blogger.com/atom/ns#' term='JSA'/><title type='text'>JSA FAQ: Product grouping types</title><content type='html'>When you search the CADC archive for processed data (either public or proprietary), you will have the option selecting any of four different types of product. These are:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;Simple&lt;/b&gt;: This is the most processed state of a single observation&lt;/li&gt;&lt;li&gt;&lt;b&gt;Night&lt;/b&gt;: This is the product resulting from all observations taken in one night on the same field&lt;/li&gt;&lt;li&gt;&lt;b&gt;Multi-night&lt;/b&gt;: This is the product resulting from all observations taken in one field, even if they were taken on different nights. We sometimes call this the "project" co-add, because once observing for that project is finished, it represents all the (groupable) data taken for the project in that field&lt;/li&gt;&lt;li&gt;&lt;b&gt;Public&lt;/b&gt;: This is a product consisting of all public observations of a particular field, even if they were taken for multiple projects. At this time, we have not generated any products of this type.&lt;/li&gt;&lt;/ol&gt;We sometimes refer to the simple product as the "&lt;b&gt;obs&lt;/b&gt;" product (after the filename suffix that you will get when you download it). We also refer to products 2-4 as "&lt;b&gt;aggregate&lt;/b&gt;" products, because they consist of more than one observation. You should always get an obs product for each observation in your project; aggregate products are made excluding any observations&amp;nbsp;&lt;a href="http://pipelinesandarchives.blogspot.com/2010/08/bad-bad-bad-observation.html"&gt;marked as bad&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Here's where you can find this option in&amp;nbsp; the &lt;a href="http://www2.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/jcmt/search/product"&gt;JCMT Science Archive&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_A9u4xg29YQw/TFp2Tc22nPI/AAAAAAAAAIw/PlJ5DAJw6cM/s1600/westket1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="275" src="http://4.bp.blogspot.com/_A9u4xg29YQw/TFp2Tc22nPI/AAAAAAAAAIw/PlJ5DAJw6cM/s400/westket1.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-4844970312763864893?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/4844970312763864893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=4844970312763864893&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/4844970312763864893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/4844970312763864893'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/08/jsa-faq-product-grouping-types.html' title='JSA FAQ: Product grouping types'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_A9u4xg29YQw/TFp2Tc22nPI/AAAAAAAAAIw/PlJ5DAJw6cM/s72-c/westket1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-7711286414164261328</id><published>2010-08-04T21:24:00.002-10:00</published><updated>2010-08-04T22:34:21.312-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSA'/><category scheme='http://www.blogger.com/atom/ns#' term='OMP'/><title type='text'>Bad, bad, BAD observation!</title><content type='html'>This post is an explanation of where we are at the moment with handling quality in the JSA, and what the medium and long-term plan is. Since the topic is bad observations, this should be of particular interest to S2SRO users with very early SCUBA-2 data, since happily, ACSIS observing doesn't result in many of those!&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What happens right now&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;At this time, when we process observations in batches to create night and multi-night (project) co-adds, the system does not use any observation that has been marked as bad in the OMP obslog (observations are good by default). In the case where only one sub-system is bad (for example in the SCUBA-2 case of the 450 being good and the 850 being marked bad) &lt;i&gt;both&lt;/i&gt; observations are excluded. Questionable and rejected observations are included in the co-add.&lt;br /&gt;&lt;br /&gt;People who are able to set an observation's status to BAD include JAC staff, the active observer at the telescope and the data owners (PIs and co-Is associated with the project). We track who changes the status of an observation, and people are encouraged to leave an explanatory comment as to why they did so.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;In the near term&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The problem is right now that we do not have enough eyeballs to look closely at the S2SRO data and assess whether every observation is good. In the near term, we know people are inspecting their data and really would like the data owners to take the time to mark an observation as bad in their OMP project pages. Then you can either ask for your products to be re-generated right away, or wait for the next re-processing run (SCUBA-2 data is being reprocessed frequently as the data reduction pipeline improves). &lt;br /&gt;&lt;br /&gt;I also think that rejected observations (those that are technically good, but failed to meet a survey's particular QA criteria) should be excluded from the aggregate products - this is an issue we will take up with the surveys.&lt;br /&gt;&lt;br /&gt;This is how you can mark your observation as bad when you are not at the JAC:&lt;br /&gt;&lt;br /&gt;[&lt;i&gt;In this example, let's say we have already identified that we don't want observation 68 taken on UT 2010-03-06 included in our aggregate products. For the impatient: OMP home page -&amp;gt; Access a project -&amp;gt; Pick your UT date -&amp;gt; Click on Comment&lt;/i&gt;]&lt;br /&gt;&lt;br /&gt;&lt;object height="385" width="640"&gt;&lt;param name="movie" value="http://www.youtube.com/v/e-EuLUmk5f0&amp;amp;hl=en_US&amp;amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/e-EuLUmk5f0&amp;amp;hl=en_US&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The real plan&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Obviously the current state of affairs is sub-optimal. The two major improvements that are planned in observation quality are:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Allow individual sub-systems to be marked as bad, rather than throwing the baby out with the bathwater. The problem with this is that obslog (which long predates archive processing) only understands the observation level, and so there are significant OMP infrastructure changes that need to be made to allow this.&lt;/li&gt;&lt;li&gt;Develop an interface between ORAC-DR and obslog that will allow &lt;i&gt;the pipeline itself &lt;/i&gt;to mark observations as bad (not surprisingly, the most sure-fire to find bad observations is to read what ORAC-DR is telling you).&amp;nbsp;&lt;/li&gt;&lt;/ol&gt;Both of these are on the cards, but the reality is that they are a lower priority that the main SCUBA-2 work, so it's not possible to promise a timeline for their delivery.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;If you zoned out reading the above:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;If you find bad observations in your data, take the time to mark them as bad in your project web pages. Watch the video to find out how.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-7711286414164261328?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/7711286414164261328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=7711286414164261328&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7711286414164261328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7711286414164261328'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/08/bad-bad-bad-observation.html' title='Bad, bad, BAD observation!'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-8779655011334820440</id><published>2010-08-03T11:34:00.000-10:00</published><updated>2010-08-04T22:35:01.021-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='faq'/><category scheme='http://www.blogger.com/atom/ns#' term='JSA'/><title type='text'>JSA FAQ: Finding your products</title><content type='html'>A few folk have had trouble figuring out how to get their proprietary products (processed data).&amp;nbsp; You can do this by making the appropriate JSA query.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here's how to do this starting from the JCMT home page&lt;br /&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/NMkwhuqA6aU&amp;amp;hl=en_US&amp;amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/NMkwhuqA6aU&amp;amp;hl=en_US&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;And here is how to do this starting from the CADC home page:&lt;br /&gt;&lt;br /&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/rD7fRrhy8NI&amp;amp;hl=en_US&amp;amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/rD7fRrhy8NI&amp;amp;hl=en_US&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Don't forget that you have to use your CADC credentials for this operation, and they have to be associated with your JAC/OMP userid (so that the OMP can tell the CADC system that it is okay for you to access that data). If the above instructions do not work for you, it is likely that this linking of the two accounts has not been done;&amp;nbsp; contact a JCMT staff member to do the deed. You get a CADC userid by applying to their site and picking a username of your choice; your OMP userid was issued to you when you successfully applied for time and typically consists of your last name followed by your first initial.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-8779655011334820440?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/8779655011334820440/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=8779655011334820440&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8779655011334820440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8779655011334820440'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/08/jsa-faq-finding-your-products.html' title='JSA FAQ: Finding your products'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-1276721900291155094</id><published>2010-06-04T16:03:00.000-10:00</published><updated>2010-06-04T16:03:14.392-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><category scheme='http://www.blogger.com/atom/ns#' term='smurf'/><title type='text'>SMURF update (June 4th 2010)</title><content type='html'>We've been making incremental changes to SMURF over the last few weeks so here are a few highlights that have not been covered in other blog entries.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;We've updated the extinction correction parameters that scale from CSO to the relevant filter to use the number just calculated by Jessica Dempsey. You can override these values by setting &lt;code&gt;ext.taurelation.filtname&lt;/code&gt; in your map-maker config files to the two coefficients "(a,b)" that you want to use (where &lt;code&gt;filtname&lt;/code&gt; is the name of the filter). The defaults are listed in &lt;code&gt;$SMURF_DIR/smurf_extinction.def&lt;/code&gt;. We have also added a slight calibration tweak to WVM-derived values to correct them to the CSO scale.&lt;/li&gt;&lt;li&gt;We have changed the calling interface for the &lt;code&gt;sc2clean&lt;/code&gt; command so that it now takes a map-maker config file as input rather than individual command line parameters. This should make it easier to compare what the map-maker is doing to what &lt;code&gt;sc2clean&lt;/code&gt; is doing.&lt;/li&gt;&lt;li&gt;Two new (experimental) models have been added to the iterative map-maker. They are slow and they are experimental:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;SMO will do a boxcar smooth to each time series to calculate the low frequency variation. This might be more reliable than using the FLT model if the only aim is to remove low frequencies.&lt;/li&gt;&lt;li&gt;PLN will fit and remove a plane from each time slice.&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;There have been some enhancements to the step finding code so that it not only finds the steps more accurately but can also find correlated steps that occur at the same place for all bolometers.&lt;/li&gt;&lt;li&gt;The map-maker has a new &lt;code&gt;ast.zero_notlast&lt;/code&gt; parameter that can be set to true when used in conjunction with &lt;code&gt;ast.zero_lowhits&lt;/code&gt; to disable the final iteration from being forced to zero.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;All these changes are available in the 64-bit linux stardev rsync location and also in the most recent Mac Snow Leopard tar ball.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-1276721900291155094?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/1276721900291155094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=1276721900291155094&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1276721900291155094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1276721900291155094'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/06/smurf-update-june-4th-2010.html' title='SMURF update (June 4th 2010)'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-5640506525651423640</id><published>2010-06-04T13:26:00.000-10:00</published><updated>2010-06-04T13:29:29.974-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><category scheme='http://www.blogger.com/atom/ns#' term='calibration'/><title type='text'>Extinction correction factors for SCUBA-2</title><content type='html'>Analysis of the SCUBA-2 skydips and heater-tracking data from the S2SRO data has allowed calculation of the opacity factors for the SCUBA-2 450μm and 850μm filters to be determined.&lt;br /&gt;&lt;br /&gt;Some background: the Archibald et al (2002) paper describes how the CSO(225GHz) tau to SCUBA opacity terms were determined for the different SCUBA filters. It was assumed for commissioning and S2SRO that the new SCUBA-2 filters were sufficiently similar to the wide-band SCUBA filters that these terms could be used for extinction correction. For reference the SCUBA corrections were:&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;Tau(450μm)&lt;/span&gt; = 26.2 * (&lt;span style="font-weight: bold;"&gt;Tau(225GHz)&lt;/span&gt; - 0.014)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;and&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;Tau(850&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;μ&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;m) &lt;/span&gt;= 4.02 * (&lt;span style="font-weight: bold;"&gt;Tau(225GHz) &lt;/span&gt;- 0.001)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;The JCMT Water vapour radiometer (WVM) now is calibrated to provide a higher-frequency opacity value which has been scaled to the CSO(225GHz) tau. The WVM (not the CSO 225GHz tipper) data was used for this analysis.&lt;br /&gt;&lt;br /&gt;The new filter opacities as determined by the skydip data are as follows:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;Tau(450&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;μ&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;m)&lt;/span&gt; = 19.04 * (&lt;span style="font-weight: bold;"&gt;Tau(225GHz)&lt;/span&gt; - 0.018)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;and&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;Tau(850&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;μ&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;m) &lt;/span&gt;= 5.36 * (&lt;span style="font-weight: bold;"&gt;Tau(225GHz) &lt;/span&gt;- 0.006)&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;A follow-up post to this will show analysis of the difference applying the new corrections can make to data combined from multiple observations taken in differing extinction conditions.&lt;br /&gt;&lt;br /&gt;It is worth noting that if an individual science map and corresponding calibrator observation is already reduced with the old factors&lt;span style="font-family: Helvetica;"&gt;&lt;span back="#ffffff"&gt; &lt;span style="font-size: small;"&gt;&lt;span style="font-family: inherit;"&gt;(and your source and calibrator are at about the same airmass and if the tau did not change appreciably)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: inherit;"&gt;,&lt;/span&gt;&lt;/span&gt; any errors in extinction correction should be cancelled out in the calibration.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-5640506525651423640?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/5640506525651423640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=5640506525651423640&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/5640506525651423640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/5640506525651423640'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/06/extinction-correction-factors-for-scuba.html' title='Extinction correction factors for SCUBA-2'/><author><name>Jessica Dempsey</name><uri>http://www.blogger.com/profile/17089662585998108442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-2174104984426925853</id><published>2010-06-04T13:03:00.000-10:00</published><updated>2010-06-04T13:03:39.955-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><category scheme='http://www.blogger.com/atom/ns#' term='calibration'/><title type='text'>Applying FCFs to calibrate your data</title><content type='html'>&lt;span style="font-size: large;"&gt;&lt;b&gt;Calculating SCUBA-2 Flux Conversion Factors (FCF's)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Currently SCUBA-2 reduction software: the pipeline and the PICARD recipes produce three separate FCF values.  Details of the PICARD recipes can be found on &lt;a href="http://www.oracdr.org/oracdr/PICARD"&gt;Andy's PICARD page&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For calibration from point sources the FCFs and NEFD's have been calculated as follows: &lt;br /&gt;&lt;ol&gt;&lt;li&gt;The PICARD recipe SCUBA2_FCFNEFD takes the reduced map, crops it and runs background removal (and surface fitting parameters are changable in the parameter file).&lt;/li&gt;&lt;li&gt; It then runs the Kappa &lt;code&gt;beamfit&lt;/code&gt; program on the specified point source. Calibrators such as CRL618, HLTAU, Uranus and Mars are already hard-coded into the recipe. If it is not, then you can add a line to your parameter file with the known flux: FLUX_450 = 0.050  or FLUX_850=0.005 for example. &lt;span style="font-family: inherit;"&gt;Beamfit&lt;/span&gt; will calculate the peak flux, the integrated flux over a requested aperture (30 arcsec radius default),  and the FWHM etc.&lt;/li&gt;&lt;li&gt;It then uses the above to calculate three FCF terms described below.&lt;/li&gt;&lt;/ol&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;FCF (arcsec)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;i&gt;   FCF(arcsec) = Total known flux (Jy) / [Measured integrated flux (pW) * (pixsize&lt;sup&gt;2&lt;/sup&gt;)]&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;which will produce an FCF in Jy/arcsec&lt;sup&gt;2&lt;/sup&gt;/pW.&lt;br /&gt;&lt;br /&gt;This FCF(arcsec) is the number to multiply your map by when you wish to use the calibrated map to do aperture photometry.  &lt;b&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;FCF(beam)&lt;/span&gt;&lt;/b&gt;  &lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;/span&gt;&lt;/b&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;i&gt;FCF(beam) = Peak flux (Jy/beam) / [Measured peak flux (pW)]&lt;/i&gt;&amp;nbsp;&lt;/div&gt;&lt;br /&gt;producing an FCF in units of Jy/beam/pW.&lt;br /&gt;&lt;br /&gt;The Measured peak flux here is derived from the Gaussian fit applied by &lt;code&gt;beamfit&lt;/code&gt;. The peak value is susceptible to pointing and focus errors, and we have found this number to be somewhat unreliable, particularly at 450μm.  This FCF(beam) is the number to multiply your map by when you wish to measure absolute peak fluxes of discrete sources.&lt;br /&gt;&lt;br /&gt;To overcome the problems encountered as a result of the peak errors, a third FCF method has been derived, where the FCF(arcsec) is taken and modeled with a Gaussian beam with a FWHM equivalent to that of the JCMT beam at each wavelength. The resulting FCF calculates a 'equivalent peak' FCF from the integrated value assuming that the point source is a perfect Gaussian.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;FCF (beamequiv)&lt;/span&gt;&lt;/b&gt;  &lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;/span&gt;&lt;/b&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;i&gt;FCF(beamequiv) = Total flux (Jy) x 1.133 x FWHM&lt;sup&gt;2&lt;/sup&gt; / [Measured integrated flux (pW) * pixsize&lt;sup&gt;2&lt;/sup&gt;]&lt;/i&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&amp;nbsp;or more conveniently:  &lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;i&gt;FCF(beamequiv) = FCF(arcsec) x 1.133 x FWHM&lt;sup&gt;2&lt;/sup&gt;&lt;/i&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;where FWHM is 7.5'' and 14.0'' for the 450μm and 850μm respectively. This produces an FCF in units of Jy/beam/pW.&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;This FCF(beamequiv) and FCF(beam) &lt;span style="font-weight: bold;"&gt;should&lt;/span&gt; agree with each other, however this is often not the case when the source is distorted for the reasons mentioned above. FCF(beamequiv) has been found to provide more consistent results and it is advised to use this value when possible, in the same way as FCF(beam).&amp;nbsp;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;Methodology for calibrating your data:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;span style="font-size: small;"&gt;So you have a reduced map for a given date. Each night of S2SRO should have at least one if not more calibrator observations that were taken during the night. A website with this list is currently in the works and I'll add it to the blog when it is completed. For now it is relatively easy to search the night's observations for these. Primary calibrators were Uranus and Mars, and the&amp;nbsp; secondary calibrators are listed on the &lt;a href="http://www.jach.hawaii.edu/JCMT/continuum/calibration/sens/secondary_2004.html"&gt;SCUBA secondary calibrators page&lt;/a&gt;. In addition to these, Arp 220, V883 Ori, Alpha Ori and TW Hydrae were tested as calibrators. Their flux properties were investigated with SCUBA (see&amp;nbsp;&lt;a href="http://www.jach.hawaii.edu/JCMT/continuum/calibration/sens/potentialcalibrators.html"&gt;SCUBA potential calibrators&lt;/a&gt;) .&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-size: large;"&gt;&lt;span style="font-size: small;"&gt;Run your selected calibration observation through the mapmaker using the same dimmconfig as your science data used.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: large;"&gt;&lt;span style="font-size: small;"&gt;Use PICARD's recipe SCUBA2_FCFNEFD on your reduced calibration observation. This will produce information to the screen and a logfile log.fcfnefd with the three FCFs as mentioned above, and an NEFD for the observation. PICARD by default uses fixed FCF's to calculate the NEFD. (450um: 250 and 850um: 750). If you wish to get an NEFD using the FCF calculated for the calibrator add USEFCF=1 to your parameter file.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size: large;"&gt;&lt;span style="font-size: small;"&gt;Take your selected FCF and multiply your map by it using KAPPA &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-size: small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;cmult&lt;/span&gt;. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;span style="font-size: small;"&gt;Things become slightly more complicated if you wish to use PICARD's matched filter recipe to enhance faint point sources. Again see Andy's PICARD page (link above) for details on the matched filter recipe. If you are normalising the matched filter peak, you will need to run this filter over your calibrator image with the same parameters you used for your science map.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;span style="font-size: small;"&gt; &lt;b&gt;Note:&lt;/b&gt; You &lt;b&gt;cannot&lt;/b&gt;, at this point, use the FCF(beamequiv) number to calibrate your match-filtered data. This number will now be (usually) disproportionate and just wrong. The FCF(beam) value however, should be preserved by this method.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;span style="font-size: small;"&gt;The peak is truly preserved by this method so two numbers, the FCF(beamequiv) pre-match-filter and the FCF(beam) post-match filter should be close to the same and either of these values can be used to calibrate your match-filtered science map.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;span style="font-size: small;"&gt;It is also worth noting (though perhaps obvious) that after running the match-filter script in peak-normalisation mode, only the peak flux values (and not the integrated sum over an aperture) will be correct. The reverse is true if using sum-normalisation.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-2174104984426925853?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/2174104984426925853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=2174104984426925853&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2174104984426925853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2174104984426925853'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/06/applying-fcfs-to-calibrate-your-data.html' title='Applying FCFs to calibrate your data'/><author><name>Jessica Dempsey</name><uri>http://www.blogger.com/profile/17089662585998108442</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-1492438534326477494</id><published>2010-05-28T10:02:00.000-10:00</published><updated>2010-06-04T13:29:29.975-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><title type='text'>Dark Squids and Magnetic Field Pickup</title><content type='html'>Over the last couple of weeks I have been experimenting with some data that seem to exhibit the effects of magnetic field pickup in the detectors. The SCUBA-2 readout system amplifies small changing magnetic fields caused by changing currents in the detectors (that are produced by changing optical and thermal loads on the bolometers) using arrays of SQUIDs. Although there is substantial shielding, some external changing magnetic fields may still leak into the raw data - such as motion of the telescope through the Earth's magnetic field, or fields produced by motors in the dome etc. The readouts are multiplexed, and the signals from columns of detectors pass through a common amplifier chain. For this reason, each column has a bare SQUID with no bolometer, a so-called "dark SQUID" (DKS henceforth), to track this non-thermal/optical noise term. The time-series for these data are stored in raw SCUBA-2 data files in the ".more.scuba2.dksquid" extension. They can be plotted, for example, using KAPPA linplot (this is for the DKS in column 1 of the following raw 30s data file):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  $linplot 's4a20100223_00061_0002.more.scuba2.dksquid(1,)'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T1vpbzt-ZSc/TAAmDaf2bVI/AAAAAAAAAA8/BttiX_kM484/s1600/dksquid_s4a.png"&gt;&lt;img style="cursor: pointer; width: 320px; height: 210px;" src="http://2.bp.blogspot.com/_T1vpbzt-ZSc/TAAmDaf2bVI/AAAAAAAAAA8/BttiX_kM484/s320/dksquid_s4a.png" alt="" id="BLOGGER_PHOTO_ID_5476418986976898386" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Just like regular bolometer data, DKS can have spikes (like in this example). Generally speaking the DKS haven't shown a lot of structure so we weren't concentrating on using them to clean the bolometer data.&lt;br /&gt;&lt;br /&gt;However, on some of the wider-area data sets the DKS signals can be substantially larger, and seem to introduce a significant noise term. One additional feature of the magnetic field pickup signal that makes it easy to distinguish from other noise sources is that its &lt;span style="font-style: italic;"&gt;sign&lt;/span&gt; is essentially random, and independent of the detector response to optical/thermal loads, i.e. the signal could be rising in one bolometer, and falling in the next. The following movie shows a data cube from the s8d array after the common-mode signal has been removed. The residual signal oscillates in time, with two clear detector populations that are out of phase with eachother:&lt;br /&gt;&lt;br /&gt;&lt;object width="320" height="266" class="BLOG_video_class" id="BLOG_video-dd5f981ca3680f5a" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v23.nonxt4.googlevideo.com/videoplayback?id%3Ddd5f981ca3680f5a%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331134269%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D7907302D3D828894AB396D4BE1ED979C79BA6279.84B39A39A9CC1C4478D8461428C715FCD4211142%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3Ddd5f981ca3680f5a%26offsetms%3D5000%26itag%3Dw160%26sigh%3Dguc6IrkpI3qiB4TE9gursQKgqrk&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="320" height="266" bgcolor="#FFFFFF"flashvars="flvurl=http://v23.nonxt4.googlevideo.com/videoplayback?id%3Ddd5f981ca3680f5a%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1331134269%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D7907302D3D828894AB396D4BE1ED979C79BA6279.84B39A39A9CC1C4478D8461428C715FCD4211142%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3Ddd5f981ca3680f5a%26offsetms%3D5000%26itag%3Dw160%26sigh%3Dguc6IrkpI3qiB4TE9gursQKgqrk&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;These data were taken as part of a 0.5 deg diameter scan, and it is clear comparing the dark squid signals with the change in telescope azimuth that they are highly correlated. Combined with the arbitrary sign of the residual noise, the culprit is almost certainly magnetic field pickup.&lt;br /&gt;&lt;br /&gt;A dark squid signal (red dots), and the signal smoothed with 200 sample boxcar (white line) over 100s:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T1vpbzt-ZSc/TAArUrlHylI/AAAAAAAAABM/7oVlFYXpNzs/s1600/450_dk.png"&gt;&lt;img style="cursor: pointer; width: 320px; height: 256px;" src="http://4.bp.blogspot.com/_T1vpbzt-ZSc/TAArUrlHylI/AAAAAAAAABM/7oVlFYXpNzs/s320/450_dk.png" alt="" id="BLOGGER_PHOTO_ID_5476424781178325586" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Azimuth offset from the map centre over the same period of time:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_T1vpbzt-ZSc/TAAr37wJF9I/AAAAAAAAABU/Le8C-gEJ-KI/s1600/daz.png"&gt;&lt;img style="cursor: pointer; width: 320px; height: 256px;" src="http://3.bp.blogspot.com/_T1vpbzt-ZSc/TAAr37wJF9I/AAAAAAAAABU/Le8C-gEJ-KI/s320/daz.png" alt="" id="BLOGGER_PHOTO_ID_5476425386814937042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The next plot shows the dark squids for each working column over ~25 min. with arbitrary vertical offsets for clarity. Note that while similar, each column has a slightly different response:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T1vpbzt-ZSc/TAAsWtYRK7I/AAAAAAAAABc/JpDHlBjlFKw/s1600/450_allDK.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 296px;" src="http://2.bp.blogspot.com/_T1vpbzt-ZSc/TAAsWtYRK7I/AAAAAAAAABc/JpDHlBjlFKw/s400/450_allDK.png" alt="" id="BLOGGER_PHOTO_ID_5476425915532651442" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The iterative map-maker has a partially-implemented model, called "DKS", for iteratively fitting and removing the DKS signals from working detectors along each column. The relevant settings for the configuration file are:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  modelorder = (dks,com,gai,ext,ast,noi)&lt;br /&gt;  dks.boxcar = 100&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Here we have added DKS cleaning as the first step in the iterative model fitting to the data (note also that we have dropped FLT for now, more on that below), and the second option smooths the DKS data with a 100 sample boxcar prior to fitting and removing it from each bolometer.&lt;br /&gt;&lt;br /&gt;The next two images show a map solution using only COM to remove low-frequency noise, followed by a solution that uses both DKS and COM:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T1vpbzt-ZSc/TAAvTqbH9VI/AAAAAAAAABk/R3TlLO36QnE/s1600/450_map_com.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 268px;" src="http://4.bp.blogspot.com/_T1vpbzt-ZSc/TAAvTqbH9VI/AAAAAAAAABk/R3TlLO36QnE/s400/450_map_com.png" alt="" id="BLOGGER_PHOTO_ID_5476429161734600018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T1vpbzt-ZSc/TAAvekmtPQI/AAAAAAAAABs/yeEoikEW22I/s1600/450_map_dks_com.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 269px;" src="http://2.bp.blogspot.com/_T1vpbzt-ZSc/TAAvekmtPQI/AAAAAAAAABs/yeEoikEW22I/s400/450_map_dks_com.png" alt="" id="BLOGGER_PHOTO_ID_5476429349151128834" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;While not perfect, it is still clear that the DKS removal has removed a lot of the noise that caused streaking in the first image. Remember, there is no additional high-pass filtering as FLT has been turned off in this example.&lt;br /&gt;&lt;br /&gt;If "dks" is specified in "exportndf", the fitted DKS model will be written to a file with a suffix "_dks.sdf". However, this file is not particularly easy to view and make any sense of because the dark squids and the fit coefficients are all bundled together in one large array. For this reason, we've added a new SMURF task called "sc2expandmodel" that will evaluate the model and produce a full 3d data cube with the same dimensions/units as the residual data, e.g.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  $sc2expandmodel s4a20100228_00016_0002_con_dks expanded_dks&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;will produce an easily-viewable file called "expanded_dks". All detectors along a column will have the same shape, but the scale/offset will be different for each detector. Examining this file and comparing to the "_res" output from makemap is useful for getting an idea of how strong this magnetic field pickup is for a given data set.&lt;br /&gt;&lt;br /&gt;All of this code is still experimental. It currently has several problems:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;boundaries with padding/apodization will introduce steps, so padstart/padend/apod should probably be set to zero, meaning that it is not optimal for combining with FLT at this stage.&lt;/li&gt;&lt;li&gt;the DKS are not pre-processed in the same way as the bolometer data to remove spikes / steps etc. This capability will be added shortly.&lt;/li&gt;&lt;li&gt;Some DKS are clearly dead (e.g. DKS 1 in the multi-DKS plot above). Currently we don't have an automatic system for flagging/removing them. Note also that if they are bad, it will be impossible to DKS-clean working detectors along that column (so we need to decide if we will simply have to ignore them when making a map?)&lt;/li&gt;&lt;/ul&gt;Once we have worked through some of these issues, we will update the default dimmconfig files in SMURF accordingly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-1492438534326477494?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/1492438534326477494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=1492438534326477494&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1492438534326477494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1492438534326477494'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/05/dark-squids-and-magnetic-field-pickup.html' title='Dark Squids and Magnetic Field Pickup'/><author><name>Ed Chapin</name><uri>http://www.blogger.com/profile/05393061220413106533</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_T1vpbzt-ZSc/TAAmDaf2bVI/AAAAAAAAAA8/BttiX_kM484/s72-c/dksquid_s4a.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-1261442206918088372</id><published>2010-05-18T09:46:00.000-10:00</published><updated>2010-06-04T13:29:29.975-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><title type='text'>SCUBA-2 filter information</title><content type='html'>At our last SCUBA-2/SRO telecon, people asked to see the measured profiles for the SCUBA-2 filters.&lt;br /&gt;&lt;br /&gt;Dan has put up some plots &lt;a href="http://www.jach.hawaii.edu/JCMT/continuum/scuba2/filter/"&gt;here. &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-1261442206918088372?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/1261442206918088372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=1261442206918088372&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1261442206918088372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1261442206918088372'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/05/scuba-2-filter-information.html' title='SCUBA-2 filter information'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-8596471883546690085</id><published>2010-05-17T08:55:00.000-10:00</published><updated>2010-06-04T13:28:52.952-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><category scheme='http://www.blogger.com/atom/ns#' term='starlink'/><category scheme='http://www.blogger.com/atom/ns#' term='picard'/><title type='text'>PICARD web page</title><content type='html'>I've created a new static location for all things PICARD:&lt;br /&gt;&lt;a href="http://www.oracdr.org/oracdr/PICARD"&gt;http://www.oracdr.org/oracdr/PICARD&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The page includes an introduction to PICARD, a list of all available recipes (with more detailed documentation) and a few hints, tips and potential gotchas. I'll keep this page up-to-date, adding new blog entries and/or sending messages to the scuba2dr mailing list as necessary.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-8596471883546690085?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/8596471883546690085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=8596471883546690085&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8596471883546690085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8596471883546690085'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/05/picard-web-page.html' title='PICARD web page'/><author><name>AndyG</name><uri>http://www.blogger.com/profile/08420176185148728829</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://gonewest.freeshell.org/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-1248311523654395249</id><published>2010-05-11T13:25:00.001-10:00</published><updated>2010-06-04T13:28:52.953-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><category scheme='http://www.blogger.com/atom/ns#' term='starlink'/><category scheme='http://www.blogger.com/atom/ns#' term='picard'/><title type='text'>Post-processing SCUBA-2 data with PICARD</title><content type='html'>Processing raw SCUBA-2 data is done with SMURF or the pipeline (ORAC-DR). What happens after that depends on the user and their level of familiarity with particular software packages. Fortunately the SCUBA-2 software team is here to help out and come up with a series of standardized tools for performing a number of basic post-processing tasks.&lt;br /&gt;&lt;h4&gt;Introduction to PICARD&lt;/h4&gt;Our tool of choice is PICARD which makes use of the existing ORAC-DR infrastructure as well as our existing knowledge of writing primitives and recipes for the SCUBA-2 pipeline. PICARD is run from the command line as follows (I'll use % as the prompt):&lt;br /&gt;&lt;br /&gt;% picard [options] [RECIPE_NAME] [list of files to process]&lt;br /&gt;&lt;br /&gt;For example,&lt;br /&gt;&lt;br /&gt;% picard -log sf -recpars mypar.lis CROP_JCMT_IMAGES myfiles*.sdf&lt;br /&gt;&lt;br /&gt;The most commonly used options are -log and -recpars (the full list of available options can be seen by running picard -h). Both of these options take additional arguments.&lt;br /&gt;&lt;br /&gt;The "-log" option controls where the messages from PICARD are printed: "-log sf" will write messages to the terminal window and to a file called .picard_PID.log (where PID is the process ID for picard) in the output directory. To avoid creating the .picard_PID.log files, just specify "-log s".&lt;br /&gt;&lt;br /&gt;The "-recpars" option allows the user to pass in a text file containing parameters which can be used in the given recipe. The permitted parameters are listed with the various recipes below. The format of this text file is a list of `parameter = value' entries, with the recipe name given in square brackets:&lt;br /&gt;&lt;br /&gt;[RECIPE_NAME]&lt;br /&gt;PARAM1 = VALUE1&lt;br /&gt;PARAM2 = VALUE2&lt;br /&gt;&lt;br /&gt;PICARD writes its output files to the current directory (unless the environment variable ORAC_DATA_OUT is defined in which case that location will be used).&lt;br /&gt;&lt;br /&gt;There are currently four recipes which may be of interest:&lt;ul&gt;&lt;li&gt;MOSAIC_JCMT_IMAGES&lt;/li&gt;&lt;li&gt;CROP_JCMT_IMAGES&lt;/li&gt;&lt;li&gt;REMOVE_BACKGROUND&lt;/li&gt;&lt;li&gt;SCUBA2_MATCHED_FILTER&lt;/li&gt;&lt;/ul&gt;These recipes and their parameters are described in more detail below. More recipes will be added as the need arises and as we gain more experience in analyzing SCUBA-2 data. Interested users should update their Starlink installations to get access to these recipes.&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;MOSAIC_JCMT_IMAGES&lt;/h4&gt;Coadd the given files into a single map, taking into account the EXP_TIME and WEIGHTS NDF components. The images are combined using variance weighting and the output variance is derived from the input variances. Currently the recipe uses the KAPPA wcsmosaic task for coadding the images.&lt;br /&gt;&lt;br /&gt;The same pixel-spreading method (and any associated parameters) is used for the data and the EXP_TIME and WEIGHTS.&lt;br /&gt;&lt;br /&gt;Creates a single output file based on the name of the last file in the list, and with a suffix "_mos" (e.g. mylastfile_mos.sdf).&lt;br /&gt;&lt;br /&gt;Available recipe parameters:&lt;br /&gt;[MOSAIC_JCMT_IMAGES]&lt;br /&gt;WCSMOSAIC_METHOD = wcsmosaic pixel-spreading method: see wcsmosaic documentation for available options (default is "nearest")&lt;br /&gt;WCSMOSAIC_PARAMS = additional parameters which may be required for the chosen method&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;CROP_JCMT_IMAGES&lt;/h4&gt;Crop images to the map size in the data header (as specified in the Observing Tool), though this size can be overridden using the recipe parameters below.&lt;br /&gt;&lt;br /&gt;Creates an output file for each input file, with the suffix "_crop".&lt;br /&gt;&lt;br /&gt;Available recipe parameters:&lt;br /&gt;[CROP_JCMT_IMAGES]&lt;br /&gt;MAP_WIDTH = map width in arcsec&lt;br /&gt;MAP_HEIGHT = map height in arcsec&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;REMOVE_BACKGROUND&lt;/h4&gt;Fit and remove large-scale background variations from images using either KAPPA fitsurface or CUPID findback. See the Starlink documentation on both tasks for more information on the parameters shown below. The option exists to mask out a circular region centred on the source before removing the background.&lt;br /&gt;&lt;br /&gt;Be aware that the subtraction of the background will add noise proportional to the RMS deviation between the image and the background fit.&lt;br /&gt;&lt;br /&gt;Creates an output file for each input file with the suffix "_back".&lt;br /&gt;&lt;br /&gt;Available recipe parameters:&lt;br /&gt;[REMOVE_BACKGROUND]&lt;br /&gt;MASK_SOURCE = flag to mask out a circular region on the source before fitting a background (1 = mask out source; 0 = do not mask out source - the default)&lt;br /&gt;APERTURE_RADIUS = radius of aperture (in arcsec) for masking out source (otherwise 30 arcsec)&lt;br /&gt;BACKGROUND_FITMETHOD = the method for fitting the background, either fitsurface (default) or findback&lt;br /&gt;FITSURFACE_FITTYPE = fittype parameter for fitsurface: polynomial (default) or spline&lt;br /&gt;FITSURFACE_FITPAR = parameters for fit, up to 2 numbers corresponding to NXPAR/NYPAR for fitsurface or KNOTS for spline fit&lt;br /&gt;FINDBACK_BOX = size of box in pixels used by findback for smoothing the image&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;SCUBA2_MATCHED_FILTER&lt;/h4&gt;Apply a matched filter to the data to improve point-source detectability. The images and PSFs are smoothed with a broad Gaussian (default is 30 arcsec but can be varied using the recipe parameter below) and subtracted from the originals. The images are convolved with the modified PSFs. The PSF created by the recipe is a Gaussian with FWHM equal to the JCMT beamsize at the appropriate wavelength (i.e. 7.5 or 14 arcsec).&lt;br /&gt;&lt;br /&gt;Creates an output file for each input file with the suffix "_mf", and a PSF file "_psf" if the PSF was not specified as a recipe parameter.&lt;br /&gt;&lt;br /&gt;Available recipe parameters:&lt;br /&gt;[SCUBA2_MATCHED_FILTER]&lt;br /&gt;PSF_MATCHFILTER = name of a PSF file (NDF format, will be used for all images)&lt;br /&gt;PSF_NORM = switch to determine whether a PSF is normalized to a peak of unity ("peak" - the default) or a sum of unity ("sum")&lt;br /&gt;SMOOTH_FWHM = FWHM in arcsec of Gaussian to smooth image (and PSF)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-1248311523654395249?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/1248311523654395249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=1248311523654395249&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1248311523654395249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1248311523654395249'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/05/post-processing-scuba-2-data-with.html' title='Post-processing SCUBA-2 data with PICARD'/><author><name>AndyG</name><uri>http://www.blogger.com/profile/08420176185148728829</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://gonewest.freeshell.org/me.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-5458669689454095039</id><published>2010-05-07T15:37:00.000-10:00</published><updated>2010-06-04T13:28:52.954-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><category scheme='http://www.blogger.com/atom/ns#' term='smurf'/><title type='text'>Typos in config files</title><content type='html'>This week I've made a couple of minor changes to the way the iterative map-maker handles configuration files. On too many occasions I've made a change to a config parameter and seen no effect because of a typo or else I've left a parameter unspecified and had no idea what that really meant.&lt;br /&gt;&lt;br /&gt;We've now fixed both these problems:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Defaults are now read from a file called $SMURF_DIR/smurf_makemap.def&lt;/li&gt;&lt;li&gt;When user-supplied parameters are read in they are merged with the defaults and if there is any keyword used that is not present in the default file you will get an error immediately.&lt;/li&gt;&lt;li&gt;When the history is written out (use KAPPA HISLIST to see it) it contains the values that were actually used rather than just the values that were supplied by you. These are much more useful when trying to work out exactly what is different between two reductions.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;I did have to change the way config files work in one small way. Previously if you wanted your config file to include overrides based on the wavelength you would have to say "flt_850.something" or "flt_450.something". To allow the above changes to work we've had to reorganize that slightly so you now say "450.flt.something" and can now override all the normal parameters in this way for a particular wavelength.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-5458669689454095039?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/5458669689454095039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=5458669689454095039&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/5458669689454095039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/5458669689454095039'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/05/typos-in-config-files.html' title='Typos in config files'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><georss:featurename>660 N Aohoku Pl, Hilo, HI 96720, USA</georss:featurename><georss:point>19.7010572 -155.0896163</georss:point><georss:box>19.6960067 -155.0969118 19.7061077 -155.0823208</georss:box></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-7210968185611470350</id><published>2010-04-29T11:56:00.001-10:00</published><updated>2010-06-04T13:28:52.955-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><category scheme='http://www.blogger.com/atom/ns#' term='starlink'/><category scheme='http://www.blogger.com/atom/ns#' term='picard'/><title type='text'>How Should I Mosaic My SCUBA-2 Data (Redux)?</title><content type='html'>Mosaicking your SCUBA-2 with wcsmosaic or makemos is fine if all you're interested in is the data. But what if you want to know the exposure time per pixel in your map to determine if the noise is reasonable? That's easy for each map written by makemap: the exposure time image is stored in the .MORE.SMURF.EXP_TIME NDF extension (which you can view in Gaia). But wcsmosaic doesn't know about this extension, so the EXP_TIME data in a mosaic is only that of the first file.&lt;br /&gt;&lt;br /&gt;There are two ways to get properly mosaicked data:&lt;ul&gt;&lt;li&gt;Use the ORAC-DR pipeline and process from raw;&lt;/li&gt;&lt;li&gt;Use the PICARD recipe MOSAIC_JCMT_IMAGES on processed data.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;I'll write a post about using the pipeline in the near future but for now I'll highlight the second method.&lt;br /&gt;&lt;br /&gt;PICARD comes for free with ORAC-DR (which comes for free with Starlink). It's basically a tool for processing and analyzing reduced data which takes advantage of the same infrastructure used by the pipeline.&lt;br /&gt;&lt;br /&gt;At the command line type:&lt;br /&gt;&lt;br /&gt;picard -log s MOSAIC_JCMT_IMAGES myfiles*.sdf&lt;br /&gt;&lt;br /&gt;It'll tell you what it's doing and exit. This will create a file called "mylastfile_mos.sdf" which has the correct EXP_TIME extension (where "mylastfile" is the name of the last file in the list given to MOSAIC_JCMT_IMAGES). Try it and see.&lt;br /&gt;&lt;br /&gt;Note that all the files must be of the same source.&lt;br /&gt;&lt;br /&gt;At the moment, it only supports wcsmosaic as the mosaicking task but will support makemos in the future. Keep &lt;a href="http://pipelinesandarchives.blogspot.com/2010/02/scuba-2-dr-status-report.html"&gt;rsync'ing&lt;/a&gt; and one day it'll just be there...&lt;br /&gt;&lt;br /&gt;[This post was updated on 20100510 to reflect the change in the recipe name and the file-naming behaviour]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-7210968185611470350?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/7210968185611470350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=7210968185611470350&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7210968185611470350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7210968185611470350'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/04/how-should-i-mosaic-my-scuba-2-data_29.html' title='How Should I Mosaic My SCUBA-2 Data (Redux)?'/><author><name>AndyG</name><uri>http://www.blogger.com/profile/08420176185148728829</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://gonewest.freeshell.org/me.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-6748022455653691157</id><published>2010-04-29T10:53:00.000-10:00</published><updated>2010-06-04T13:30:49.904-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><category scheme='http://www.blogger.com/atom/ns#' term='starlink'/><title type='text'>How Should I Mosaic My SCUBA-2 Data?</title><content type='html'>I've been asked this a number of times so I thought I'd write something down. Currently the SMURF iterative map-maker calculates models for each chunk of data independently (a chunk is a continuous sequence so many times that will be a single observation but it might be smaller than an observation if a flatfield is inserted mid-way through). It then combines them using a weighted coadd to give you the final map. This means that there is nothing to be gained in throwing all your observations at MAKEMAP apart from it taking much longer to make a map before you can see the result.&lt;br /&gt;&lt;br /&gt;In terms of flexibility it is better to make a map from each observation separately. You can then look at each map to see how it looks before combining it. You may also want to remove any low frequency structure at this point as well. To combine these maps into a single map you have two choices using Starlink software:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Use KAPPA WCSMOSAIC with an interpolation or rebinning scheme of your choice. Make sure that you set the VARIANCE parameter to true to enable variance weighting of your mosaic.&lt;/li&gt;&lt;li&gt;If you have already ensured that the maps are made on the same grid (you can use the REF argument in MAKEMAP to ensure this) then you can try CCDPACK MAKEMOS. This can be used to do median or clipped mean stacking and does no interpolation or smoothing. If your images are not aligned on the same grid it is probably better to remake them so that they are, but if that is difficult you can use the KAPPA WCSALIGN command to match up the grids first. Use the GENVAR and USEVAR parameters in MAKEMOS.&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;In the future it may be that the map-maker will be able to do a better job handling all the data at once itself instead of external mosaicking but at the moment this is not the case.&lt;br /&gt;&lt;br /&gt;If you want to keep a track of exposure times you need to track that separately. We will cover that in a follow up post.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-6748022455653691157?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/6748022455653691157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=6748022455653691157&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/6748022455653691157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/6748022455653691157'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/04/how-should-i-mosaic-my-scuba-2-data.html' title='How Should I Mosaic My SCUBA-2 Data?'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-5337594158348424704</id><published>2010-04-23T12:55:00.000-10:00</published><updated>2010-06-04T13:29:29.979-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><title type='text'>Large scale structure divergence</title><content type='html'>First, my apologies for the lousy image layout! Next post will be better...&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_T1vpbzt-ZSc/S9InA35KR5I/AAAAAAAAAAM/EjqFtLG6WX8/s1600/map.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 302px;" src="http://2.bp.blogspot.com/_T1vpbzt-ZSc/S9InA35KR5I/AAAAAAAAAAM/EjqFtLG6WX8/s320/map.png" alt="" id="BLOGGER_PHOTO_ID_5463472193911015314" border="0" /&gt;&lt;/a&gt;As many of you have noticed, large-scale noise structures in the maps appear to grow with the number of iterations (clearly not the desired behaviour!). This blog entry describes the problem in more detail with an example, and discusses a partial fix.&lt;br /&gt;&lt;br /&gt;The map on the left was produced from about 6 min. of scans across a blank-field at 450um using the dimmonfig_faint.lis configuration file, but turning up the number of iterations to 100. As you can see there is a strong gradient across the map -- the more iterations I added, the more the gradient grew.&lt;br /&gt;&lt;br /&gt;In the next plot I show the common-mode signal from this map solution (the average signal in all the detectors as a function of time). Mostly we see the fridge temperature oscillations (about every 30s), plus a more slowly varying component (maybe sky?)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_T1vpbzt-ZSc/S9Ip4U0_eCI/AAAAAAAAAAc/LwmGCv3JzgI/s1600/com.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 219px;" src="http://1.bp.blogspot.com/_T1vpbzt-ZSc/S9Ip4U0_eCI/AAAAAAAAAAc/LwmGCv3JzgI/s320/com.png" alt="" id="BLOGGER_PHOTO_ID_5463475345594218530" border="0" /&gt;&lt;/a&gt;Next, I set ast.zero_lowhits = 0.5 in the config file. What this option does is identify all of the pixels in the output map with less than 50% of the mean number of hits, and then sets those pixels to zero after each iteration (i.e. a zero boundary condition). In the next two plots I show the map, and the difference between the common-mode estimated from the two solutions:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T1vpbzt-ZSc/S9IqV_9UJKI/AAAAAAAAAAk/CJgX-rgBfkk/s1600/map_edge.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 302px;" src="http://4.bp.blogspot.com/_T1vpbzt-ZSc/S9IqV_9UJKI/AAAAAAAAAAk/CJgX-rgBfkk/s320/map_edge.png" alt="" id="BLOGGER_PHOTO_ID_5463475855388058786" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_T1vpbzt-ZSc/S9IqhkntJCI/AAAAAAAAAAs/pnwGe9Qc7Ug/s1600/comdiff.png"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 320px; height: 219px;" src="http://4.bp.blogspot.com/_T1vpbzt-ZSc/S9IqhkntJCI/AAAAAAAAAAs/pnwGe9Qc7Ug/s320/comdiff.png" alt="" id="BLOGGER_PHOTO_ID_5463476054208095266" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What we can can see is that the gradient has been drastically reduced. So what's happening? The common-mode difference plot shows that the map without edge constraints has a large additional periodic signal (about 10% of the main common mode signal) with a frequency that is a factor of a few larger than the 30s fridge oscillations. In fact, this signal is nicely correlated with the higher-frequency scan pattern.&lt;br /&gt;&lt;br /&gt;Basically this shows that, left to its own devices, the solution is perfectly happy to pump large-scale structure into the map. It then still manages a flat residual because it simply compensates for this gradient by putting &lt;span style="font-style: italic;"&gt;negative&lt;/span&gt; signal of the correct amplitude into the common-mode. In other words, the largest scales and the common-mode are degenerate model parameters.&lt;br /&gt;&lt;br /&gt;However, I have noticed that even with this edge constraint turned on, there is other strange structure in the map, like this convex curvature. This fact, combined with the substantially worse noise at 850um, shows us that the model is insufficient for accurately describing the data. The edge constraint helps, but that curvature indicates some kind of tension (like the model trying to fit some sort of gradient across the array and failing). I suspect that, lacking any other conditions on the model, the large-scale noise is just growing without bound.&lt;br /&gt;&lt;br /&gt;We are presently looking at ways to improve the model for the data and/or introduce other reasonable constraints to help convergence to something sensible! For now, it is worth turning ast.zero_lowhits on if you don't believe you have any strong emission features around the edge of the map (tricky for maps of structure in the galactic plane).&lt;span style="white-space: normal;" contenteditable="false"&gt;&lt;span&gt;&lt;span class="BXB AXB"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-5337594158348424704?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/5337594158348424704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=5337594158348424704&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/5337594158348424704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/5337594158348424704'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/04/large-scale-structure-divergence.html' title='Large scale structure divergence'/><author><name>Ed Chapin</name><uri>http://www.blogger.com/profile/05393061220413106533</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_T1vpbzt-ZSc/S9InA35KR5I/AAAAAAAAAAM/EjqFtLG6WX8/s72-c/map.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-126677120816727435</id><published>2010-04-06T02:50:00.000-10:00</published><updated>2010-06-04T13:29:29.979-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><title type='text'>Detection and Correction of DC steps</title><content type='html'>The  new makemap DC step detection and correction routine (&lt;b&gt;&lt;span style="font-family: courier new;"&gt;smf_fix_steps&lt;/span&gt;&lt;/b&gt;) processes each bolometer independently. The processing is divided into two parts; first, potential steps are detected, and then second, each potential step is checked to see if it satisfies various  conditions. Once a final set of steps has been determined, the original data stream is modified to correct for these steps. The location of the steps themselves are flagged in the associated quality array.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;1) Detection of Candidate steps:&lt;/h2&gt;&lt;ol&gt;&lt;li&gt;Candidate steps are detected by comparing the difference between the median value in two boxes on either side of each time slice. In the figure below, the time slice with index &lt;b&gt;&lt;span style="font-family: courier new;"&gt;t0 &lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: verdana;"&gt;is being tested by comparing the median of the values in the two red boxes. &lt;img src="http://docs.google.com/File?id=dhhcmd34_24f739bkdq_b" style="float: left; margin-left: 0pt; margin-right: 1em;" width="400" /&gt;The number of times slices in each of these median boxes is given by config parameter DCMEDIANWIDTH (default 40 - a small value is used to reduce the smoothing effect which can make steps harder to find). A gap is allowed to exist between these two boxes (controlled by the private parameter &lt;b&gt;&lt;span style="font-family: courier new;"&gt;dcmediangap&lt;/span&gt;&lt;/b&gt;, currently set to 3 samples). Each time slice is processed in this way to produce a curve like the one below, which is indicative of the gradient of the bolometer time series. The effect of the median box is to blur sudden jumps so that high gradients are seen over a width comparable to DCMEDIANWIDTH.This curve has a high positive value around the location of the steep upward step in the above curve. Use of a median minimises the effects of spikes, &lt;i&gt;etc.&lt;/i&gt; &lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;img src="http://docs.google.com/File?id=dhhcmd34_25hqw892zm_b" style="float: left; height: 350.353px; margin-left: 0pt; margin-right: 1em; width: 648px;" /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol start="2"&gt;&lt;li&gt;Unusually large (positive or negative) values are identified in this curve. The threshold is set as a multiple of the RMS value in the curve, with the multiple being given by the DCTHRESH config parameter.&lt;/li&gt;&lt;li&gt;This thresholding results in a miscellaneous collection of samples being selected, which will often, but not always, be associated with a DC step.  A genuine step may not occur instantaneously - that is, the rise in value may take several time slices to complete. In addition, the rise may not be monotonic. This means that a single step may be broken up into pieces because of the thresholding. The next step in the process is to merge these pieces together into contiguous blocks. Gaps between selected samples that are shorter that &lt;b&gt;&lt;span style="font-family: Courier New;"&gt;dcminstepgap &lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: Verdana;"&gt;(a private config parameter currently set to &lt;/span&gt;50), are filled in (i.e. the low gradient samples in the gap are added to the selection of high gradient samples).&lt;/li&gt;&lt;li&gt;After filling in the gaps, any blocks of contiguous selected samples that are shorter than &lt;b&gt;&lt;span style="font-family: courier new;"&gt;dcminstepwidth&lt;/span&gt;&lt;/b&gt; (=0.8*DCMEDIANWIDTH) or longer than &lt;b&gt;&lt;span style="font-family: courier new;"&gt;dcmaxstepwidth (&lt;span style="background-color: #fff2cc;"&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;1.8*DCMEDIANWIDTH) are rejected. The lower width limit is imposed because an instantaneous step will be blurred by the median filtering described above and will have some larger width.&lt;/li&gt;&lt;li&gt;A further restriction is that for a block to be accepted, it must contain predominantly either positive gradient values or negative gradient values. Blocks that contain roughly similar numbers of both are rejected. A block is rejected if the difference between the number of positive and negative values within the block is less than &lt;b&gt;&lt;span style="font-family: courier new;"&gt;dcminsignratio&lt;/span&gt;&lt;/b&gt; (=0.8) times the total number of values in the block.&lt;/li&gt;&lt;li&gt;Yet a further restriction is that for a block to be accepted, the median value at the start and end of the block - after filling - must still differ by more than the above threshold value. &lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;This process leaves us with a collection of contiguous blocks of selected samples. Each block is a candidate step with a starting time and an ending time (i.e. each block potentially contains the rise or fall of a step). &lt;br /&gt;&lt;br /&gt;&lt;h2&gt;2) Testing of Candidate Steps:&lt;/h2&gt;Each block of contiguous selected samples found above is now tested to see if it is a real step. This is done as follows: &lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;A least squares linear fit is performed to the sample values just before the step. This fit is performed on a box containing the number of samples specified by the DCFITBOX config parameter (default 400), ending at the lower edge of the step. This fit does two sigma-clipping iterations to minimise the effects of spikes etc on the line. The number of sigma at which to clip is specified by &lt;b&gt;&lt;span style="font-family: courier new;"&gt;dcthresh2&lt;/span&gt;&lt;/b&gt; (private parameter, currently set to 7). This clipping is kept light to avoid loosing the effect of other more gradual undulations in the line. The RMS deviation of the data (minus spikes) about this line is recorded. &lt;br /&gt;&lt;/li&gt;&lt;li&gt;A line is fitted to the data just after the step in the same way. The following figure illustrates these two fits - the solid red lines are the fits themselves, and the dotted red lines mark the start and end of the step, as found by the median filtering process described above.&lt;br /&gt;&lt;br /&gt;&lt;div id="culu" style="text-align: left;"&gt;&lt;img src="http://docs.google.com/File?id=dhhcmd34_26z5zkp5hn_b" style="width: 380px;" /&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;These two lines are used to derive two estimates of the data value at the centre of the step (i.e. mid way between the dashed lines in the above figure). If the difference between these two estimates is larger than a threshold value, the step is accepted as genuine. The threshold value is DCTHRESH times the larger of the two RMS residuals found whilst fitting the two red lines.&lt;/li&gt;&lt;li&gt;If the step is accepted, the difference found in step 3) is subtracted from all subsequent samples following the end of step (i.e. all samples to the right of the right hand red dotted line in the above figure). Earlier sample values are left unchanged. The samples that fall between the two dotted red lines are flagged with the SMF__Q_JUMP quality.&lt;/li&gt;&lt;li&gt;Once all candidate steps have been tested, a final correction is made to all samples in order to ensure that the mean value in the entire data stream is unchanged. &lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;There are a lot of parameters in this process, only some of which are currently public (the ones named in upper case above). Finding appropriate values for these could take some time. Also, the algorithm seems to be fairly fragile, and can miss some visually obvious steps, whilst accepting as steps things which do not really look like steps visually (e.g. steep slopes). Further tweaking will probably be necessary. &lt;br /&gt;&lt;br /&gt;A problem occurs where the DC offset gradually rises (or falls) and then suddenly flips back to its original value. The above algorithm often fails to spot the gradual rise, but successfully spots the rapid fall. Correcting for the fall but not the rise can lead to a systematic offset for the remaining data. Hopefully, the blocking recently introduced in the common mode estimation will allow such offsets to be detected and corrected. We shall see.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-126677120816727435?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/126677120816727435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=126677120816727435&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/126677120816727435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/126677120816727435'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/04/function-adthis.html' title='Detection and Correction of DC steps'/><author><name>David Berry</name><uri>http://www.blogger.com/profile/07673729689024513453</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-3047009805367778621</id><published>2010-03-25T12:34:00.000-10:00</published><updated>2010-06-04T13:29:29.980-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><title type='text'>SMURF and quality flagging</title><content type='html'>As promised in one of the recent operations telecons, a blog post about quality flagging, and how all the new quality flagging statistics can help you understand what's going on.&lt;br /&gt;&lt;br /&gt;First some background. The raw data  is a cube, containing 2 spatial dimensions, and 1 time dimension. There is a single quality array, with these same dimensions, that is used by the map-maker to keep track of various problem areas that are identified both &lt;span style="font-style: italic;"&gt;before&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;during&lt;/span&gt; the iterations. Each element of this array is an unsigned byte, and each bit is a flag. You can list the meaning of each bit using Kappa showqual on an exported "_res" model component (with "qua" also specified in  exportndf in the dimmconfig file):&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;BADDA           (bit 1) - "Set iff a sample is flagged by the DA"&lt;br /&gt;BADBOL          (bit 2) - "Set iff all data from bolo to be ignored"&lt;br /&gt;SPIKE           (bit 3) - "Set iff a spike is detected"&lt;br /&gt;DCJUMP          (bit 4) - "Set iff a DC jump is present"&lt;br /&gt;PAD             (bit 5) - "Set iff data are padding"&lt;br /&gt;APOD            (bit 6) - "Set iff data are apodized/boundary"&lt;br /&gt;STAT            (bit 7) - "Set iff telescope was stationary"&lt;br /&gt;COM             (bit 8) - "Set iff data common-mode rejected"&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Note that "BADDA" used to be called "BADSAM", and "COM" is also relatively new (common-mode rejection was using BADDA previously, which got confusing).&lt;br /&gt;&lt;br /&gt;When you run the iterative map-maker you will now get some information about the quality. When the first iteration starts you will see something like this:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;--- Size of the entire data array ------------------------------------------&lt;br /&gt;bolos  : 1280&lt;br /&gt;tslices: bnd:2000(0.2 min), map:150000(12.5 min), tot:152000(12.7 min)&lt;br /&gt;Total samples: 194560000&lt;br /&gt;--- Quality flagging statistics --------------------------------------------&lt;br /&gt; BADDA:   68400000 (35.16%),         450 bolos&lt;br /&gt;BADBOL:   69312000 (35.62%),         456 bolos&lt;br /&gt; SPIKE:          0 ( 0.00%),&lt;br /&gt;DCJUMP:          0 ( 0.00%),&lt;br /&gt;   PAD:    2560000 ( 1.32%),        2000 tslices&lt;br /&gt;  APOD:          0 ( 0.00%),           0 tslices&lt;br /&gt;  STAT:    2560000 ( 1.32%),        2000 tslices&lt;br /&gt;   COM:          0 ( 0.00%),&lt;br /&gt;Total samples available for map:  123600000, 64.38% of max&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The first part of this output is just telling you about the dimensions of the entire chunk that it is currently processing. With a single sub-array, the number of bolos is 1280 (ignoring for a moment how many are actually working), and "tslices" is the number of time slices (200 Hz samples). This second number is broken down: "bnd" is the number of samples in the boundary region -- these are the parts of the data that are either flagged as padding or apodization.  "map" is all of the other samples -- this is the theoretical maximum amount of data that could go into the final map if all the bolometers were working, and there were no spikes, steps or other glitches. "tot" is simply the sum of the two. The "Total samples" line is then product of the number of bolometers with the total number of time slices in the array.&lt;br /&gt;&lt;br /&gt;The second part of the report gives a breakdown of the quality flagging bits in the data array, &lt;span style="font-style: italic;"&gt;after &lt;/span&gt;loading in the data and applying the flatfield, but &lt;span style="font-style: italic;"&gt;before&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;/span&gt;any of the pre-conditioning steps, or the first iteration of the model components. In the quality report the first column of numbers gives the total number of samples with those quality flags, followed by percentages of the total data array size in brackets. Since both BADDA and BADBOL apply to entire detectors, the third columns gives the total number of samples that have been flagged, divided by the number of time slices -- giving the numbers of bolometers. "PAD" and "STAT" flags are already set since padding and apodization of the data happens as they are loaded. Since &lt;span style="font-style: italic;"&gt;all&lt;/span&gt; bolometers are flagged at a given time slice, the third column of numbers gives the number of samples divided by the number of bolometers, giving a number of time slices.&lt;br /&gt;&lt;br /&gt;After each iteration, a similar report will be provided:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;--- Quality flagging statistics --------------------------------------------&lt;br /&gt; BADDA:   68400000 (35.16%),         450 bolos  ,change          0 (+0.00%)&lt;br /&gt;BADBOL:   80104000 (41.17%),         527 bolos  ,change   10792000 (+15.57%)&lt;br /&gt; SPIKE:          0 ( 0.00%),                    ,change          0 (+0.00%)&lt;br /&gt;DCJUMP:    2113837 ( 1.09%),                    ,change    2113837 (+inf%)&lt;br /&gt;   PAD:    2560000 ( 1.32%),        2000 tslices,change          0 (+0.00%)&lt;br /&gt;  APOD:    5120000 ( 2.63%),        4000 tslices,change    5120000 (+inf%)&lt;br /&gt;  STAT:    2560000 ( 1.32%),        2000 tslices,change          0 (+0.00%)&lt;br /&gt;   COM:   10640000 ( 5.47%),                    ,change   10640000 (+inf%)&lt;br /&gt;Total samples available for map:  107990669, 57.79% of max&lt;br /&gt;     Change from last iteration:  -15609331, -12.63% of previous&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;At the end of the first iteration, this will report quality flags that were set both during pre-processing, and the first calculation of the model components. While some of the quality bits are static throughout the iterations (BADDA,PAD,APOD), the others can change each time. The fourth columns of numbers give the changes both as an absolute number of samples since the last iteration, and as a percentage of the number from the previous iteration (+infinity if the previous iteration didn't have any flagged). Here we see that the number of bad bolometers (BADBOL) has increased from 456 to 527 (15%) from the initial list of good bolometers. These extra detectors are almost exclusively rejected during calculation of the common-mode signal (they have a shape that is a significant outlier from all the other detectors). For this reason the increase in COM (in samples) is nearly identical to BADBOL. No spikes were flagged during this iteration (SPIKE), but about 1% of the data was flagged as having DC steps (in addition to the steps themselves, a small region around each step is also flagged). Finally, "STAT" identifies parts of the data where the telescope was not moving (threshold speed given by "flagstat" in the dimmconfig file). For these data it only flags the padding at the start and end of the data! (this is clearly not useful behaviour, so I will fix it to ignore these parts of the data in the future).&lt;br /&gt;&lt;br /&gt;At the end of the individual quality stats is a summary for the entire array. "Total samples available for map" is the number of samples with &lt;span style="font-style: italic;"&gt;no&lt;/span&gt; quality bits set, and it is also expressed as a percentage of the theoretical maximum discussed above for the "&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Size of the entire data array"&lt;/span&gt;&lt;/span&gt; at the start. The final line shows how this number has changed since the previous iteration.&lt;br /&gt;&lt;br /&gt;In summary: watch the number of samples (and percentage) of the data going into the final map. If we typically have about 50% working bolometers, we should expect a number about that large going into the map at the end! If that number falls precipitously (or goes to 0), this report will help you to identify the problem. The usual culprits are DC step flagging, and common-mode rejection.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-3047009805367778621?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/3047009805367778621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=3047009805367778621&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/3047009805367778621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/3047009805367778621'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/03/smurf-and-quality-flagging.html' title='SMURF and quality flagging'/><author><name>Ed Chapin</name><uri>http://www.blogger.com/profile/05393061220413106533</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-1112712040768218888</id><published>2010-03-18T11:24:00.000-10:00</published><updated>2010-06-04T13:29:29.981-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><title type='text'>SMURF cookbook</title><content type='html'>For the benefit of those not at the telecon this morning (or those that zoned out...)&lt;br /&gt;&lt;br /&gt;The question was "is there a DR cookbook". The answer is yes, but it is about two months out of date. It should serve as an introduction, with the material in this blog providing an update. Of course, we will bring the cookbook up to date as things stabilise.&lt;br /&gt;&lt;br /&gt;I have added a link to the SMURF cookbook in the "Useful links" sidebar section to the right. If you have a current Starlink installation you can also type "showme sc19" for the cookbook and "showme sun258" for the SMURF manual.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-1112712040768218888?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/1112712040768218888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=1112712040768218888&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1112712040768218888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1112712040768218888'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/03/smurf-cookbook.html' title='SMURF cookbook'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-1999779767354311670</id><published>2010-03-17T12:39:00.000-10:00</published><updated>2010-06-04T13:31:54.601-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><category scheme='http://www.blogger.com/atom/ns#' term='calibration'/><category scheme='http://www.blogger.com/atom/ns#' term='DR'/><title type='text'>Flatfielding updates</title><content type='html'>Summary: Flatfield ramps work really well and SMURF can now automatically handle them in the map-maker.&lt;br /&gt;&lt;br /&gt;SCUBA-2 bolometers need to be calibrated to understand how they respond to varying signal coming from the sky and astronomical object. The original plan was to calibrate in the dark (shutter closed). The sequence goes something like:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Select a reference heater value, take a dark frame&lt;/li&gt;&lt;li&gt;Choose a new heater setting, take a dark frame&lt;/li&gt;&lt;li&gt;Take a dark frame at the reference heater value&lt;/li&gt;&lt;li&gt;Choose a different heater setting, take a dark frame&lt;/li&gt;&lt;li&gt;Take a dark frame at the reference heater value&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;and continue until you have covered a reasonable range of heater settings. As the heater is changed the bolometers read out a different current. Any drifts in the instrument are compensated by averaging the surrounding reference frames and subtracting. This means that you end up with a curve that goes through zero power at the reference heater value. In order to convert this to a flatfield you either fit a polynomial as a function of measured current (so that you can look up the power) or else use "TABLE" mode and do a linear interpolation between measurements either side of the measured current. The gradient of the curve (how the bolometer responds to changes in power) is the "responsivity" and is measured in amps per watt. The responsivity image can be calculated using the SMURF calcflat command.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;When you open the shutter the idea is that you "heater track" to the sky. This involves you adjusting the power to the heater such that the sky power detected by the bolometer results in the same current being measured by the bolometer as it measured in the dark. We do this by looking at the signal from a set of tracking bolometers and assume that those bolometers are representative of the others on the array. In reality what happens is that about 80% of the bolometers do more or less read the same signal before and after opening the shutter but the other 20% are in a completely different place. This would not be a problem if the responsivity didn't change for those 20% but unfortunately it does. We have verified this by doing finely spaced pong maps on Mars covering a 6x6 arcmin area. This takes about 15 minutes but gives us a beam map of every single bolometer. Analysing the Mars images showed that the bolometers with the lowest responsivity also measure a very low integrated flux for Mars and so the calibration does change when the shutter is opened.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The solution for this was to change flatfielding to work on the sky rather than in the dark. This works in just the same way as previously, using reference sky measurements to compensate for drift, and the top plot in the figure shows a sky flatfield that is working pretty much perfectly. Finely-spaced maps of Mars confirm that all the bolometers are calibrated to within 10% with no drop off for the low responsivity bolometers.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;At this point things were looking good but we still had the issue that the sky flat takes a few minutes and really has to be done every time you do a new setup and probably at least once an hour. They also are very dependent on observing conditions as could be seen on 20100310 and a few days before hand where the sky was terribly unstable despite brilliantly low opacity (0.03 CSO tau). The middle plot below shows a sky flat on 20100310 and it is immediately obvious that the sky is varying very fast and varying the power over a much larger range than the heater is adjusting for. This flatfield failed to calibrate any bolometers at all and we had to resort to dark flatfields to get a baseline calibration (with the associated worries described above).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;We had known this was going to be an issue so in the early part of the year we had been modifying the acquisition system to do fast flatfield ramps. Rather than setting the heater, doing an observation, changing the heater, doing an observation we can now change the heater value at 200 Hz (currently we take 3 measurements at each setting though). On 20100223 we enabled sky flat field ramps at the start and end of every single mapping observation and a few days later we added it to focus, pointings and sky noise observations. The bottom plot shows the flatfield ramp for the observation that immediately followed the discrete sky flatfield shown in the middle plot. There is an issue with the very last ramp but the flatfielding software in SMURF had no problem calculating a flatfield for 850 bolometers (SMURF does compensate for drift in the reference heater values). The flatfield ramps are going to help enormously with calibration.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Actually using these flatfields in the map-maker took some work but yesterday I committed changes to SMURF so that flatfield ramps will be calculated and used when flatfielding data in the map-maker (and other SMURF commands). All you need to do is give all the files from an observation to SMURF and it will sort everything out.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I have updated the /stardev and /star rsync server in Hilo (64-bit and 32-bit). There is also a new nightly build available for OSX Snow Leopard 64bit in the &lt;a href="http://ftp.jach.hawaii.edu/starlink/nightly/"&gt;usual place&lt;/a&gt;.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;One final caveat, we have not yet calibrated the resistance of each bolometer relative to the nominal 2 ohms. We have taken data by looking at a blackbody source which should give us a way of tweaking the resistances. When this happens the flatfielding will change slightly and maps will need to be remade (although how critical that is will depend on how much we tweak the bolometers).&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_YMgilZSPj0A/S6FL-IwahtI/AAAAAAAADgU/RTuxUZL6vAA/s1600-h/Snapz+Pro+XScreenSnapz013.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="640" src="http://2.bp.blogspot.com/_YMgilZSPj0A/S6FL-IwahtI/AAAAAAAADgU/RTuxUZL6vAA/s640/Snapz+Pro+XScreenSnapz013.png" width="523" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-1999779767354311670?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/1999779767354311670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=1999779767354311670&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1999779767354311670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1999779767354311670'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/03/flatfielding-updates.html' title='Flatfielding updates'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_YMgilZSPj0A/S6FL-IwahtI/AAAAAAAADgU/RTuxUZL6vAA/s72-c/Snapz+Pro+XScreenSnapz013.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-6655635069998064060</id><published>2010-03-09T09:31:00.000-10:00</published><updated>2010-06-04T13:30:24.026-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JLS'/><category scheme='http://www.blogger.com/atom/ns#' term='telecon'/><title type='text'>JLS/ACSIS DR telecon – 20100304</title><content type='html'>&lt;span class="Apple-style-span"   style="  ;font-family:'LMSans10 Regular';font-size:medium;"&gt;&lt;div&gt;Attendance: GAF, JH, CW, PR, JDF, TJ, FE, HST, ACC&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;b&gt;Actions from last meeting&lt;/b&gt;&lt;/span&gt;:&lt;ul&gt;&lt;li&gt;JAC to make a more compact and readable QA report format and make this log available to observers/co-Is following nightly reduction via the OMP (as a downloadable file).&lt;ul&gt;&lt;li&gt;update: there had been correspondence between JennyH and BradC and although there had been some work done, this item had not been completed before BradC left – &lt;b&gt;ONGOING&lt;/b&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;JLS teams to provide feedback on what should go in parameter file (once JAC have made initial list). – &lt;b&gt;ONGOING&lt;/b&gt;&lt;/li&gt;&lt;li&gt;BradC to work through SLS pipeline and QA requirements as provided to him (and available on SLS wiki)&lt;ul&gt;&lt;li&gt;update: following BradC's departure, this will have to be picked up by his replacement (hopefully by next month) – &lt;b&gt;ONGOING&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;For JLS teams to provide JAC with images/data/log of spikes when they come across them in their data.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;update: JAC had received some spike examples from SLS. These have been forwarded to DaveB but given his current priorities we may not see any movement on this for a few months yet (summer maybe?) – &lt;b&gt;ONGOING&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;ChristineW to pass on NGS QA and moment map making scripts to JAC. – &lt;b&gt;DONE&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;ACTION&lt;/b&gt;: &lt;u&gt;TimJ&lt;/u&gt; to look into whether BradC did code this into the pipeline?&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;AntonioC to organise the production of pipeline documentation&lt;br /&gt;&lt;ul&gt;&lt;li&gt;update: some minor organisation of documentation but this has fallen down the list of priorities since the start of SCUBA-2 commissioning – &lt;b&gt;ONGOING/STALLED&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;AntonioC to email coords asking them to provide email contacts of people who are reducing ACSIS data and are willing to act as ACSIS DR contacts. – &lt;b&gt;DONE&lt;/b&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;JLS coords to provide email contacts of people who are reducing ACSIS data and are willing to act as survey DR contacts (send to FrossieE). – &lt;b&gt;DONE&lt;/b&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;News from JAC&lt;br /&gt;&lt;/b&gt;&lt;ul&gt;&lt;li&gt;The software group took a big hit to its available effort when BradC left for new employment in February 2010. We are working on buying in some effort from an experienced ex-Starlink programmer to pick up on many of the tasks that Brad left. This person's effort should start becoming available to us from April 2010.&lt;/li&gt;&lt;li&gt;since the commissioning of SCUBA-2 started and the subsequent onset of SCUBA-2 Shared Risks Observing, JAC has been inundated in SCUBA-2 data&lt;/li&gt;&lt;li&gt;we can now re-reduce data at the JSA across different UT nights to create so-called "project products". This is a very important step and these products are essentially the Advanced Data Products (ADPs) that the JSA will serve.&lt;/li&gt;&lt;li&gt;FrossieE continues to submit data reduction jobs to the JSA but is experiencing problems as makecube has been timing out (in project mode) when cubes are very, very large&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;b&gt;Report from GBS&lt;br /&gt;&lt;/b&gt;&lt;ul&gt;&lt;li&gt;a meeting of the GBS was help in Leiden in February 2010; discussions were held on the QA at that meeting&lt;/li&gt;&lt;li&gt;there are still missing QA steps in the pipeline reduction. For instance, bad scans are propagating through to final product, (bad scans = one or combination of high rms, many bad pixels, high variation across spectra)&lt;ul&gt;&lt;li&gt;&lt;b&gt;ACTION JAC&lt;/b&gt;: this is a high priority for the ACSIS pipeline at the JSA and JAC will look into this when effort materialises&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Report from NGS&lt;br /&gt;&lt;/b&gt;&lt;ul&gt;&lt;li&gt;no issues reported &lt;/li&gt;&lt;li&gt;observing on the ACSIS portion of the survey has completed.&lt;/li&gt;&lt;li&gt;the team is reducing the data themselves via student effort; they will then want to upload the final products to the archive&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Report from SLS&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;the team is focussing on getting all data reduced to then attack QA issue consistently&lt;ul&gt;&lt;li&gt;&lt;b&gt;ACTION&lt;/b&gt;: &lt;u&gt;GaryF&lt;/u&gt; to direct FrossieE to SLS wiki where QA requirements are published&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;PaulR and HollyT have enough data now to compare pipeline reduced data with hand reduced data&lt;ul&gt;&lt;li&gt;&lt;b&gt;ACTION&lt;/b&gt; : &lt;u&gt;PaulR&lt;/u&gt; to forward DR documentation to JAC – &lt;b&gt;DONE&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div&gt;&lt;b&gt;Next meeting May 6th.&lt;/b&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-6655635069998064060?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/6655635069998064060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=6655635069998064060&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/6655635069998064060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/6655635069998064060'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/03/jlsacsis-dr-telecon-20100304.html' title='JLS/ACSIS DR telecon – 20100304'/><author><name>Antonio</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-1988092001964936401</id><published>2010-03-01T18:14:00.000-10:00</published><updated>2010-03-01T18:14:32.019-10:00</updated><title type='text'>Data processing at CADC</title><content type='html'>Right now we are having trouble reducing SCUBA-2 data for the JCMT Science Archive (JSA).Briefly the problems seem to be:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The JSA wrapper is reporting success even in some cases of failure&lt;/li&gt;&lt;li&gt;Some maps take so long to make that MAKEMAP is timing out during long maps (this will also affect processing on private computers)&lt;/li&gt;&lt;li&gt;There is a bizarre NFS problem on the processing nodes that causes required perl modules to "disappear" when the pipeline is looking for them.&lt;/li&gt;&lt;/ul&gt;We're working through fixing these, so until then availability for products is a bit patchy. The good news is that processing throughput is great, so catching up with the backlog does not seem to&amp;nbsp; be a problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-1988092001964936401?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/1988092001964936401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=1988092001964936401&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1988092001964936401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1988092001964936401'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/03/data-processing-at-cadc.html' title='Data processing at CADC'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-4974954457917585593</id><published>2010-02-26T09:59:00.000-10:00</published><updated>2010-02-26T09:59:46.790-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='starlink'/><title type='text'>Monitoring changes to the DR software</title><content type='html'>Yesterday I gave instructions on how to retrieve the newest version of the Starlink software but it may not always be clear to people what changes are being made to the software to decide whether you want to get an update. The source code repositories for the Starlink software and ORAC-DR have RSS feeds that you can monitor in your standard news feed reader (e.g.&amp;nbsp;&lt;a href="http://reader.google.com/"&gt;Google Reader&lt;/a&gt;). Click on the RSS icon in the URL bar for the&amp;nbsp;&lt;a href="http://starlink.jach.hawaii.edu/git/?p=starlink.git"&gt;Starlink repository&lt;/a&gt;&amp;nbsp;and the&amp;nbsp;&lt;a href="http://starlink.jach.hawaii.edu/git/?p=oracdr.git"&gt;ORAC-DR repository&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-4974954457917585593?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/4974954457917585593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=4974954457917585593&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/4974954457917585593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/4974954457917585593'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/02/monitoring-changes-to-dr-software.html' title='Monitoring changes to the DR software'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-7761341762336568804</id><published>2010-02-25T13:38:00.000-10:00</published><updated>2010-06-04T13:31:34.216-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><category scheme='http://www.blogger.com/atom/ns#' term='smurf'/><title type='text'>SCUBA-2 DR status report</title><content type='html'>We have been making some good progress with the data reduction software. Since hawaiki there have been updates to the flatfielding and an improvement in the code that detects working bolometers by comparing the common-mode signal. The down side of all this work is that for people getting their data from shared-risks observing they need to be using the cutting-edge version of SMURF and not the hawaiki version.&amp;nbsp;The switch of flatfielding technique actually means that hawaiki will not generate a reasonable map at all using hawaiki SMURF.&lt;br /&gt;&lt;br /&gt;To get the latest version of SMURF there are a number of options:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Use &lt;a href="http://starlink.jach.hawaii.edu/starlink/rsyncStarlink"&gt;rsync&lt;/a&gt;&amp;nbsp;to get a version for Centos5.4 (aka Scientific Linux 5.4 or RedHat Enterprise Linux 5.4) for either 32- or 64-bit linux. We attempt to keep these builds up to date. To see just how new you can run "$STARLINK_DIR/Perl/bin/starversion" and look at the date.&lt;/li&gt;&lt;li&gt;I can periodically make available 64-bit OSX Snow Leopard starlink releases. Check&amp;nbsp;&lt;a href="http://ftp.jach.hawaii.edu/starlink/nightly/"&gt;this directory&lt;/a&gt;&amp;nbsp;periodically.&lt;/li&gt;&lt;li&gt;Download the source code and build it yourself (instructions on the&amp;nbsp;&lt;a href="http://www.starlink.ac.uk/"&gt;Starlink&lt;/a&gt;&amp;nbsp;home page)&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;As of 20100223 we have modified data acquisition to include a fast flatfield "ramp" at the start and end of every observation. These provide a direct calibration and should be more accurate than doing standalone flatfield observations as we have done previously (and continue to do). SMURF can not support these ramps at the moment but I am working on the issue. When the new code is working we will re-process the data from 20100223 at CADC.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-7761341762336568804?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/7761341762336568804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=7761341762336568804&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7761341762336568804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7761341762336568804'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/02/scuba-2-dr-status-report.html' title='SCUBA-2 DR status report'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-931273167614668484</id><published>2010-01-20T20:31:00.000-10:00</published><updated>2010-06-04T13:29:42.342-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='starlink'/><title type='text'>Starlink release: Hawaiki (Deneb)</title><content type='html'>Hawaiki has shipped! &lt;br /&gt;&lt;br /&gt;&lt;a href="http://starlink.jach.hawaii.edu/starlink/Hawaiki"&gt;http://starlink.jach.hawaii.edu/starlink/Hawaiki&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Checkout the first (it sure won't be the last) version of the SCUBA-2 data reduction cookbook:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://starlink.jach.hawaii.edu/docs/sc19.htx/sc19.html"&gt;http://starlink.jach.hawaii.edu/docs/sc19.htx/sc19.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-931273167614668484?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/931273167614668484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=931273167614668484&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/931273167614668484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/931273167614668484'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2010/01/starlink-release-hawaiki-deneb.html' title='Starlink release: Hawaiki (Deneb)'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-9203387694520614753</id><published>2009-11-05T14:58:00.000-10:00</published><updated>2010-06-04T13:29:54.497-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cadc'/><title type='text'>Watching the data reduce</title><content type='html'>Thanks to the folks at CADC, Dustin Jenkins in particular, JAC now has a really nice interface that allows us to monitor the jobs submitted to their Grid Engine, look for faults and browse the thumbnails of the products in order to spot problems - or just sit back and admire the results :-)&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_A9u4xg29YQw/SvN0j4hvb2I/AAAAAAAAABM/9YsfNUsWjw0/s1600-h/processing1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_A9u4xg29YQw/SvN0j4hvb2I/AAAAAAAAABM/9YsfNUsWjw0/s640/processing1.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-9203387694520614753?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/9203387694520614753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=9203387694520614753&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/9203387694520614753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/9203387694520614753'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2009/11/watching-data-reduce.html' title='Watching the data reduce'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_A9u4xg29YQw/SvN0j4hvb2I/AAAAAAAAABM/9YsfNUsWjw0/s72-c/processing1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-6308952446619106989</id><published>2009-10-13T13:17:00.000-10:00</published><updated>2010-06-04T13:30:24.027-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JLS'/><category scheme='http://www.blogger.com/atom/ns#' term='telecon'/><title type='text'>JLS/ACSIS DR telecon</title><content type='html'>&lt;strong&gt;Attendance:&lt;/strong&gt; ACC, BEC, TJ, FE, JVB, RP, CW, JdiF&lt;br /&gt;&lt;strong&gt;Date:&lt;/strong&gt; 15 Oct, 2009&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Minutes:&lt;/strong&gt;&lt;br /&gt;1. Review of actions from previous meeting:&lt;br /&gt;&lt;ol style="list-style-type: lower-roman"&gt;&lt;li&gt;i.        JAC will provide information on how to rsync the starlink releases to get latest patches/fixes. Information will also include for which operating system these patches/fixes are available. – DONE&lt;/li&gt;&lt;li&gt;JAC to make a more compact and readable QA report format and make this log available to observers/co-Is following nightly reduction via the OMP (as a downloadable file). – ONGOING&lt;/li&gt;&lt;li&gt;For SLS to provide JAC (ie Brad) with list of statistics and requirements for their QA, and also what they want for their reduction recipes to do. – ONGOING. Material has been received from SLS (also available on SLS wiki) and Brad is working through it.&lt;/li&gt;&lt;li&gt;For JLS teams to provide JAC with images/data/log of spikes when they come across them in their data. – ONGOING&lt;/li&gt;&lt;li&gt;ACC to organise the production of pipeline documentation. – STARTED. ONGOING.&lt;/li&gt;&lt;li&gt;ACC to poll for a date and time for next telecon and make these meeting notes available – DONE&lt;/li&gt;&lt;/ol&gt;2. News from JAC&lt;br /&gt;&lt;ul style="list-style-type: disc"&gt;&lt;li&gt;Nightly reductions are now being carried out at CADC. &lt;/li&gt;&lt;li&gt;There have been tweaks to raster maps production such that the pipeline trims off the tassled edges of maps. Note that this is only for the maps and not the cubes. &lt;/li&gt;&lt;li&gt;We can now regrid to specific wcs coords (e.g galactic). &lt;/li&gt;&lt;li&gt;The infrastructure for controlling the pipeline via a parameter system and a config file is in place. Now need to decide which parameters are to be accessible before implementing the system. JAC will come up with an initial list and then invite feedback from users.&lt;/li&gt;&lt;li&gt;There will be two relevant newsletter articles in Autumn edition of JCMT Newsletter. One on JSA and another on the ORAC-DR pipeline.&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;ACTION : JLS teams to provide feedback on what should go in parameter file (once JAC have made initial list).&lt;/strong&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;3. Updates from survey teams&lt;br /&gt;&lt;ul style="list-style-type: disc"&gt;&lt;li&gt;GBS : working towards getting a consistent reduction on the data set. Need QA format finalised first. &lt;/li&gt;&lt;li&gt;NGS : data taking almost complete. Data is currently run through manual QA - flagging of bad data and receptors is critical and it’s subtlety requires human interaction. As the results of this is documented and the recorded state of the receptors isn’t going to change, we should be able to transfer that knowledge to an automated system in the future when we have a triggered re-reduction. Reduced products generated by NGS can be uploaded to the JSA. Improvements in moments maps: based on utilising SNR and noise maps. Good for data taken in different weather conditions.&lt;/li&gt;&lt;/ul&gt;&lt;strong&gt;ACTION : CW to pass on NGS QA and moment map making scripts to JAC. &lt;/strong&gt;&lt;br /&gt;&lt;ul style="list-style-type: disc"&gt;&lt;li&gt;iii. SLS : biggest issue is manpower. GAF has sent information to us to kick off the SLS pipeline QA process. Meeting @ JAC with Paul Ruffle tomorrow to discuss SLS DR issues.&lt;/li&gt;&lt;/ul&gt;4. Designated DR contacts&lt;br /&gt;JAC would like to have email contacts with individuals in survey teams who are regularly looking at data and have the time and inclination to correspond and work with JAC between meetings. It is important that these individuals do have the time available (e.g. students, post-docs) to run tests and feedback ideas and improvements. Although these telecons are proving useful, progress is slow if we wait for monthly meetings to get feedback on more minor (yet potentially critical) issues. Everybody agreed that this is a good idea.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ACTION : ACC to email coords asking them to provide email contacts of people who are reducing ACSIS data and are willing to act as ACSIS DR contacts.&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;strong&gt;ACTION : JLS coords to provide email contacts of people who are reducing ACSIS data and are willing to act as survey DR contacts (send to FE). &lt;/strong&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-6308952446619106989?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/6308952446619106989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=6308952446619106989&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/6308952446619106989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/6308952446619106989'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2009/10/jlsacsis-dr-telecon.html' title='JLS/ACSIS DR telecon'/><author><name>Antonio</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-8940697189248098686</id><published>2009-10-02T12:14:00.000-10:00</published><updated>2009-10-02T12:19:19.566-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cadc'/><category scheme='http://www.blogger.com/atom/ns#' term='orac-dr'/><category scheme='http://www.blogger.com/atom/ns#' term='data processing'/><title type='text'>Automated advanced processing at CADC</title><content type='html'>As &lt;a href="http://pipelinesandarchives.blogspot.com/2009/05/pipeline-running-on-cadc-grid-engine.html"&gt;previously mentioned&lt;/a&gt;, the &lt;a href="http://www.oracdr.org/"&gt;ORAC-DR data reduction pipeline&lt;/a&gt; could be run at &lt;a href="http://www2.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/cadc/"&gt;CADC&lt;/a&gt; to generate basic nightly products. This processing used to be run at JCMT on a nightly basis, with the products transferred to CADC.&lt;br /&gt;&lt;br /&gt;This processing is now being run at CADC on their processing system. Processing requests are made at 0900 HST every day, and nightly products will be available sometime after that (depending on the amount of processing needed -- scans take longer to reduce than jiggles).&lt;br /&gt;&lt;br /&gt;In the near future, effort will be undertaken to process the backlog of ACSIS data.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-8940697189248098686?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/8940697189248098686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=8940697189248098686&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8940697189248098686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8940697189248098686'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2009/10/automated-advanced-processing-at-cadc.html' title='Automated advanced processing at CADC'/><author><name>Brad Cavanagh</name><uri>http://www.blogger.com/profile/09666923913212328371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-2319640242197342929</id><published>2009-09-28T13:10:00.000-10:00</published><updated>2009-09-28T13:10:58.905-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><title type='text'>SCUBA-2: baby steps</title><content type='html'>As most of you will know, SCUBA-2 is now on the telescope being put through its paces. Given the high data rate of the instrument, the number of people working on it (in Canada and the UK as well as here at the JAC) and the upcoming early science call, we are racing to make raw data downloadable from the JSA by the beginning of November. &lt;br /&gt;&lt;br /&gt;This is a challenge, both because the instrument systems themselves are in flux, and because everybody is so busy with commissioning. Still, thanks to the great efforts of Sharon and her team at CADC, we have coaxed some data into the JSA and searched for it using the test interface. It might not seem very exciting, but this has given most of the infrastructure a good workout, so it is a promising sign that we can meet our target.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_A9u4xg29YQw/SsFCExLjgtI/AAAAAAAAAAw/oWyxBEe9CJM/s1600-h/scuba2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_A9u4xg29YQw/SsFCExLjgtI/AAAAAAAAAAw/oWyxBEe9CJM/s320/scuba2.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-2319640242197342929?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/2319640242197342929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=2319640242197342929&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2319640242197342929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2319640242197342929'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2009/09/scuba-2-baby-steps.html' title='SCUBA-2: baby steps'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_A9u4xg29YQw/SsFCExLjgtI/AAAAAAAAAAw/oWyxBEe9CJM/s72-c/scuba2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-6050061074358165466</id><published>2009-09-04T09:35:00.000-10:00</published><updated>2009-09-04T09:38:37.216-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='starlink'/><category scheme='http://www.blogger.com/atom/ns#' term='twitter'/><category scheme='http://www.blogger.com/atom/ns#' term='orac-dr'/><title type='text'>ORAC-DR and Starlink on Twitter!</title><content type='html'>Much to Tim and Frossie's chagrin, I've created two Twitter accounts for ORAC-DR and Starlink. I haven't completely sorted out what will be done with them at this time, but for now I'll probably use them to disseminate short tips and tricks for using ORAC-DR and Starlink software.&lt;br /&gt;&lt;br /&gt;Follow them at &lt;a href="http://twitter.com/oracdr"&gt;http://twitter.com/oracdr&lt;/a&gt; and &lt;a href="http://twitter.com/starlinksoft"&gt;http://twitter.com/starlinksoft&lt;/a&gt;!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-6050061074358165466?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/6050061074358165466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=6050061074358165466&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/6050061074358165466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/6050061074358165466'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2009/09/orac-dr-and-starlink-on-twitter.html' title='ORAC-DR and Starlink on Twitter!'/><author><name>Brad Cavanagh</name><uri>http://www.blogger.com/profile/09666923913212328371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-49114459686702836</id><published>2009-09-03T08:32:00.000-10:00</published><updated>2010-06-04T13:33:24.898-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cadc'/><title type='text'>Thumbnails in search results</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_A9u4xg29YQw/SqAQPg4f0pI/AAAAAAAAAAU/xNimCzkr350/s1600-h/thumbnails_crop.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 208px;" src="http://4.bp.blogspot.com/_A9u4xg29YQw/SqAQPg4f0pI/AAAAAAAAAAU/xNimCzkr350/s320/thumbnails_crop.png" alt="" id="BLOGGER_PHOTO_ID_5377315813791355538" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As mentioned&lt;a href="http://pipelinesandarchives.blogspot.com/2009/06/pipeline-now-generates-thumbnails.html"&gt; previously,&lt;/a&gt; the pipeline generates little thumbnails based on the representative image and the representative spectrum products. Now, CADC can show these thumbnails in search results. This hopefully will allow people to quickly identify search results of interest prior to downloading. Clicking on the thumbnails will launch the full preview of the representative image or spectrum as before.&lt;br /&gt;&lt;br /&gt;If you have recent data, check it out. We hope to re-reduce the backlog at some point in order to generate products and thumbnails for older data too.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-49114459686702836?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/49114459686702836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=49114459686702836&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/49114459686702836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/49114459686702836'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2009/09/thumbnails-in-search-results.html' title='Thumbnails in search results'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_A9u4xg29YQw/SqAQPg4f0pI/AAAAAAAAAAU/xNimCzkr350/s72-c/thumbnails_crop.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-7736410314899504903</id><published>2009-09-02T08:02:00.000-10:00</published><updated>2009-09-03T13:37:31.273-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JLS'/><category scheme='http://www.blogger.com/atom/ns#' term='starlink'/><category scheme='http://www.blogger.com/atom/ns#' term='telecon'/><category scheme='http://www.blogger.com/atom/ns#' term='minutes'/><category scheme='http://www.blogger.com/atom/ns#' term='DR'/><title type='text'>JLS DR telecon - 1st meeting</title><content type='html'>Attendance: A. Chrysostomou, R. Tilanus, T. Jenness, R. Plume, M. van der Wiel, J. Di Francesco, G. Fuller, B. Cavanagh, H. Thomas, D. Johnstone, H. Roberts, D. Nutter, J. Hatchell, F. Economou&lt;br /&gt;&lt;br /&gt;- initial discussion on whether we will have a SCUBA-2 pipeline ready. There will be something in place for shared risks but basic. More development will have to wait until we have all arrays in place as it is not worth sinking any effort into this at this time.&lt;br /&gt;&lt;br /&gt;- some people are having issues getting the pipeline installed and the fact that there is a lack of documentation. If people/institutes are having issues installing (any) Starlink software, then please inform the JAC (&lt;a href="mailto:stardev@jach.hawaii.edu"&gt;stardev@jach.hawaii.edu&lt;/a&gt;) providing the relevant details.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ACTION 1: JAC will provide information on how to rsync the starlink releases to get latest patches/fixes. Information will also include for which operating system these patches/fixes are available.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;DONE(!): Instructions are available on the starlink web site (&lt;a href="http://starlink.jach.hawaii.edu/"&gt;http://starlink.jach.hawaii.edu/&lt;/a&gt;).&lt;br /&gt;                   To download the most recent release go to: &lt;a href="http://starlink.jach.hawaii.edu/starlink/Releases"&gt;http://starlink.jach.hawaii.edu/starlink/Releases&lt;/a&gt;&lt;br /&gt;                   To keep up to date with the latest fixes and patches go to:&lt;br /&gt;                            &lt;a href="http://starlink.jach.hawaii.edu/starlink/rsyncStarlink"&gt;http://starlink.jach.hawaii.edu/starlink/rsyncStarlink&lt;/a&gt;&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt; - GAF requested for more statistics to be made available from the QA. GAF will follow up with specific request to Brad (see Action 3 below)&lt;br /&gt; &lt;br /&gt; - it was clarified that the summit pipeline (during normal night-time observing) only runs basic QA on calibrations. After the end of observing, all data taken that night is re-reduced by a “nightly pipeline” which executes the full QA and advanced processing. The reduced data products which result from this are shipped to CADC and can be downloaded with (or without) the raw data in the normal way.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ACTION 2a: JAC to make QA log available to observers/co-Is following nightly reduction via the OMP (as a downloadable file). &lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;ACTION 2b: JAC to make a more compact and readable QA report format.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ACTION 3: For SLS to provide JAC (ie Brad) with list of statistics and requirements for their QA, and also what they want for their reduction recipes to do. &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;- JH raised some existing issues from the GBS: flatfielding (striping) of early HARP data; some bad baselines are not being picked up by QA; although not as prevalent as in older data, spikes are not trapped by the QA; an investigation is needed on how the gridding should best be done&lt;br /&gt;&lt;br /&gt;+++ the flatfielding problem is on Brad’s worklist&lt;br /&gt;&lt;br /&gt;+++ we need more feedback from the teams on which bad baselines are not been filtered out&lt;br /&gt;&lt;br /&gt;+++ de-spiking data is not a problem that JAC has been able to tackle as yet. Part of the issue is that these do not seem to be as prevalent in data any more and observers (PI as well as JLS) are not reporting the issue any longer. GAF reported that spikes are still present but at a small level, which is an issue for SLS who are looking for weak, narrow lines.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ACTION 4: For JLS teams to provide JAC with images/data/log of spikes when they come across them in their data.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;- RPT raised a few issues from the NGLS:&lt;br /&gt;&lt;br /&gt;+++ need ability to baseline fit both wide and narrow lines in same data set&lt;br /&gt;&lt;br /&gt;+++ need ability to restrict e.g. moments analysis to known velocity range.&lt;br /&gt;&lt;br /&gt;+++ QA generally fails for (at least) early NGLS data. Will need to investigate this more but need an easy means to switch off in recipes. This is easy in the main recipe, but less so in the advanced interative part.&lt;br /&gt;&lt;br /&gt;- there is a blog available for data reduction and pipeline activities (you’re problably looking at it right now!): &lt;a href="http://pipelinesandarchives.blogspot.com/"&gt;http://pipelinesandarchives.blogspot.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;- the issue of making the pipeline more controllable through a config file to set parameters was discussed. TJ announced that he is developing infrastructure so that the pipeline can be parameterised&lt;br /&gt;&lt;br /&gt;- ACC received several emails prior to the meeting. A common theme was the lack of documentation explaining what the pipeline does to data, and how to use the pipeline. JH repeated this concern at the meeting.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ACTION 5: ACC took an action following the close of the meeting to organise the production of pipeline documentation. These will probably take the form of a detailed account of what the pipeline does, and a separate cookbook which explains how to run the pipeline with the different options available.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ACTION 6:&lt;/strong&gt; &lt;strong&gt;ACC to poll for a date and time for next telecon and make these meeting notes available. &lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-7736410314899504903?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/7736410314899504903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=7736410314899504903&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7736410314899504903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7736410314899504903'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2009/09/jls-dr-telecon.html' title='JLS DR telecon - 1st meeting'/><author><name>Antonio</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-2446247816513671477</id><published>2009-07-27T14:30:00.000-10:00</published><updated>2009-08-28T11:34:50.454-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='astronomy software'/><category scheme='http://www.blogger.com/atom/ns#' term='starlink'/><category scheme='http://www.blogger.com/atom/ns#' term='nanahope'/><title type='text'>Starlink Software Collection - Nanahope (Pollux) version released</title><content type='html'>The &lt;a href="http://starlink.jach.hawaii.edu/starlink/Nanahope"&gt;Nanahope version&lt;/a&gt; of the &lt;a href="http://starlink.jach.hawaii.edu/starlink"&gt;Starlink Software Collection&lt;/a&gt; was just released and can be downloaded from &lt;a href="http://starlink.jach.hawaii.edu/starlink/NanahopeDownload"&gt;here&lt;/a&gt;. Highlights include:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;GAIA can now visualise 2-D and 3-D clumps created by the CUPID package.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt; GAIA now has full support for the Virtual Observatory and has been modified to support the SAMP protocol to enable it to communicate with other VO tools.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt; Automated provenance propagation can now track HISTORY information in addition to provenance. The PROVSHOW command can now list the history of all of the parents in the processing history. HISLIST (and NDF history propagation) has not been changed and still only examines the history of a single path through the processing.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt; The software can now be built with gfortran 4.4. &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-2446247816513671477?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/2446247816513671477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=2446247816513671477&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2446247816513671477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2446247816513671477'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2009/07/starlink-software-collection-nanahope.html' title='Starlink Software Collection - Nanahope (Pollux) version released'/><author><name>Brad Cavanagh</name><uri>http://www.blogger.com/profile/09666923913212328371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-2207928561384907300</id><published>2009-07-13T11:12:00.000-10:00</published><updated>2010-06-04T13:33:42.181-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cadc'/><title type='text'>Database Replication outage</title><content type='html'>Over the weekend we lost database replication to CADC. Until we can sync up the tables we are unable to transfer any raw data to CADC (since CADC only accept files that their systems know about) so data will not be retrievable from the weekend. I'll post an update when transfers are enabled again.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;UPDATE: Replication server crashed on Friday night. It's now back up and the tables have been synced with CADC. Transfers have been restarted.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-2207928561384907300?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/2207928561384907300/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=2207928561384907300&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2207928561384907300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2207928561384907300'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2009/07/database-replication-outage.html' title='Database Replication outage'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-7189614035010431706</id><published>2009-07-09T22:50:00.000-10:00</published><updated>2010-06-04T13:33:51.987-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='starlink'/><title type='text'>Hierarchical history for NDFs</title><content type='html'>The recording of processing history has been part of the NDF library for many years. When an application uses one or more input NDFs to create an output NDF, the NDF library creates a record of the application and its parameter values, and stores this record in the output NDF. It also copies all the history information from the "primary" (usually the first) input NDF into the output NDF. &lt;br /&gt;&lt;br /&gt;Whilst it was recognised at the time that it would be nice to copy history from &lt;span style="font-style:italic;"&gt;all&lt;/span&gt; input NDFs, the exponential growth of history information this could cause was seen to be prohibitive. But 16 years is a long time and we typically now have far greater computing resources. So we've taken the plunge and changed things so that history from all input NDFs is copied into the output NDF. However, to preserve backward compatibility, the new facilities are provided by the provenance routines in the NDG library - the NDF library itself remains unchanged. &lt;br /&gt;&lt;br /&gt;This means that applications such as KAPPA:HISLIST, etc, that use the NDF library directly to manipulate history information are unchanged. Instead, the extended history information is stored in the PROVENANCE extension of each NDF, and can be examined using the KAPPA PROVSHOW command. Since there can be quite a lot of history information, it is not shown by default - set the new HISTORY parameter to "YES" when running PROVSHOW to change this default behaviour. Needless to say, NDFs created before these changes were made will not contain any extended history.&lt;br /&gt;&lt;br /&gt;A common use for this extended history will be finding the value used for a particular parameter when a selected ancestor was created. We're toying with the idea of a GUI that would make this sort of thing easier by allowing an NDF's "family tree" to be navigated and searched, but for the moment the best thing is probably to use grep on the output of PROVSHOW.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-7189614035010431706?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/7189614035010431706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=7189614035010431706&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7189614035010431706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7189614035010431706'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2009/07/hierarchical-history-for-ndfs.html' title='Hierarchical history for NDFs'/><author><name>David Berry</name><uri>http://www.blogger.com/profile/07673729689024513453</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-1223412656572819750</id><published>2009-07-08T06:34:00.000-10:00</published><updated>2010-06-04T13:32:18.919-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='starlink'/><category scheme='http://www.blogger.com/atom/ns#' term='GAIA'/><category scheme='http://www.blogger.com/atom/ns#' term='clumps'/><category scheme='http://www.blogger.com/atom/ns#' term='CUPID'/><title type='text'>GAIA goes all clumpy</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_phus-lux1ig/SlTNIGjkrgI/AAAAAAAAAAU/v4PTu_cZv4w/s1600-h/selfclumps.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5356131395932827138" src="http://3.bp.blogspot.com/_phus-lux1ig/SlTNIGjkrgI/AAAAAAAAAAU/v4PTu_cZv4w/s320/selfclumps.jpg" style="cursor: pointer; display: block; height: 308px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;In the next release GAIA will display CUPID catalogues and masks so you can inspect your clumps in all their detail. This all works in 2 and 3D, which you can see in more detail at on the &lt;a href="http://astro.dur.ac.uk/~pdraper/gaia/cupid"&gt;GAIA support site&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-1223412656572819750?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/1223412656572819750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=1223412656572819750&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1223412656572819750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1223412656572819750'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2009/07/gaia-goes-all-clumpy.html' title='GAIA goes all clumpy'/><author><name>Peter Draper</name><uri>http://www.blogger.com/profile/08652228441507221560</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_phus-lux1ig/SlTNIGjkrgI/AAAAAAAAAAU/v4PTu_cZv4w/s72-c/selfclumps.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-2086584874794115925</id><published>2009-07-07T22:19:00.000-10:00</published><updated>2010-06-04T13:34:03.685-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cadc'/><title type='text'>CADC network outage</title><content type='html'>From John Ouellette at CADC:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;The CADC will be undergoing extensive maintenance from July 18th 0800 PDT to July 19th 1800 PDT.  All CADC services, including user access and etransfer, will be unavailable during this period.&lt;br /&gt;&lt;br /&gt;During the outage, users will be redirected to a web page stating the reason for the outage and, if possible, we will provide a status update during the work.&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-2086584874794115925?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/2086584874794115925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=2086584874794115925&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2086584874794115925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2086584874794115925'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2009/07/cadc-network-outage.html' title='CADC network outage'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-2995176085265107844</id><published>2009-06-09T22:08:00.000-10:00</published><updated>2010-06-04T13:35:37.835-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CUPID'/><title type='text'>CUPID now creates STC-S polygons</title><content type='html'>I've added an option to CUPID:FINDCLUMPS to allow it to create an STC-S description (either polygonal or elliptical) for each clump it finds, and add them into the output clump catalogue. I've also modified KAPPA:LISTSHOW so that it can display the STC-S shapes over a displayed image. Below is an example. In the first image, the greyscale (and contours) are the data, and the red lines are the polygonal clump outlines. They overlap slightly in some cases because each polygon is only allowed to have up to 15 vertices, and so only approximates the clump pixel mask.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_udoDtdppELc/Si9rjP9BOAI/AAAAAAAABB8/WuBb3BaJ1-A/s1600-h/pol1.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 313px;" src="http://3.bp.blogspot.com/_udoDtdppELc/Si9rjP9BOAI/AAAAAAAABB8/WuBb3BaJ1-A/s320/pol1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5345609536034125826" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The next image is the corresponding pixel mask (each colour represents the pixels assigned to a single clump).&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_udoDtdppELc/Si9sEg3bNaI/AAAAAAAABCE/lBn43iKizaA/s1600-h/pol2.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 311px;" src="http://3.bp.blogspot.com/_udoDtdppELc/Si9sEg3bNaI/AAAAAAAABCE/lBn43iKizaA/s320/pol2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5345610107509749154" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-2995176085265107844?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/2995176085265107844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=2995176085265107844&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2995176085265107844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2995176085265107844'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2009/06/cupid-now-creates-stc-s-polygons.html' title='CUPID now creates STC-S polygons'/><author><name>David Berry</name><uri>http://www.blogger.com/profile/07673729689024513453</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_udoDtdppELc/Si9rjP9BOAI/AAAAAAAABB8/WuBb3BaJ1-A/s72-c/pol1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-3871599207266423084</id><published>2009-06-03T11:24:00.000-10:00</published><updated>2010-06-04T13:34:53.722-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cadc'/><title type='text'>Pipeline now generates thumbnails</title><content type='html'>The data reduction pipeline now automatically generates PNG thumbnails of rimg and rsp files. These thumbnails are generated in three different sizes, 64x64, 256x256, and 1024x1024. Exif information is also written to these thumbnails, embedding the RA, Dec, source name, orientation, and pixel scale. Only the astro: namespace is currently used (see &lt;a href="http://www.nmm.ac.uk/visit/exhibitions/astronomy-photographer-of-the-year/astrotags/"&gt;this ROE page&lt;/a&gt; for more information).&lt;br /&gt;&lt;br /&gt;Here's a (rather boring) example from last night:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.jach.hawaii.edu/~bradc/images/ga20090603_41_1_rimg_256.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 256px; height: 256px;" src="http://www.jach.hawaii.edu/~bradc/images/ga20090603_41_1_rimg_256.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In the near future they will be sent to CADC for automatic ingest.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-3871599207266423084?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/3871599207266423084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=3871599207266423084&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/3871599207266423084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/3871599207266423084'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2009/06/pipeline-now-generates-thumbnails.html' title='Pipeline now generates thumbnails'/><author><name>Brad Cavanagh</name><uri>http://www.blogger.com/profile/09666923913212328371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-8794681749528645403</id><published>2009-05-12T08:27:00.001-10:00</published><updated>2010-06-04T13:34:53.724-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cadc'/><title type='text'>Pipeline running on CADC grid engine</title><content type='html'>Last week I (Tim J) visited CADC to work on integrating ORAC-DR into the CADC grid engine system. This involved making sure that the pipeline wrapper interfaced properly with CADC and that the data retrieval and data capture routines were given the correct inputs.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;On Wednesday 6th May we were successful in running four jobs in parallel on the compute cluster. This is a terrific result and leads the way to being able to do the night processing on CADC in short order and then to follow up with  processing of project coadds. In the next few weeks I will be working on the code that will query the data archive and submit job requests to grid engine.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It also means that in principal survey teams could request that jobs be submitted to grid engine to make use of the processing nodes.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-8794681749528645403?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/8794681749528645403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=8794681749528645403&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8794681749528645403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8794681749528645403'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2009/05/pipeline-running-on-cadc-grid-engine.html' title='Pipeline running on CADC grid engine'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-3229916260024638097</id><published>2009-05-11T10:29:00.000-10:00</published><updated>2010-06-04T13:34:53.725-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cadc'/><title type='text'>CADC network outage</title><content type='html'>CADC and therefore JCMT data retrievals will be off the air on Wednesday afternoon (HST) due to scheduled network maintenance. If you are having trouble getting through, just try again later.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-3229916260024638097?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/3229916260024638097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=3229916260024638097&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/3229916260024638097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/3229916260024638097'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2009/05/cadc-network-outage.html' title='CADC network outage'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-2468543984002006966</id><published>2008-12-19T14:58:00.000-10:00</published><updated>2010-06-04T13:32:48.264-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='drip feed'/><category scheme='http://www.blogger.com/atom/ns#' term='jcmt'/><category scheme='http://www.blogger.com/atom/ns#' term='cadc'/><title type='text'>Near minutely  raw data movement</title><content type='html'>Raw observation data is being put both in &lt;tt&gt;jcmt&lt;/tt&gt; database &amp;amp; CADC staging area not much later when it arrives.&lt;br /&gt;&lt;br /&gt;A new program[0] endlessly  checks (currently) about every minute to see if there are any observations to process.  If there are, the database is fed, followed by symbolic link creations for CADC's consumption.  This should help avoid massive data transfers to CADC twice a day.  Note that previously involved programs will keep running concurrently until everybody involved is satisfied that raw data is being entered and/or moved as desired.&lt;br /&gt;&lt;br /&gt;All this started yesterday slightly wet, cloudy Hawaiian evening.&lt;br /&gt;&lt;br /&gt;[0] &lt;tt&gt;enterdata-cadc-copy.pl&lt;/tt&gt; is a wrapper around &lt;tt&gt;JSA::EnterData&lt;/tt&gt; &amp;amp; &lt;tt&gt;JSA::CADC_Copy&lt;/tt&gt; modules, which were respectively generated from &lt;tt&gt;jcmtenterdata.pl&lt;/tt&gt; &amp;amp; &lt;tt&gt;cadcopy.pl&lt;/tt&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-2468543984002006966?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/2468543984002006966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=2468543984002006966&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2468543984002006966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2468543984002006966'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/12/near-minutely-raw-data-movement.html' title='Near minutely  raw data movement'/><author><name>anubhav</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-3728059920789129267</id><published>2008-12-04T16:30:00.000-10:00</published><updated>2010-06-04T13:35:19.728-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ACSIS'/><title type='text'>QA-enabled pipeline released in Hilo</title><content type='html'>ORAC-DR has been updated in Hilo to include quality-assurance testing. Based on a number of QA tests, observations are given a pass/questionable/fail status. QA is automatically done on all science observations, and survey-specific QA parameters can be given.&lt;br /&gt;&lt;br /&gt;This version will eventually be released to the summit, where it will give telescope operators feedback on which surveys are suitable to do, along with enhancing the JCMT Science Archive pipeline.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-3728059920789129267?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/3728059920789129267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=3728059920789129267&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/3728059920789129267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/3728059920789129267'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/12/qa-enabled-pipeline-released-in-hilo.html' title='QA-enabled pipeline released in Hilo'/><author><name>Brad Cavanagh</name><uri>http://www.blogger.com/profile/09666923913212328371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-5022317880111292456</id><published>2008-06-27T13:40:00.000-10:00</published><updated>2008-06-27T13:42:39.360-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCUBA-2'/><category scheme='http://www.blogger.com/atom/ns#' term='DR'/><title type='text'>SCUBA-2 DR pipeline</title><content type='html'>A belated announcement that the SCUBA-2 data reduction pipeline passed its "lab acceptance" earlier this month. Full report at &lt;a href="http://docs.jach.hawaii.edu/JCMT/SC2/SOF/PM210/04/sc2_sof_pm210_04.pdf"&gt;http://docs.jach.hawaii.edu/JCMT/SC2/SOF/PM210/04/sc2_sof_pm210_04.pdf&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-5022317880111292456?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/5022317880111292456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=5022317880111292456&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/5022317880111292456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/5022317880111292456'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/06/scuba-2-dr-pipeline.html' title='SCUBA-2 DR pipeline'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-892091365971460874</id><published>2008-04-01T15:52:00.000-10:00</published><updated>2010-06-04T13:37:21.586-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='orac-dr'/><title type='text'>Initial results of "better" ORAC-DR reduction</title><content type='html'>&lt;a href="http://pipelinesandarchives.blogspot.com/2008/02/orac-dr-cadcbatch-mode.html"&gt;As previously mentioned&lt;/a&gt;, ORAC-DR is improving how ACSIS data are reduced. To show the progress between "summit" and "better":&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;integrated intensity map, group coadd: &lt;a href="http://www.jach.hawaii.edu/~bradc/acsis-oracdr/snapshot45.png"&gt;summit&lt;/a&gt; &lt;a href="http://www.jach.hawaii.edu/~bradc/acsis-oracdr/snapshot44.png"&gt;better&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;integrated intensity map, single observation: &lt;a href="http://www.jach.hawaii.edu/~bradc/acsis-oracdr/snapshot47.png"&gt;summit&lt;/a&gt; &lt;a href="http://www.jach.hawaii.edu/~bradc/acsis-oracdr/snapshot46.png"&gt;better&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;intensity-weighted velocity map, group coadd: &lt;a href="http://www.jach.hawaii.edu/~bradc/acsis-oracdr/snapshot49.png"&gt;summit&lt;/a&gt; &lt;a href="http://www.jach.hawaii.edu/~bradc/acsis-oracdr/snapshot48.png"&gt;better&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;A few notes:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;By "summit" pipeline I mean the pipeline currently running at the summit. This pipeline will be replaced by an "improved" pipeline pending JCMT support scientist approval. The "improved" pipeline will not be run at CADC, they will run the "better" pipeline that created the "better" images linked above.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;The "group" summit integrated intensity map is not generated by the pipeline, it's created by manually running wcsmosaic to mosaic together the individual baselined cubes (the _reduced CADC products), then collapsing over the entire frequency range. This is how the summit pipeline would create those files, though.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Ditto for the group summit velocity map, except the pipeline wouldn't even create those in the first place, as it doesn't know which velocity ranges to collapse over to get a proper velocity map. This example is just done by naively collapsing over the entire velocity range. The "better" pipeline automatically finds these regions and creates velocity maps -- not only for the coadded group cube, but also for individual observation cubes.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;The difference between the "better" pipeline (which is what will be running at CADC) and the "improved" pipeline (which is what will be running at the summit) is very small for this given dataset.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-892091365971460874?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/892091365971460874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=892091365971460874&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/892091365971460874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/892091365971460874'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/04/initial-results-of-better-orac-dr.html' title='Initial results of &quot;better&quot; ORAC-DR reduction'/><author><name>Brad Cavanagh</name><uri>http://www.blogger.com/profile/09666923913212328371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-5798532562051191581</id><published>2008-03-26T23:39:00.000-10:00</published><updated>2010-06-04T13:35:37.837-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CUPID'/><title type='text'>CUPID ClumpFind and backgrounds</title><content type='html'>Jenny Hatchell has been comparing the CUPID implementation of the ClumpFind algorithm with the IDL implementation by Jonathan Williams.  The IDL version differs in one or two significant respects from the original algorithm published in ApJ, and so CUPID provide a switch that selects either the published algorithm or the IDL algorithm. If the IDL algorithm is selected, Jenny finds that the IDL and CUPID implementations allocate exactly the same pixels to each clump. Good news. And more good news is that the CUPID implementation is at least an order of magnitude faster than the IDL implementation.&lt;br /&gt;&lt;br /&gt;However, Jenny noted that the clump sizes reported by CUPID were not the same as those reported by IDL. Both implementations use the RMS displacement of each pixel centre from the clump centroid as the clump size, where each pixel is weighted by the corresponding pixel data value. So in principle they should produce the same values. The difference turns out to be caused by the fact that CUPID removes a background level from each clump before using the pixel values to weight the displacements. IDL , on the other hand, uses the full pixel values without subtracting any background. Thus, increasing the background level under a clump will produce no change in the  clump sizes reported by CUPID. IDL, however, will report larger clump  sizes due to the greater relative emphasis put on the outer edges of the clump.&lt;br /&gt;&lt;br /&gt;So should a background be subtracted or not? Having the reported clump size depend on the background level seems an undesirable feature to me. But if you want to compare CUPID results with other systems (e.g. the IDL ClumpFind in this case) that do not subtract a background, you CUPID also needs to retain the bacground level to get a meaningful comparison. Consequently, I've added a parameter to CUPID:FINDCLUMPS to select whether or not to subtract the background before calculating clump sizes. The default is for the background to be subtracted unless CUPID is emulating the IDL algorithm (as indicated by the ClumpFind.IDLAlg configuration parameter).&lt;br /&gt;&lt;br /&gt;If the background is retained in CUPID, Jenny found that the CUPID and IDL clump sizes match to within half a percent. So things look OK.&lt;br /&gt;&lt;br /&gt;David&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-5798532562051191581?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/5798532562051191581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=5798532562051191581&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/5798532562051191581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/5798532562051191581'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/03/cupid-clumpfind-and-backgrounds.html' title='CUPID ClumpFind and backgrounds'/><author><name>David Berry</name><uri>http://www.blogger.com/profile/07673729689024513453</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-7996579105980296789</id><published>2008-02-29T17:25:00.001-10:00</published><updated>2010-06-04T13:34:53.728-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cadc'/><title type='text'>Preliminary Wrapper script released</title><content type='html'>A first stab at a wrapper script (jsawrapdr) has been released to users in Hilo. It matches the interface specified by CADC.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What it does:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;retrieve data files from the supplied list&lt;/li&gt;&lt;li&gt;convert them to NDF if required&lt;/li&gt;&lt;li&gt;determines the correct ORAC-DR instrument name based on the data&lt;/li&gt;&lt;li&gt;checks that PRODUCT information matches for all files&lt;/li&gt;&lt;li&gt;determines whether to run ORAC-DR or PiCARD&lt;/li&gt;&lt;li&gt;converts products back to FITS&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;What it doesn't do yet:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Provenance is not quite correct. It is possible to refer to a parent that will not be archived.&lt;/li&gt;&lt;li&gt;There is no standardised approach to logging Standard Output and Standard Error&lt;/li&gt;&lt;li&gt;dpCapture does not automatically copy products to the CADC transfer directory.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;It's enough to get us started.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-7996579105980296789?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/7996579105980296789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=7996579105980296789&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7996579105980296789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7996579105980296789'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/02/preliminary-wrapper-script-released.html' title='Preliminary Wrapper script released'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-1060290976730697474</id><published>2008-02-29T13:44:00.000-10:00</published><updated>2010-06-04T13:34:53.732-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cadc'/><title type='text'>CADC data transfers now working again</title><content type='html'>Data transfers to CADC are functioning again.  We've had real problems reconfiguring replication to CADC and to our standby server (which use different techniques) but now everything seems to be working. Now that CADC have headers from recent observations they will again start accepting our raw data. Transfers have been initiated and are currently complete to 20080215 (there are quite a few files to transfer). Data retrieval requests from users via the OMP will shortly be redirected back to CADC.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-1060290976730697474?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/1060290976730697474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=1060290976730697474&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1060290976730697474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1060290976730697474'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/02/cadc-data-transfers-now-working-again.html' title='CADC data transfers now working again'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-7415433636868430640</id><published>2008-02-25T16:11:00.000-10:00</published><updated>2010-06-04T13:34:53.734-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cadc'/><title type='text'>ORAC-DR: CADC+batch mode</title><content type='html'>A brief mind-dump on the processing steps ORAC-DR will probably take at CADC when run in batch mode:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt; _cube files created. These are then forgotten about by ORAC-DR but are stored by CADC.&lt;br /&gt;&lt;li&gt; Run initial steps of Remo's script on time-series data. Removes any gross time-series signal through collapsing and rudimentary linear baselining.&lt;br /&gt; &lt;li&gt; Run MAKECUBE using every member observation of a Group, creating tiles.&lt;br /&gt; &lt;li&gt; Run remainder of Remo's script on each tile, which uses a combination of smoothing and CUPID to create baseline region masks and to remove baselines.&lt;br /&gt; &lt;li&gt; Take the baseline region mask from the previous step along with the original input time-series data, and throw them through UNMAKECUBE. This will create time-series masks.&lt;br /&gt; &lt;li&gt; Apply the time-series masks to the original time-series data.&lt;br /&gt; &lt;li&gt; Run MFITTREND with a high-order polynomial (or spline, or whatever) on the masked time-series data. These cubes shouldn't have any signal and should be pure baseline.&lt;br /&gt; &lt;li&gt; Subtract the baselines determined in the previous step from the original time-series data.&lt;br /&gt; &lt;li&gt; Run MAKECUBE on the baselined time-series data for each observation to create the _reduced / _rimg / _rsp files.&lt;br /&gt; &lt;li&gt; If necessary, WCSMOSAIC the _reduced files for each observation to create an "even better" group, which can then be used to determine a better mask and then possibly iterate through the UNMAKECUBE to _reduced generation steps.&lt;br /&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-7415433636868430640?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/7415433636868430640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=7415433636868430640&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7415433636868430640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7415433636868430640'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/02/orac-dr-cadcbatch-mode.html' title='ORAC-DR: CADC+batch mode'/><author><name>Brad Cavanagh</name><uri>http://www.blogger.com/profile/09666923913212328371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-7120921896543383288</id><published>2008-02-25T14:03:00.000-10:00</published><updated>2010-06-04T13:34:53.736-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cadc'/><title type='text'>The Wrapper</title><content type='html'>&lt;span style="font-style:italic;"&gt;Background: there is a system called, imaginatively, the wrapper. Its purpose is to wrap the data processing specifics so as to present a generic interface to the CADC data processing system that is under development.&lt;/span&gt;  &lt;br /&gt;&lt;br /&gt;The wrapper is on TimJ's to-do list, and so is at the mercy of his higher priority SCUBA-2 work. In an attempt to push something out to CADC before working on the SCUBA-2 translator, he is writing a prototype with the following functionality:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt; has a stub dpRetrieve, emulating the system that will eventually fetch the data needed from the CADC database&lt;br /&gt;&lt;li&gt; examining the data to determine whether it is raw or already a product&lt;br /&gt;&lt;li&gt; converts any FITS files to NDF&lt;br /&gt;&lt;li&gt; runs ORAC-DR or PiCARD as appropriate given the above information&lt;br /&gt;&lt;li&gt; converts any NDF products back to CADC-compliant FITS&lt;br /&gt;&lt;li&gt; calls a stub dpCapture (the real dpCapture imports any products into the CADC system)&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;The main problem that stops this from being more than a prototype is the provenance system. In our NDF based systems provenance is a time series - file A turns into file B which turns into file C.... eventually resulting in file E, the final product. So the provenance looks like this: A, B, C, D, E. In the CADC system, provenance is the nearest parent existing in the archive. So, if only A, B, D and E exist in the database (because C happens to be an intermediate file of no lasting importance) the provenance for E is D, but the provenance for D is B. Therefore, the wrapper has to make sure that at the end of any processing the provenance is correctly fixed to display only parents existing in the CADC archive.&lt;br /&gt;&lt;br /&gt;The intended solution for this is for DavidB to commit some NDG patches to allow TimJ/the wrapper to remove C (in the previous example) from the provenance. Also, the wrapper needs to rename A, B, D and E to the CADC naming convention so they can be matched to entries in the archive.&lt;br /&gt;&lt;br /&gt;So as not to hold other parts of the project up, the intent is for the prototype to be delivered to CADC in the next few days without this provenance-related functionality, and to come back and fix this when the SCUBA-2 translator work allows.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-7120921896543383288?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/7120921896543383288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=7120921896543383288&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7120921896543383288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7120921896543383288'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/02/wrapper.html' title='The Wrapper'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-4680678854375193620</id><published>2008-02-13T10:30:00.001-10:00</published><updated>2010-06-04T13:34:53.737-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cadc'/><title type='text'>OMP to CADC connection is down</title><content type='html'>At the tail end of last week we had a hardware failure at the summit with our primary OMP database server. We switched to the new Sybase 15 64-bit servers but they have not been configured correctly to replicate the JCMT header table to CADC (full database replication is working to the backup 64-bit server in Hilo). Until we get the CADC replication up and running there will be no transfers of raw data to CADC. This is because CADC validates transfers against it's copy of the header table and rejects observations that are unknown to them.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;We hope to have replication running by early next week but in the mean time we have reconfigured OMP data retrievals to serve the raw data files from JAC. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-4680678854375193620?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/4680678854375193620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=4680678854375193620&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/4680678854375193620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/4680678854375193620'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/02/omp-to-cadc-connection-is-down.html' title='OMP to CADC connection is down'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-1988075589650191476</id><published>2008-02-11T02:51:00.000-10:00</published><updated>2008-02-11T02:54:42.638-10:00</updated><title type='text'>specx2ndf now creates variance</title><content type='html'>Forget to mention that I've modified specx2ndf so that it creates a Variance component in the output NDF based on the Tsys value in the specx file. The variance values in the output NDF are constant since each specx file seems to contain only a single Tsys value.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-1988075589650191476?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/1988075589650191476/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=1988075589650191476&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1988075589650191476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1988075589650191476'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/02/specx2ndf-now-creates-variance.html' title='specx2ndf now creates variance'/><author><name>David Berry</name><uri>http://www.blogger.com/profile/07673729689024513453</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-676246146847085590</id><published>2008-02-04T06:39:00.000-10:00</published><updated>2010-06-04T13:35:53.434-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='starlink'/><title type='text'>Processing 3D cubes with FFCLEAN</title><content type='html'>I've just modified kappa:ffclean so that it can:&lt;br /&gt;1) process 3D cubes. It will do this either by processing the cubes as a set of independent 1D spectra, or as a set of independent 2D images (see new parameter AXES)&lt;br /&gt;2) store the calculated noise level in the output variance array (see new parameter GENVAR)&lt;br /&gt;&lt;br /&gt;This was motivated by my experiments with the new smurf:unmakecube command as a means of getting an estimate of the noise level in each residual spectrum.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-676246146847085590?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/676246146847085590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=676246146847085590&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/676246146847085590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/676246146847085590'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/02/ive-just-modified-kappaffclean-so-that.html' title='Processing 3D cubes with FFCLEAN'/><author><name>David Berry</name><uri>http://www.blogger.com/profile/07673729689024513453</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-4014790732176941965</id><published>2008-02-01T06:53:00.001-10:00</published><updated>2010-06-04T13:36:47.785-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='smurf'/><category scheme='http://www.blogger.com/atom/ns#' term='ACSIS'/><title type='text'>Creating artifical time series from a sky cube</title><content type='html'>I've just added a new command to smurf called UNMAKECUBE. It takes a (ra,dec,spec) sky cube and generates artifical time series by resampling the sky cube at the detector positions in a set of existing reference time series NDFs. It's a sort of inverse to MAKECUBE. It should be useful for investigating baselines, and for iterative map making. I'm currently playing around with it, using data from Christine Wilson.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-4014790732176941965?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/4014790732176941965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=4014790732176941965&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/4014790732176941965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/4014790732176941965'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/02/ive-just-added-new-command-to-smurf.html' title='Creating artifical time series from a sky cube'/><author><name>David Berry</name><uri>http://www.blogger.com/profile/07673729689024513453</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-7635294085071709177</id><published>2008-01-31T09:58:00.000-10:00</published><updated>2010-06-04T13:36:37.419-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JLS'/><title type='text'>Time accounting for JLS</title><content type='html'>&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;Another issue for JLS observing is with time accounting. How to account in the OMP the time for data that has been deemed unacceptable. These data do not get charged to the surveys so if the data were initially QUESTIONABLE retroactive action will need to be taken to correctly account for that time (notwithstanding the issue of shared calibrations...see later). So that we can track how much time has been REJECTed by each survey, there shall be a special project code (eg. MJLSG00) for each which we will use to charge REJECT observations to.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter; min-height: 15.0px"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;The idea is that when the obslog flag changes:&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;1. an email is triggered to ACC and PIs notifying the change&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;2. if the change is to REJECT then the release date is automatically changed to TODAY (or equivalent)&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;3. ACC runs up nightrep for the night in question and changes the time accounting accordingly.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;4. changes to flags are propagated to CADC&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter; min-height: 15.0px"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;In a situation where calibrations are provided by the observatory this system should work flawlessly (and a tool which takes care of the time accounting automatically would also be feasible). However, in the current situation where calibrations are shared amongst the projects, it is difficult to do the time accounting properly in this scheme as it is not immediately obvious how much calibration time should be taken with the REJECTed observation. It would have to be recalculated.&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Sans Typewriter'; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-7635294085071709177?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/7635294085071709177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=7635294085071709177&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7635294085071709177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/7635294085071709177'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/01/time-accounting-for-jls.html' title='Time accounting for JLS'/><author><name>Antonio</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-2681285318355988573</id><published>2008-01-31T09:41:00.000-10:00</published><updated>2010-06-04T13:38:34.690-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JLS'/><title type='text'>How to properly deal with BAD/QUESTIONABLE data within the JLS</title><content type='html'>&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;The problem stems from what happens to questionable data which remains in some form of limbo until its status is deemed to be GOOD or BAD. Setting data to BAD is an issue in itself as such data are usually BAD because of a fault. However, the Legacy nature of JLS means that some data will be deemed to be unacceptable for the surveys and so should not be processed into Advanced Data Products. These data are not intrinsically BAD and so the plan is for them to be immediately released to the public.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter; min-height: 15.0px"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;We resolve this issue by having a new quality parameter in obslog - REJECT. Definitions:&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter; min-height: 15.0px"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;GOOD: data is good and is processed by the pipeline&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;QUESTIONABLE: data may have problems with it - a human needs to look and make a decision on its quality&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;BAD: data is not good, do not process &lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;REJECT: data does not meet agreed standards for survey&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter; min-height: 15.0px"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;We don’t expect to be using the REJECT flag during normal PI observations. Furthermore, it is expected that with working QA in the survey pipelines the number of REJECT and QUESTIONABLEs will be small (but there will be enough, especially at the beginning as we're bedding the system, that we need to deal with them appropriately).&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter; min-height: 15.0px"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;The following table summarises what happens to data with these flags:&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter; min-height: 15.0px"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;_cube&lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;_reduced    group   proprietary&lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;GOOD      Y         Y         Y         Y  &lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;BAD       Y         N         N         N  &lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;QUEST.    Y         Y         N         Y  &lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;REJECT    Y         Y         N         N &lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter; min-height: 15.0px"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter; min-height: 15.0px"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;          ADP    charged  VO/master product&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter; min-height: 15.0px"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;GOOD       Y        Y           Y&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter; min-height: 15.0px"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;BAD        N        N           N&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter; min-height: 15.0px"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;QUEST.     N        Y           N &lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter; min-height: 15.0px"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;REJECT     N        N           Y&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter; min-height: 15.0px"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter"&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;(N.B: QUESTIONABLE data should not be combined into the public VO product as those data are in an undefined quantum state and until their wave functions have collapsed into either of GOOD, BAD or REJECT you don’t know what to do with them)&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Sans Typewriter; min-height: 15.0px"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-2681285318355988573?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/2681285318355988573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=2681285318355988573&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2681285318355988573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/2681285318355988573'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/01/how-to-properly-deal-with.html' title='How to properly deal with BAD/QUESTIONABLE data within the JLS'/><author><name>Antonio</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-8240845815461603052</id><published>2008-01-30T15:45:00.001-10:00</published><updated>2010-06-04T13:38:18.155-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='orac-dr'/><category scheme='http://www.blogger.com/atom/ns#' term='ACSIS'/><title type='text'>ACSIS DR and hybrid observations</title><content type='html'>In the version of the ACSIS pipeline that will ship in the upcoming Starlink "humu" release subsystems from ACSIS are processed independently of each other. This is fine for true multi-subsystem observations such as simultaneous C18O and 13CO modes but is not the correct thing to do when a true hybrid mode is observed. This was not an issue when we relied on the "real-time" DR to do the sub-band merging but since the decision was made to configure 500MHz and 2GHz observations as pseudo multi subsystem observations (albeit with shared reference pixel so that the channels are aligned) it has become obvious that ORAC-DR needed to be modified.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This week I modified the internals of ORAC-DR to allow it to recognize hybrid observations and treat them as a single "frame" (in ORAC-DR speak). It was a little more involved than expected because there was no merging of header information in the pipeline outside of bespoke implementations in UKIRT spectroscopy and SCUBA-2 classes. I moved some header parsing code into a base class and removed the special code from UKIRT (SCUBA-2 is still special). This required some minor changes to all the header translation code but was worth it since all instruments can make use of the header merging.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Next step is to actually use this information to merge the sub-bands. One minor caveat in all this is that ORAC-DR will still not try to merge multi-subsystem observations simply because subsystems overlap. If that is required (for example for the SLS)  then we need to be told the requirements.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-8240845815461603052?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/8240845815461603052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=8240845815461603052&amp;isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8240845815461603052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8240845815461603052'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/01/acsis-dr-and-hybrid-observations.html' title='ACSIS DR and hybrid observations'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-8534274795985818830</id><published>2008-01-28T12:48:00.000-10:00</published><updated>2010-06-04T13:38:46.455-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cadc'/><title type='text'>DB replication to CADC</title><content type='html'>Some confusion as to where we are with getting replication from the ASE 15 system to CADC. Phone call with anubhav, timj and isabella tomorrow (Tuesday) 12pm HST.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-8534274795985818830?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/8534274795985818830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=8534274795985818830&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8534274795985818830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8534274795985818830'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/01/db-replication-to-cadc.html' title='DB replication to CADC'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-8007605719093808376</id><published>2008-01-28T10:51:00.000-10:00</published><updated>2010-06-04T13:39:26.179-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='data processing'/><title type='text'>scubadev</title><content type='html'>Scubadev's mysterious lack of speed continues to be a concern, especially since it is a baseline spec for the summit DR computers. Had a chat with Tim where we concluded that after the Starlink release is out of the way (1-2 weeks) we will take it down and turn it into a standalone gentoo box, then a standalone CentOS box. This should allow us to narrow down whether the problem is related to hardware, OS, or the integration in to the network.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-8007605719093808376?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/8007605719093808376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=8007605719093808376&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8007605719093808376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/8007605719093808376'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/01/scubadev.html' title='scubadev'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-1416747494734691929</id><published>2008-01-28T10:31:00.001-10:00</published><updated>2010-06-04T13:39:41.553-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cadc'/><title type='text'>OMP ACSIS data retrievals</title><content type='html'>Last week we had a strange problem where data could be retrieved from the OMP from November onwards but between Feebruary and October 2007 data retrievals failed because the OMP sent the wrong filenames to CADC. Turned out that the new test database (running Sybase 15) had been loaded with data up to end of October and that was triggering a new logic path through the OMP. Usually, the OMP failed to find any entries in the database and fell back to looking on the data disk for raw data. This always works and always finds the right files. When rows are found in the database there is no need to look on disk (the database is much faster than looking at files) and once the test database was initialised the DB lookups were working properly. The only problem was that the query to the ACSIS database did not return the filename information from the FILES table and therefore the OMP was forced to guess the filename. For data taken since we renumbered the subystem numbers the guess was wrong and CADC were asked to serve files that didn't exist.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I fixed the problem last week and now retrievals work with database and file lookup. I was able to cleanup quite a lot of code in the process and the Astro::FITS::HdrTrans module was made a little cleverer and can now tell the difference between a database result and a header read from a file. Apologies to people who experienced retrieval problems over the past 2 weeks.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-1416747494734691929?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/1416747494734691929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=1416747494734691929&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1416747494734691929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1416747494734691929'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/01/omp-acsis-data-retrievals.html' title='OMP ACSIS data retrievals'/><author><name>Tim J</name><uri>http://www.blogger.com/profile/06407866862151081793</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4994845427978586964.post-1851427422521371450</id><published>2008-01-25T13:25:00.000-10:00</published><updated>2010-06-04T13:39:09.734-10:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cadc'/><title type='text'>ACSIS wrapper script</title><content type='html'>Short telecon arranged for Monday 12:30 HST (after regular JSA 12:00 HST CADC team meeting) so that Tim can put forward his ideas (mostly to Sharon) about the ACSIS processing wrapping script. There is some interest in testing this by February 7th, which will be tight.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4994845427978586964-1851427422521371450?l=pipelinesandarchives.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pipelinesandarchives.blogspot.com/feeds/1851427422521371450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4994845427978586964&amp;postID=1851427422521371450&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1851427422521371450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4994845427978586964/posts/default/1851427422521371450'/><link rel='alternate' type='text/html' href='http://pipelinesandarchives.blogspot.com/2008/01/acsis-wrapper-script.html' title='ACSIS wrapper script'/><author><name>Frossie</name><uri>http://www.blogger.com/profile/16192770006821336933</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
