id
int64
0
5.38k
issuekey
stringlengths
4
16
created
stringlengths
19
19
title
stringlengths
5
252
description
stringlengths
1
1.39M
storypoint
float64
0
100
499
DM-2734
05/11/2015 15:19:05
Add config file for test dataset 04 tables
Following the changes to default LOAD DATA settings in DM-2679, two tables in test case 04 need to have a config file to include their in.csv format.
1
500
DM-2737
05/12/2015 11:13:29
Build a DiscreteSkyMap that covers a collection of input exposures
This is essentially a rehash of the old trac Ticket #[2702| https://dev.lsstcorp.org/trac/ticket/2702], originally reported by [~jbosch], which reads: "I'd like to add a Task and bin script to create a DiscreteSkyMap that bounds a set of calexps specified by their data IDs. This makeDiscreteSkyMap.py could be used instead of makeSkyMap.py when the user would rather compute the pointing and size of the skymap from the input data than decide it manually." The work was done by [~jbosch] & [~price] and exists on branch {{u/price/2702}} in {{pipe_tasks}}, but it was never merged to master. I plan to simply rebase the commits in that branch onto master.
1
501
DM-2738
05/13/2015 01:41:35
Remove #include "XrdOuc/XrdOucTrace.hh" from Qserv code
See next emails: Hi Fabrice, Absolutely! Andy On Wed, 13 May 2015, Fabrice Jammes wrote: > Hi Andy, > > Thanks, > > In my understanding, you're ok if I remove the existing > #include "XrdOuc/XrdOucTrace.hh" > from Qserv source code. I'll do it soon. > > Have a nice day, > > Fabrice > > Le 12/05/2015 23:41, Andrew Hanushevsky a écrit : >> Hi Fabrice, >> >> Well, no. We have a long-standing approach that qserv should not depend on anything outside of XrdSsi public interfaces. This is the only way to easily protect sqserv code from infrastructure changes. So, I would not. If you want to copy something like that for >> >> qserv please do, it's simple enough. But in the end qserv needs to be self-contained in that it does not depend on xrootd code just the public ssi interfaces. >> >> Andy >> >> -----Original Message----- From: Fabrice Jammes >> Sent: Tuesday, May 12, 2015 9:06 AM >> To: Andrew Hanushevsky >> Subject: About xrdssi client logging >> >> Hi Andy, >> >> Hope you're doing well. >> Could you please tell me if its usefull to include >> #include "XrdOuc/XrdOucTrace.hh" >> in our xrdssi client code? >> >> Indeed client seems to only print DBG macro output, that's why I was >> wondering if XrdOucTrace was only use on the server side. >> If yes, I will remove it from our client. >> >> Thanks, and have a nice day, >> >> Fabrice
1
502
DM-2740
05/13/2015 18:01:34
Make ANetAstrometryTask more configurable
The current ANetAstrometryTask has a solver that is not easy to retarget. This makes testing with hscAstrom needlessly difficult. My suggestion is to make the solver a true Task instead of a task-like object, and make it retargetable using a ConfigurableField instead of a ConfigField. This is very easy to do because the solver is already a task in all but name.
2
503
DM-2748
05/15/2015 03:02:03
Add clear message when integration test fails
Integration test fails without printing a clear message at the end, and for now a query is broken: 0011_selectDeepCoadd.txt but it isn't printed at the end of tet output.
2
504
DM-2752
05/15/2015 13:42:46
db 10.1+4 tests randomly fail with python egg installation error
The unit tests for DB seem to fail at random and always pass on a second build attempt. My hunch is that multiple tests are running in parallel all attempting to install the mysql module but I haven't investigated. {code} db: 10.1+4 ERROR (0 sec). *** error building product db. *** exit code = 2 *** log is in /home/build0/lsstsw/build/db/_build.log *** last few lines: ::::: [2015-05-15T19:12:35.557258Z] scons: done reading SConscript files. ::::: [2015-05-15T19:12:35.558276Z] scons: Building targets ... ::::: [2015-05-15T19:12:35.558409Z] scons: Nothing to be done for `python'. ::::: [2015-05-15T19:12:35.570007Z] makeVersionModule(["python/lsst/db/version.py"], []) ::::: [2015-05-15T19:12:35.686733Z] running tests/testDbLocal.py... running tests/testDbRemote.py... running tests/testDbPool.py... failed ::::: [2015-05-15T19:12:35.695011Z] passed ::::: [2015-05-15T19:12:35.698811Z] passed ::::: [2015-05-15T19:12:35.706360Z] 1 tests failed ::::: [2015-05-15T19:12:35.706703Z] scons: *** [checkTestStatus] Error 1 ::::: [2015-05-15T19:12:35.708443Z] scons: building terminated because of errors. {code} {code} [root@ip-192-168-123-151 .tests]# cat * tests/testDbLocal.py Traceback (most recent call last): File "tests/testDbLocal.py", line 53, in <module> from lsst.db.db import Db, DbException File "/home/build0/lsstsw/build/db/python/lsst/db/db.py", line 49, in <module> import MySQLdb File "build/bdist.linux-x86_64/egg/MySQLdb/__init__.py", line 19, in <module> File "build/bdist.linux-x86_64/egg/_mysql.py", line 7, in <module> File "build/bdist.linux-x86_64/egg/_mysql.py", line 4, in __bootstrap__ File "/home/build0/lsstsw/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py", line 937, in resource_filename File "/home/build0/lsstsw/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py", line 1632, in get_resource_filename File "/home/build0/lsstsw/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py", line 1662, in _extract_resource File "/home/build0/lsstsw/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py", line 1003, in get_cache_path File "/home/build0/lsstsw/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py", line 983, in extraction_error pkg_resources.ExtractionError: Can't extract file(s) to egg cache The following error occurred while trying to extract file(s) to the Python egg cache: [Errno 17] File exists: '/home/build0/.python-eggs' The Python egg cache directory is currently set to: /home/build0/.python-eggs Perhaps your account does not have write access to this directory? You can change the cache directory by setting the PYTHON_EGG_CACHE environment variable to point to an accessible directory. tests/testDbPool.py /home/build0/lsstsw/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py:1032: UserWarning: /home/build0/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable). 05/15/2015 07:12:35 root WARNING: Required file with credentials '/home/build0/.lsst/dbAuth-test.txt' not found. tests/testDbRemote.py /home/build0/lsstsw/anaconda/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/pkg_resources.py:1032: UserWarning: /home/build0/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable). 05/15/2015 07:12:35 root WARNING: Required file with credentials '/home/build0/.lsst/dbAuth-testRemote.txt' not found. {code}
1
505
DM-2762
05/18/2015 16:54:16
Avoid leaking memory allocated by mysql_thread_init
mysql/MySqlConnection.cc contains the following comment: {code} // Dangerous to use mysql_thread_end(), because caller may belong to a // different thread other than the one that called mysql_init(). Suggest // using thread-local-storage to track users of mysql_init(), and to call // mysql_thread_end() appropriately. Not an easy thing to do right now, and // shouldn't be a big deal because we thread-pool anyway. {code} The comment is not really correct with regards to thread pooling. Instead, each rproc::InfileMerger has an rproc::InfileMerger::Mgr which contains a util::WorkQueue that spawns a thread, and so we are failing to call mysql_thread_end at least once per user query. This has been verified using the memcheck valgrind tool.
3
506
DM-2770
05/20/2015 19:02:42
sconsUtil install target does not respond to either force=True or --force
I've been unable to figure out how to bypass the install 'force' check, but have confirmed that this is the correct expression by commenting it out: https://github.com/lsst/sconsUtils/blob/54c983ffe9714a33657c4388de3506fe7a40518d/python/lsst/sconsUtils/installation.py#L92 {code} $ SCONSUTILS_DIR=. scons -Q force=True install Unable to import eups; guessing flavor CC is gcc version 4.8.3 Checking for C++11 support C++11 supported with '-std=c++11' Error with git version: uncommitted changes Found problem with version number; update or specify force=True to proceed {code}
1
507
DM-2777
05/21/2015 13:58:16
Fix races in BlendScheduler
_integrityHelper() from wsched/BlendScheduler inspects a map of tasks and is sometimes called without holding the corresponding mutex. My theory is that it is observing the map in an inconsistent state, leading to assert failure and hence worker death, and finally to hangs/timeouts on the czar.
2
508
DM-2779
05/21/2015 16:45:55
Fix race in Foreman
The Foreman implementation passes a TaskQueue pointer corresponding to running tasks down to the task scheduler without holding a lock. This means that the scheduler can inspect the running task list (usually to determine its size) while it is being mutated.
2
509
DM-2782
05/22/2015 13:13:06
Firefly Tools API: Add advance region support
Firefly Tools API: Add advance region support Improve firefly's region functionality to support a "dynamic region". Data can be added or removed from this region by API calls. Allow any amount of region lines to be added or removed. Make sure performance is good. Also, document the current Firefly region support.
2
510
DM-2787
05/22/2015 13:46:55
Footprint dilation performance regression
In DM-1128 we implemented span-based dilation for footprints. A brief test on synthetic data indicated that this was a performance win over the previous version of the code. In May 2015, this code was merged to HSC and applied to significant quantities of real data for the first time. A major performance regression was identified: {quote} [May-9 00:26] Paul Price: processCcd is now crazy slow. [May-9 00:29] Paul Price: Profiling... [May-9 00:40] Paul Price: I'm thinking it's the Footprint grow code... [May-9 00:44] Paul Price: And the winner is…. Footprint construction: [May-9 00:44] Paul Price: 2 0.000 0.000 702.280 351.140 /home/astro/hsc/products/Linux64/meas_algorithms/HSC-3.8.0/python/lsst/meas/algorithms/detection.py:191(makeSourceCatalog)
 2 0.005 0.002 702.274 351.137 /home/astro/hsc/products/Linux64/meas_algorithms/HSC-3.8.0/python/lsst/meas/algorithms/detection.py:228(detectFootprints)
 15 0.001 0.000 698.597 46.573 /home/pprice/hsc/afw/python/lsst/afw/detection/detectionLib.py:3448(__init__)
 15 698.596 46.573 698.596 46.573 {_detectionLib.new_FootprintSet} [May-9 00:53] Paul Price: If I revert HSC-1243 ("Port better Footprint-grow code from LSST"), then the performance regression goes away. @jbosch @jds may be interested... {quote} The source of the regression must be identified and resolved for both HSC and LSST.
5
511
DM-2789
05/22/2015 17:41:44
rename CameraMapper.getEupsProductName() to getPackageName() and convert to abstract method
Per discussion on this PR related to DM-2636: https://github.com/lsst/daf_butlerUtils/pull/1#issuecomment-104785055 The CameraMapper.getEupsProductName() should be renamed to getPackageName() and converted to an abstract method. This will eliminates a runtime, and thus "test time", dependency on EUPS. As part of the rename/conversion, all subclasses that are not already overriding getEupsProductName() will concurrently need to have getPackageName() implemented.
3
512
DM-2792
05/26/2015 12:45:59
Make the new astrometry task the default task
The new astrometry task should be the default astrometry task, but we need to make sure it is good enough first.
1
513
DM-2799
05/27/2015 12:32:07
Tests for daf_butlerUtils should not depend on obs_lsstSim
Currently two of the tests in {{daf_butlerUtils}} depend on {{obs_lsstSim}}. They will never run in a normal build because {{obs_}} packages can not be a dependency on {{daf_butlerUtils}}. After discussing the options with [~ktl] the feeling is that {{ticket1640}} should be rewritten to remove the dependency and {{ticket1580}} can probably be removed.
2
514
DM-2803
05/28/2015 00:14:31
Adapt multi-node tests to latest version of qserv / loader
The multi-node integration tests have to be updated to work with the latest changes to qserv, in particular the loader, which broke already working tests lately.
8
515
DM-2804
05/28/2015 00:24:27
Implement query metadata skeleton
Skeleton implementation of the Query Metadata - including the APIs and core functionality (accepting long running query and saving the info about it)
8
516
DM-2827
05/28/2015 14:39:08
Implement RESTful interfaces for Database (POST)
Implement RESTful interfaces for Database (see all D* in https://confluence.lsstcorp.org/display/DM/API), based on the first prototype developed through DM-1695. The work includes adding support for returning appropriately formatted results (support the most common formats). This covers "POST" type requests only, "GET" will be handled separately.
8
517
DM-2847
05/31/2015 22:46:55
SUI Firefly server side Python job management
In order to support Camera team needs and L3 data production, Firefly server needs to be able to start a Python job with proper input data and get the output data as a result of running the Python job. This will make the future integration of Firefly and DM pipeline stack much easier.
40
518
DM-2849
06/01/2015 09:54:56
Tweaks to OO display interface
When I wrote the initial version of display_firefly I found a few minor issues in the way I'd designed the Display class; at the same time, [~lauren] found some missing functions in the backward-compatibility support for ds9. Please fix these; note that this implies changes to afw, display_ds9, and display_firefly.
2
519
DM-2854
06/01/2015 14:29:39
Fix Qserv SsiSession worker race
The worker SsiSession implementation calls ReleaseRequestBuffer after handing the bound request to the foreman for processing. It therefore becomes possible for request processing to finish before ReleaseRequestBuffer is called by the submitting thread, resulting in a memory leak.
2
520
DM-2864
06/02/2015 10:37:30
Fix bug related to selecting rows by objectId from non-director table
The following example illustrates the problem: Let's select one raw from qservTest_case01_qserv {code} select sourceId, objectId FROM Source LIMIT 1; +-------------------+-----------------+ | sourceId | objectId | +-------------------+-----------------+ | 29763859300222250 | 386942193651348 | +-------------------+-----------------+ {code} Then select it, but use "sourceId" in the query, all good here: {code} select sourceId, objectId FROM Source WHERE sourceId=29763859300222250; +-------------------+-----------------+ | sourceId | objectId | +-------------------+-----------------+ | 29763859300222250 | 386942193651348 | +-------------------+-----------------+ {code} But if we add "objectId", the row is not found: {code} select sourceId, objectId FROM Source WHERE sourceId=29763859300222250 and objectId=386942193651348; Empty set (0.09 sec) {code} Similarly, even without sourceId constraint, the query fails: {code} select sourceId, objectId FROM Source WHERE objectId=386942193651348; Empty set (0.09 sec) {code}
8
521
DM-2865
06/02/2015 12:00:18
Merge BoundedField from HSC as is
To make headway on aperture corrections, we are bringing the HSC implementation of BoundedField over.
2
522
DM-2866
06/02/2015 18:09:24
Learn about Butler
Transferring knowledge from K-T to the DB team.
2
523
DM-2867
06/02/2015 18:09:44
Learn about Butler
Transferring knowledge from K-T to the DB team.
2
524
DM-2868
06/02/2015 18:10:09
Learn about Butler
Transferring knowledge from K-T to the DB team.
2
525
DM-2869
06/02/2015 18:10:26
Learn about Butler
Transferring knowledge from K-T to the DB team.
2
526
DM-2870
06/02/2015 18:10:37
Learn about Butler
Transferring knowledge from K-T to the DB team.
2
527
DM-2883
06/03/2015 22:00:04
wcslib is unable to read PTF headers with PV1_{1..16} cards
SCAMP writes distortion headers in form of PVi_nn (i=1..x, nn=5..16) cards, but this is rejected (correctly) by wcslib 4.14; there is a discussion at https://github.com/astropy/astropy/issues/299 The simplest "solution" is to strip the values PV1_nn (nn=5..16) in makeWcs() for CTYPEs of TAN or TAN-SIP and this certainly works. I propose that we adopt this solution for now.
1
528
DM-2885
06/05/2015 15:26:15
Improve confusing error message
Selecting a column that does not exist results in confusing error. Example: {code} SELECT badColumnName FROM qservTest_case01_qserv.Object WHERE objectId=386942193651348; {code} ERROR 4120 (Proxy): Error during execution: -1 Ref=1 Resource(/chk/qservTest_case01_qserv/6630): 20150605-16:23:42, Error in result data., 1, (-1) Similarly, {code} select whatever FROM qservTest_case01_qserv.Object; {code} prints ERROR 4120 (Proxy): Error during execution: -1 Ref=1 Resource(/chk/qservTest_case01_qserv/6630): 20150605-16:23:52, Error in result data., 1, Ref=2 Resource(/chk/qservTest_case01_qserv/6631): 20150605-16:23:52, Error merging result, 1990, Cancellation requested Ref=3 Resource(/chk/qservTest_case01_qs (-1) (note, sourceId does not exist in Object table)
5
529
DM-2887
06/05/2015 22:46:25
Fix broken IN - it now takes first element only
IN is broken - it only uses the first element from the list. Here is the proof: {code} select COUNT(*) AS N FROM qservTest_case01_qserv.Source WHERE objectId=386950783579546; +------+ | N | +------+ | 56 | +------+ 1 row in set (0.10 sec) mysql> select count(*) AS N FROM qservTest_case01_qserv.Source WHERE objectId=386942193651348; +------+ | N | +------+ | 39 | +------+ 1 row in set (0.09 sec) mysql> select COUNT(*) AS N FROM qservTest_case01_qserv.Source WHERE objectId IN(386942193651348, 386950783579546); +------+ | N | +------+ | 39 | +------+ 1 row in set (0.09 sec) mysql> select COUNT(*) AS N FROM qservTest_case01_qserv.Source WHERE objectId IN(386950783579546, 386942193651348); +------+ | N | +------+ | 56 | +------+ 1 row in set (0.11 sec) {code}
8
530
DM-2890
06/06/2015 09:19:56
isrTask assumes that the Exposure has a Detector
While trying to use the isrTask to interpolate over bad columns in PTF data I discovered that the code assumes that the Exposure has a Detector attached. Please remove this restriction.
1
531
DM-2891
06/06/2015 17:27:51
meas.algorithms.utils uses measurement algorithms that are no longer available
meas.algorithms.utils uses GaussianCentroid and SdssShape, but now that they have moved to meas_base the code no longer works. Please fix this. I'd prefer to leave the functionality to visualise PSFs in meas_algorithms, but if necessary file an RFC to move it elsewhere.
2
532
DM-2892
06/06/2015 23:39:48
Keep track of database of the director table
An L3 child table might very well have an LSST data release Object table as its director, while almost certainly not living in the DR database. To support it, we should keep track of the database name holding director's table. Note, this is related to DM-2864 - the code touched in that ticket should be checking the director's db name. Don't forget to add a unit test that will exercise it!
1
533
DM-2895
06/08/2015 11:21:29
treat lsst_apps, lsst_libs and lsst_thirdparty as top level products not required by lsst_distrib
Per discussion on RFC-55, it was determined that lsst_apps and lsst_libs and lsst_thirdparty maybe be treated as separate top level products that lsst_distrib need not depend on them nor do they need to be included as part of CI builds.
1
534
DM-2900
06/08/2015 18:25:27
Add queries that exercise non-box spatial constraints
Qserv has code to support: * qserv_areaspec_box * qserv_areaspec_circle * qserv_areaspec_ellipse * qserv_areaspec_poly but only the first one (box) is exercised in our integration tests. This story involves adding queries to test the other 3.
2
535
DM-2905
06/09/2015 10:34:53
Update Scons to v2.3.4
Scons has not been updated in over a year. RFC-61 agreed that we should upgrade it now before tackling some other {{scons}} issues.
1
536
DM-2909
06/09/2015 17:17:45
Remove unused code from sconsUtils
The code in {{deprecated.py}} in {{sconsUtils}} is not used by anything anywhere. [~jbosch] has indicated that the file can simply be removed.
1
537
DM-2910
06/09/2015 18:45:12
obs_cfht is broken with the current stack
obs_cfht's camera mapper is missing the new packageName class variable, so it is not compatible with the current stack. I suggest fixing obs_sdss and obs_subaru as well, if they need it.
1
538
DM-2911
06/09/2015 23:17:40
Build 2015_07 Qserv Release
See https://confluence.lsstcorp.org/display/DM/Qserv+Release+Procedure for recipe.
1
539
DM-2917
06/11/2015 09:12:18
obs_cfht unit tests are broken
obs_cfht has one unit test "testButler" that uses git://git.lsstcorp.org/contrib/price/testdata_cfht. 4 of the tests fail, as shown below. In addition, testdata_cfht is huge, and the tests barely use any of it. It's worth considering making a new test repo that is smaller, or if the amount of data is small enough, move it into afwdata or obs_cfht itself. {code} localhost$ tests/testButler.py CameraMapper: Loading registry registry from /Users/rowen/LSST/code/testdata/testdata_cfht/DATA/registry.sqlite3 CameraMapper: Loading calibRegistry registry from /Users/rowen/LSST/code/testdata/testdata_cfht/CALIB/calibRegistry.sqlite3 ECameraMapper: Loading registry registry from /Users/rowen/LSST/code/testdata/testdata_cfht/DATA/registry.sqlite3 CameraMapper: Loading calibRegistry registry from /Users/rowen/LSST/code/testdata/testdata_cfht/CALIB/calibRegistry.sqlite3 ECameraMapper: Loading registry registry from /Users/rowen/LSST/code/testdata/testdata_cfht/DATA/registry.sqlite3 CameraMapper: Loading calibRegistry registry from /Users/rowen/LSST/code/testdata/testdata_cfht/CALIB/calibRegistry.sqlite3 ECameraMapper: Loading registry registry from /Users/rowen/LSST/code/testdata/testdata_cfht/DATA/registry.sqlite3 CameraMapper: Loading calibRegistry registry from /Users/rowen/LSST/code/testdata/testdata_cfht/CALIB/calibRegistry.sqlite3 .CameraMapper: Loading registry registry from /Users/rowen/LSST/code/testdata/testdata_cfht/DATA/registry.sqlite3 CameraMapper: Loading calibRegistry registry from /Users/rowen/LSST/code/testdata/testdata_cfht/CALIB/calibRegistry.sqlite3 E. ====================================================================== ERROR: testBias (__main__.GetRawTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/testButler.py", line 122, in testBias self.getDetrend("bias") File "tests/testButler.py", line 110, in getDetrend flat = self.butler.get(detrend, self.dataId, ccd=ccd) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_persistence/10.1-1-g6edbc00+1/python/lsst/daf/persistence/butler.py", line 218, in get location = self.mapper.map(datasetType, dataId) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_persistence/10.1-1-g6edbc00+1/python/lsst/daf/persistence/mapper.py", line 116, in map return func(self.validate(dataId), write) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/cameraMapper.py", line 287, in mapClosure return mapping.map(mapper, dataId, write) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/mapping.py", line 118, in map actualId = self.need(self.keyDict.iterkeys(), dataId) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/mapping.py", line 199, in need lookups = self.lookup(newProps, newId) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/mapping.py", line 345, in lookup return Mapping.lookup(self, properties, newId) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/mapping.py", line 168, in lookup where, self.range, values) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/registries.py", line 120, in executeQuery c = self.conn.execute(cmd, values) OperationalError: no such column: extension ====================================================================== ERROR: testFlat (__main__.GetRawTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/testButler.py", line 117, in testFlat self.getDetrend("flat") File "tests/testButler.py", line 110, in getDetrend flat = self.butler.get(detrend, self.dataId, ccd=ccd) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_persistence/10.1-1-g6edbc00+1/python/lsst/daf/persistence/butler.py", line 218, in get location = self.mapper.map(datasetType, dataId) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_persistence/10.1-1-g6edbc00+1/python/lsst/daf/persistence/mapper.py", line 116, in map return func(self.validate(dataId), write) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/cameraMapper.py", line 287, in mapClosure return mapping.map(mapper, dataId, write) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/mapping.py", line 118, in map actualId = self.need(self.keyDict.iterkeys(), dataId) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/mapping.py", line 199, in need lookups = self.lookup(newProps, newId) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/mapping.py", line 345, in lookup return Mapping.lookup(self, properties, newId) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/mapping.py", line 168, in lookup where, self.range, values) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/registries.py", line 120, in executeQuery c = self.conn.execute(cmd, values) OperationalError: no such column: extension ====================================================================== ERROR: testFringe (__main__.GetRawTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/testButler.py", line 127, in testFringe self.getDetrend("fringe") File "tests/testButler.py", line 110, in getDetrend flat = self.butler.get(detrend, self.dataId, ccd=ccd) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_persistence/10.1-1-g6edbc00+1/python/lsst/daf/persistence/butler.py", line 218, in get location = self.mapper.map(datasetType, dataId) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_persistence/10.1-1-g6edbc00+1/python/lsst/daf/persistence/mapper.py", line 116, in map return func(self.validate(dataId), write) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/cameraMapper.py", line 287, in mapClosure return mapping.map(mapper, dataId, write) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/mapping.py", line 118, in map actualId = self.need(self.keyDict.iterkeys(), dataId) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/mapping.py", line 199, in need lookups = self.lookup(newProps, newId) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/mapping.py", line 345, in lookup return Mapping.lookup(self, properties, newId) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/mapping.py", line 168, in lookup where, self.range, values) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_butlerUtils/10.1-3-g302a9ed/python/lsst/daf/butlerUtils/registries.py", line 120, in executeQuery c = self.conn.execute(cmd, values) OperationalError: no such column: extension ====================================================================== ERROR: testRaw (__main__.GetRawTestCase) Test retrieval of raw image ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/testButler.py", line 101, in testRaw raw = self.butler.get("raw", self.dataId, ccd=ccd, immediate=True) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_persistence/10.1-1-g6edbc00+1/python/lsst/daf/persistence/butler.py", line 244, in get return callback() File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_persistence/10.1-1-g6edbc00+1/python/lsst/daf/persistence/butler.py", line 242, in <lambda> innerCallback(), dataId) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_persistence/10.1-1-g6edbc00+1/python/lsst/daf/persistence/butler.py", line 238, in <lambda> callback = lambda: self._read(pythonType, location) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_persistence/10.1-1-g6edbc00+1/python/lsst/daf/persistence/butler.py", line 426, in _read location.getCppType(), storageList, additionalData) File "/Users/rowen/LSST/lsstsw/stack/DarwinX86/daf_persistence/10.1-1-g6edbc00+1/python/lsst/daf/persistence/persistenceLib.py", line 1430, in unsafeRetrieve return _persistenceLib.Persistence_unsafeRetrieve(self, *args) FitsError: File "src/fits.cc", line 1064, in lsst::afw::fits::Fits::Fits(const std::string &, const std::string &, int) cfitsio error: could not open the named file (104) : Opening file '/Users/rowen/LSST/code/testdata/testdata_cfht/DATA/raw/08BL05/w2.+2+2/2008-11-01/i2/1038843o.fits.fz[1]' with mode 'r' {0} lsst::afw::fits::FitsError: 'cfitsio error: could not open the named file (104) : Opening file '/Users/rowen/LSST/code/testdata/testdata_cfht/DATA/raw/08BL05/w2.+2+2/2008-11-01/i2/1038843o.fits.fz[1]' with mode 'r'' ---------------------------------------------------------------------- Ran 6 tests in 3.544s FAILED (errors=4) {code}
1
540
DM-2919
06/11/2015 13:28:54
PhotoCalTask mis-calling Colorterm methods
When I implemented DM-2797 I made a few errors in pipe_tasks: - PhotoCalTask mis-calls two methods of Colorterm by providing filterName, which is not needed - ColortermLibrary.getColorterm mis-handles glob expressions (the two arguments to fnmatch.fnmatch are swapped). We also need a unit test for applying colorterms, but that will require enough work that I have made a separate ticket for it: DM-2918. Meanwhile I have tested my changes by running Dominique's CFHT demo. This proves that the colorterm code runs, but does not prove that the terms are correctly applied.
1
541
DM-2934
06/12/2015 14:40:49
Add RFD issue type to RFC project
To support the RFD process adopted in [RFC-53], an RFD issue type in the RFC project is required. While we could add RFD-specific fields to it, I think it's simplest if it's just generic with details provided in the Description.
1
542
DM-2927
06/12/2015 15:25:40
Modernize sconsUtils code to python 2.7 standard
As part of the work investigating DM-2839 I modernized the sconsUtils code to meet current coding standards (using {{in}} rather than {{has_key}}, using {{items()}} rather than {{iteritems}} etc). Since I'm highly doubtful that DM-2839 is going to be closed any time soon I will separate out the modernization patches into this ticket.
1
543
DM-2929
06/12/2015 23:09:46
Some AFW tests are not enabled with no explanation
Running {{coverage.py}} on the AFW test suite indicated that two test classes in {{tests/wcs1.py}} are disabled. {{WCSTestCaseCFHT}} was added by [~rhl] in 2007 but disabled during a merge a long time ago by [~jbosch] in 2010 but with no indication as to why. {{WCSRotateFlip}} appeared in 2012 (added by [~krughoff]) but doesn't appear in the {{suite}} list at the end and so does not execute. Similarly {{testSchema.py}} has two tests that are not run: {{xtestSchema}} and {{testJoin}}. I assume {{xtestSchema}} is deliberately disabled but could there at least be a comment in the test explaining why? My feeling is that we should either run the tests or they should be removed. Having them their gives the impression they are doing something useful. Less importantly, {{warpExposure.py}} has some support code for comparing masked images that was written in 2009 by [~rowen] but which is not used anywhere in the test.
2
544
DM-2930
06/13/2015 01:08:17
Fix problem with Qserv related to restarting mysql
I noticed some strange (reproducible!) behavior: if I run: {code}qserv-check-integration.py --case=01{code} then restart mysqld {code}<runDir>/etc/init.d/mysqld restart{code} then the query: {code}mysql --host=127.0.0.1 --port=4040 --user=qsmaster qservTest_case01_qserv -e "SELECT COUNT(*) as OBJ_COUNT FROM Object WHERE qserv_areaspec_box(0.1, -6, 4, 6)"{code} consistently fails every single time. To fix it, it is enough to restart xrootd.
5
545
DM-2931
06/13/2015 07:34:02
We write truncated Wcs data to extended HDU tables in Exposures
When we write Wcs to extra HDUs in Exposures they are truncated if other than TAN/TAN-SIP. Please don't write them. A better long term solution is needed. In particular, we shouldn't be duplicating this information unnecessarily, and we need to be able to persist e.g. TPV to the tables so as to support CoaddPsf. These issues are not included here.
1
546
DM-2936
06/15/2015 23:06:30
Refactor Histogram in edu.caltech.ipac.visualize.plot package.
The Histogram has 6 constructors to handle 6 bitpixel data types which are byte, short integer, integer, long integer, float and double. Since FitsRead has now only works on float, there the Histogram should be refactored accordingly.
3
547
DM-2938
06/16/2015 13:40:24
CalibrateTask has an unwanted "raise" in it
On 2014-06-30 commit 696b641 a developer added a bare "raise" as a debugging aid to the CalibrateTask in pipe_tasks. That change was accidentally merged to master. I confirmed it was an accident and am filing this ticket as a way to remove the raise and run buildbot before merging to master.
1
548
DM-2940
06/17/2015 15:34:11
DS9 tests fail if DS9 not running in some configurations
There are a few issues with the robustness of the {{testDs9.py}} tests in AFW. * The tests are skipped if the {{display_ds9}} package can not be loaded but they should also skip if {{ds9}} is missing or if {{ds9}} can not be loaded. The latter is especially important during builds that unset {{$DISPLAY}}. * The launching code in {{initDS9}} can not notice the simple case of {{ds9}} immediately failing to load. It simply assumes that there are delays in launch. The reason for this is that {{os.system}} does not return bad status if the command has been started in the background. Another scheme for starting {{ds9}} should be considered. Maybe a different exception could be raised specifically for failing to start it. * At the moment each test independently has a go at starting {{ds9}}. This makes the tests take a very long time (made worse by {{_mtv}} also trying multiple times) despite it being clear pretty quickly that {{ds9}} is never going to work. * Currently the {{mtv}} tests must run early as they are the only tests that attempt to start {{ds9}} if it is not running. If the two tests that call {{mtv}} are disabled two other tests fail. Ideally the {{initDS9}} code should be called in all cases.
1
549
DM-2944
06/18/2015 15:37:31
SourceMeasurementTask still referenced in our stack
SourceMeasurementTask is gone, but we still have code that refers to it, including: {code} /Users/rowen/LSST/lsstsw/build/meas_algorithms/python/lsst/meas/algorithms/debugger.py: 21: from lsst.meas.algorithms.measurement import SourceMeasurementTask 26: measurement = ConfigurableField(target=SourceMeasurementTask, doc="Measurements") /Users/rowen/LSST/lsstsw/build/meas_algorithms/python/lsst/meas/algorithms/detection.py: 209: The example also runs the SourceMeasurementTask; see \ref meas_algorithms_measurement_Example for more explanation. /Users/rowen/LSST/lsstsw/build/meas_deblender/examples/utils.py: 15: class DebugSourceMeasTask(measAlg.SourceMeasurementTask): 41: measAlg.SourceMeasurementTask.preMeasureHook(self, exposure, sources) 74: measAlg.SourceMeasurementTask.postMeasureHook(self, exposure, sources) 80: measAlg.SourceMeasurementTask.preSingleMeasureHook(self, exposure, sources, i) 102: measAlg.SourceMeasurementTask.postSingleMeasureHook(self, exposure, sources, i) /Users/rowen/LSST/lsstsw/build/meas_deblender/python/lsst/meas/deblender/deblendAndMeasure.py: 31: from lsst.meas.algorithms import SourceMeasurementTask 50: target = SourceMeasurementTask, /Users/rowen/LSST/lsstsw/build/pipe_tasks/python/lsst/pipe/tasks/calibrate.py: 180: <DT> initialMeasurement \ref SourceMeasurementTask_ "SourceMeasurementTask" 189: <DT> measurement \ref SourceMeasurementTask_ "SourceMeasurementTask" /Users/rowen/LSST/lsstsw/build/pipe_tasks/python/lsst/pipe/tasks/imageDifference.py: 36: from lsst.meas.algorithms import SourceDetectionTask, SourceMeasurementTask, \ 104: target=SourceMeasurementTask, /Users/rowen/LSST/lsstsw/build/pipe_tasks/python/lsst/pipe/tasks/measurePsf.py: 136: The example also runs SourceDetectionTask and SourceMeasurementTask; see \ref meas_algorithms_measurement_Example for more explanation. {code} I will handle pipe_tasks calibrate.py as part of DM-435.
1
550
DM-2945
06/18/2015 15:41:32
Wmgr refuses to serve queries from remote interface
Vaikunth discovered that wmgr returns 404 for all operations. It looks like wmgr can serve requests coming from 127.0.0.1 interface but returns 404 for queries from non-local interface.
1
551
DM-2948
06/19/2015 09:06:03
Remove explicit buildbot dependency on datarel
The buildbot scripts have an explicit dependency on the {{datarel}} package, which we'd like to remove from the stack. It uses {{datarel}} as the top-level product when building the cross-linked HTML documentation; {{lsstDoxygen}}'s {{makeDocs}} script takes a single package, and generates the list of packages to include in the Doxygen build by finding all dependencies of that package. So, to remove the explicit dependency on {{datarel}}, we need to either: - find a new top-level product with a Doxygen build to pass to {{makeDocs}} (e.g. by adding a trivial Doxygen build to {{lsst_distrib}}) - modify the argument parsing in {{lsstDoxygen}} to take a list of multiple products (it *looks* like the limitation to one package is only in the argument parsing), and pass it a list of top-level products in the buildbot scripts. This is currently a blocker for DM-2928, which itself a blocker for DM-1766, which has now been lingering for a few weeks now. I'm going to look for other ways to remove the block on the latter, but I don't have a solution yet.
3
552
DM-2949
06/19/2015 10:13:34
remove dead code and dependencies from datarel
Removing the {{datarel}} package entirely has proved to be difficult (DM-2928, DM-2948), so instead I'm simply going to remove non-ingest code (and dead ingest code) from the package, along with its dependencies on {{ap}} and {{testing_endToEnd}}. Other dependencies will be retained even if they aren't necessary for the code that will remain in {{datarel}}, to support {{lsstDoxygen}}'s use of {{datarel}} as a top-level package for documentation generation.
1
553
DM-2952
06/19/2015 15:38:58
Crop needs to be refactored
This class needs to be refactored to be in consist with FitsRead class which treats all data type as float. Thus the bitpix in this class does not have to be treated based on its value.
3
554
DM-2966
06/23/2015 02:07:48
Design CSS that supports updates
Design how to redesign CSS, we currently take a snapshot when char starts. It is too static.
2
555
DM-2976
06/25/2015 12:51:12
SourceCatalog.getChildren requires preconditions but does not check them
This is a code transfer from HSC-1247.
2
556
DM-2977
06/25/2015 12:54:48
Miscellaneous CModel improvements from HSC
This improves handling of several edge case failure modes, tweaks the configuration to improve performance, and adds some introspection useful for Jose Garmilla's tests. Includes HSC-1288, HSC-1284, HSC-1228, HSC-1250, HSC-1264, HSC-1273, HSC-1240, HSC-1249, HSC-1238, HSC-990, HSC-1155, HSC-1191
2
557
DM-2980
06/25/2015 14:53:10
refactor coaddition code
The HSC fork has coaddition code in two places: pipe_tasks and hscPipe. The code in hscPipe is what we use (though that depends on the code in pipe_tasks in places), while the code in pipe_tasks is more similar to what's currently on the LSST side. We want to bring the refactored version in hscPipe back to LSST, but we want to put it directly in pipe_tasks to remove the code duplication that currently exists on the HSC side. Work on this issue should begin with an RFC that details the proposed changes. Note that this should not bring over the "safe coadd clipping" code, which is DM-2915.
5
558
DM-2981
06/25/2015 15:15:17
polygon masking in CoaddPsf
We need to create polygon-based masks of the usable area of the focal plane, persist them with exposure, and include them in coaddition of PSFs and aperture corrections. This includes HSC issues HSC-972, HSC-973, HSC-974, HSC-975, HSC-976. At least some of this will be blocked by DM-833, which is the port issue for coaddition of aperture corrections.
8
559
DM-2982
06/25/2015 16:38:56
Updating node status in qserv-admin to INACTIVE fails
In qserv-admin.py when attempting to update a node status from ACTIVE to INACTIVE the following error is produced: {code} > update node worker2 state=INACTIVE; Traceback (most recent call last): File "/usr/local/home/vaikunth/src/qserv/bin/qserv-admin.py", line 650, in <module> main() File "/usr/local/home/vaikunth/src/qserv/bin/qserv-admin.py", line 645, in main parser.receiveCommands() File "/usr/local/home/vaikunth/src/qserv/bin/qserv-admin.py", line 163, in receiveCommands self.parse(cmd[:pos]) File "/usr/l ocal/home/vaikunth/src/qserv/bin/qserv-admin.py", line 180, in parse self._funcMap[t](tokens[1:]) File "/usr/local/home/vaikunth/src/qserv/bin/qserv-admin.py", line 380, in _parseUpdate self._parseUpdateNode(tokens[1:]) File "/usr/local/home/vaikunth/src/qserv/bin/qserv-admin.py", line 405, in _parseUpdateNode self._impl.setNodeState(**options) File "/usr/local/home/vaikunth/src/qserv/lib/python/lsst/qserv/admin/qservAdmin.py", line 660, in setNodeState self._kvI.set(nodeKey, state) File "/usr/local/home/vaikunth/src/qserv/lib/python/lsst/qserv/css/kvInterface.py", line 415, in set self._zk.set(k, v) File "/usr/local/home/vaikunth/qserv/Linux64/kazoo/2.0b1+1/lib/python/kazoo-2.0b1-py2.7.egg/kazoo/client.py", line 1170, in set return self.set_async(path, value, version).get() File "/usr/local/home/vaikunth/qserv/Linux64/kazoo/2.0b1+1/lib/python/kazoo-2.0b1-py2.7.egg/kazoo/client.py", line 1182, in set_async raise TypeError("value must be a byte string") {code}
1
560
DM-2985
06/26/2015 16:37:58
Integrate javascript build with gradle
Integrate javascript build tools webpack with gradle.
2
561
DM-2987
06/26/2015 17:03:12
Modify IpacTableParser to support extra wide table.
IpacTableParser fail to load IPAC table with extra wide headers and columns. Replace the logic for reading headers and columns information so that it will support any file/size.
2
562
DM-2989
06/26/2015 17:17:23
XY plot need to be able to handle multiple tables with the same name
XY plot was relying on a table request object to cache previously loaded tables. This was done for performance reason. However, table request is not reliable since the same request may be submitted multiple times.
2
563
DM-2992
06/26/2015 22:03:30
Search processors to get image, table, or json from an external task
Implement three search processors, which use the External Task Launcher (DM-2991): - to get a table (possibly in binary FITS format) - to get an image - to get JSON
8
564
DM-2993
06/28/2015 01:10:08
Products must not depend on anaconda
{{setupRequired(anaconda)}} should be removed from webservcommon.table. We want to keep the stack buildable with any python 2.7, and should not explicitly depend on anaconda.
1
565
DM-2997
06/29/2015 11:45:23
Bump eups anaconda package to 2.2
By popular request.
1
566
DM-3029
07/01/2015 00:55:34
Set up Slack for evaluation
Free account procured and tested by various volunteers; next step is to apply for non-profit status which gives us the first paid tier free to 100 users.
1
567
DM-3030
07/01/2015 00:57:24
Set up Discourse for evaluation.
Server up on DO at community.lsst.org. Email needs fixing before volunteer users can be invited.
1
568
DM-3031
07/01/2015 07:05:37
Addressing File corruption in iRODS 4.1.x
We examine solutions for repairing corrupt files within an iRODS 4.1.x zone.
2
569
DM-3037
07/02/2015 02:04:59
remove lsst/log wrapper from Qserv
lsst/log API looks stable now, so removing the wrapper would simplify the code.
1
570
DM-3090
07/02/2015 18:38:08
Implement test suite for new class SqlTransaction
Some test that shows that transactions are properly committed/aborted would be nice to have.
1
571
DM-3091
07/03/2015 10:39:02
Remove unused function populateState()
Qserv doesn't seem to relaunch no more chunk query in case it fails (see DM-2643) And this function is now unused: {code:bash} qserv@clrinfopc04:~/src/qserv (master)$ grep -r populateState core/ core/modules/qdisp/Executive.cc:void populateState(lsst::qserv::qdisp::ExecStatus& es, {code}
0.5
572
DM-3102
07/07/2015 10:58:52
Resolve segmentation fault in LoggingEvent destructor
There seems to be a possible race condition in log4cxx::spi::LoggingEvent::~LoggingEvent. I've had multiple segmentation faults in that function. In all cases, another thread was involved in writing. In at least 2 cases, the second thread was in XrdCl::LogOutFile::Write.
5
573
DM-3104
07/08/2015 13:48:31
Add "ORDER BY" clause to lua SQL query on result table
If user query has "ORDER BY", then lua can't just execute "SELECT * FROM result" because the order for such query is not guaranteed. To fix that, we need to add "ORDER BY" clause to the "SELECT * FROM result" query on the lua side. Once we have the above, we might want to remove "ORDER BY" from the query class which runs a merge step on the czar (this has to be done in query analysis step).
8
574
DM-3106
07/09/2015 08:13:11
Add slot for calibration flux
This is a port of [HSC-1005|https://hsc-jira.astro.princeton.edu/jira/browse/HSC-1005].
2
575
DM-3108
07/09/2015 11:33:07
Use aperture flux for photometric calibration
This is a port of work performed on HSC but without a ticket. Relevant commits are: * [05bef6|https://github.com/HyperSuprime-Cam/meas_astrom/commit/05bef629adc37e44ea8482aab88e2eb38a47e3a0] * [4a6be5|https://github.com/HyperSuprime-Cam/meas_astrom/commit/4a6be51c53f61e70f151de7f29863cb723197a99] * [69d35a|https://github.com/HyperSuprime-Cam/obs_subaru/commit/69d35a890234e37c1142ddbeff43e62fe36e6c45] * [9c996d|https://github.com/HyperSuprime-Cam/obs_subaru/commit/9c996d75c423ce03fb54c4300d9c7561b5c1ea99]
1
576
DM-3109
07/09/2015 11:41:15
Add support for accessing schema from QueryContext
When we are analyzing a query, sometimes there are situations where we need to know the schema of tables involved in a query. It will also be useful for checking if user is authorized to run query, and for queries like "SHOW CREATE TABLE". This story involves writing code that will provide access to schema.
3
577
DM-3110
07/09/2015 14:44:37
qserv code cleanup
I made some random cleanup of the qserv code while playing with css v2. I want to push these changes to master, thus I am creating this story for this. It involves improvements to logging in UserQueryFactory and Facade (both are now per-module), removing unnecessary namespace qualifiers, and whitspace cleanup.
1
578
DM-3126
07/13/2015 16:24:18
gcc 4.8 package does not create a symlink bin/cc
I created a new lsst package named "gcc" that contains Mario's gcc 4.8 package. I used it to build lsst_distrib on lsst-dev and it worked just fine. Unfortunately the package does not include bin/cc (which should be a symlink to bin/gcc), and this is wanted because the LSST build system uses cc to build C code. The desired fix is to modify the installer to make a symlink bin/cc that points to bin/gcc.
2
579
DM-3133
07/13/2015 22:53:59
add "dax_" prefix to data access related packages
As agreed at [Data Access Mtg 2015/07/13|https://confluence.lsstcorp.org/display/DM/Data+Access+Meeting+2015-07-13], add dax_ prefix towebserv, webservcommon, webserv_client, dbserv, imgserv, metaserv
1
580
DM-3137
07/14/2015 10:29:00
Handle bad pixels in image stacker
We currently OR together all mask bits, but we need to be cleverer about how we handle pixels that are bad in some but not all inputs. This is a port of work carried out on [HSC-152|https://hsc-jira.astro.princeton.edu/jira/browse/HSC-152].
1
581
DM-3139
07/14/2015 12:50:18
HSC backport: extra "refColumn" class attributes in multiband
This is a transfer for changesets for [HSC-1283|https://hsc-jira.astro.princeton.edu/jira/browse/HSC-1283].
0.5
582
DM-3140
07/14/2015 14:01:53
add gcc to list of packages in lsstsw
Add gcc to the list of packages in etc/repos.yaml in lsstsw
1
583
DM-3141
07/14/2015 15:39:02
Reduce verbosity of astrometry
The astrometry.net solver that runs by default in meas_astrom 10.1 is very verbose. Here's an example running HSC data with an SDSS reference catalog: {code} $ processCcd.py /tigress/HSC/HSC --output /tigress/pprice/lsst --id visit=904020 ccd=49 --clobber-config : Loading config overrride file '/home/pprice/LSST/obs/subaru/config/processCcd.py' WARNING: Unable to use psfex: No module named extensions.psfex.psfexPsfDeterminer hscAstrom is not setup; using LSST's meas_astrom instead Cannot import lsst.meas.multifit: disabling CModel measurements Cannot import lsst.meas.extensions.photometryKron: disabling Kron measurements Cannot enable shapeHSM ('MEAS_EXTENSIONS_SHAPEHSM_DIR'): disabling HSM shape measurements Cannot import lsst.meas.extensions.photometryKron: disabling Kron measurements Cannot enable shapeHSM ('MEAS_EXTENSIONS_SHAPEHSM_DIR'): disabling HSM shape measurements : Loading config overrride file '/home/pprice/LSST/obs/subaru/config/hsc/processCcd.py' : input=/tigress/HSC/HSC : calib=None : output=/tigress/pprice/lsst CameraMapper: Loading registry registry from /tigress/pprice/lsst/_parent/registry.sqlite3 CameraMapper: Loading calibRegistry registry from /tigress/HSC/HSC/CALIB/calibRegistry.sqlite3 processCcd: Processing {'taiObs': '2013-11-02', 'pointing': 671, 'visit': 904020, 'dateObs': '2013-11-02', 'filter': 'HSC-I', 'field': 'STRIPE82L', 'ccd': 49, 'expTime': 30.0} processCcd.isr: Performing ISR on sensor {'taiObs': '2013-11-02', 'pointing': 671, 'visit': 904020, 'dateObs': '2013-11-02', 'filter': 'HSC-I', 'field': 'STRIPE82L', 'ccd': 49, 'expTime': 30.0} processCcd.isr WARNING: Cannot write thumbnail image; hsc.fitsthumb could not be imported. afw.image.MaskedImage WARNING: Expected extension type not found: IMAGE processCcd.isr: Applying linearity corrections to Ccd 49 processCcd.isr.crosstalk: Applying crosstalk correction afw.image.MaskedImage WARNING: Expected extension type not found: IMAGE : Empty WCS extension, using FITS header processCcd.isr: Set 0 BAD pixels to 647.04 processCcd.isr WARNING: There were 6192 unmasked NaNs processCcd.isr WARNING: Cannot write thumbnail image; hsc.fitsthumb could not be imported. processCcd.isr: Flattened sky level: 647.130493 +/- 12.733898 processCcd.isr: Measuring sky levels in 8x16 grids: 648.106765 processCcd.isr: Sky flatness in 8x16 grids - pp: 0.024087 rms: 0.006057 processCcd.calibrate: installInitialPsf fwhm=5.88235294312 pixels; size=15 pixels processCcd.calibrate.repair: Identified 80 cosmic rays. processCcd.calibrate.detection: Detected 303 positive sources to 5 sigma. processCcd.calibrate.detection: Resubtracting the background after object detection processCcd.calibrate.initialMeasurement: Measuring 303 sources (303 parents, 0 children) processCcd.calibrate.astrometry: Applying distortion correction processCcd.calibrate.astrometry: Solving astrometry LoadReferenceObjects: read index files processCcd.calibrate.astrometry.solver: Number of selected sources for astrometry : 258 processCcd.calibrate.astrometry.solver: Got astrometric solution from Astrometry.net LoadReferenceObjects: getting reference objects using center (1023.5, 2084.5) pix = Fk5Coord(320.3431396, 0.5002365, 2000.00) sky and radius 0.00194896 rad LoadReferenceObjects: search for objects at Fk5Coord(320.3431396, 0.5002365, 2000.00) with radius 0.111667372351 deg LoadReferenceObjects: found 495 objects LoadReferenceObjects: trimmed 257 out-of-bbox objects, leaving 238 processCcd.calibrate.astrometry.solver: Fit WCS: use iter 2 because it had less linear scatter than the next iter: 0.307471 vs. 0.320229 pixels processCcd.calibrate.astrometry: 186 astrometric matches processCcd.calibrate.astrometry: Refitting WCS processCcd.calibrate.astrometry: Astrometric scatter: 0.047945 arcsec (with non-linear terms, 174 matches, 12 rejected) processCcd.calibrate.measurePsf: Measuring PSF /tigress/HSC/LSST/stack10_1/Linux64/anaconda/2.1.0-4-g35ca374/lib/python2.7/site-packages/numpy/core/_methods.py:59: RuntimeWarning: Mean of empty slice. warnings.warn("Mean of empty slice.", RuntimeWarning) /tigress/HSC/LSST/stack10_1/Linux64/anaconda/2.1.0-4-g35ca374/lib/python2.7/site-packages/numpy/core/_methods.py:71: RuntimeWarning: invalid value encountered in double_scalars ret = ret.dtype.type(ret / rcount) /home/pprice/LSST/meas/algorithms/python/lsst/meas/algorithms/objectSizeStarSelector.py:143: RuntimeWarning: invalid value encountered in less update = dist < minDist processCcd.calibrate.measurePsf: PSF star selector found 163 candidates processCcd.calibrate.measurePsf: PSF determination using 114/163 stars. processCcd.calibrate.repair: Identified 92 cosmic rays. processCcd.calibrate: Fit and subtracted background processCcd.calibrate.measurement: Measuring 303 sources (303 parents, 0 children) processCcd.calibrate.astrometry: Applying distortion correction processCcd.calibrate.astrometry: Solving astrometry processCcd.calibrate.astrometry.solver: Number of selected sources for astrometry : 258 Solver: Arcsec per pix range: 0.153025, 0.18516 Image size: 2054 x 4186 Quad size range: 205.4, 4662.78 Objs: 0, 50 Parity: 0, normal Use_radec? yes, (320.343, 0.500178), radius 1 deg Verify_pix: 1 Code tol: 0.01 Dist from quad bonus: yes Distractor ratio: 0.25 Log tune-up threshold: inf Log bail threshold: -230.259 Log stoplooking threshold: inf Maxquads 0 Maxmatches 0 Set CRPIX? no Tweak? no Indexes: 3 /tigress/HSC/astrometry_net_data/sdss-dr9-fink-v5b/sdss-dr9-fink-v5b_and_263_0.fits /tigress/HSC/astrometry_net_data/sdss-dr9-fink-v5b/sdss-dr9-fink-v5b_and_263_1.fits /tigress/HSC/astrometry_net_data/sdss-dr9-fink-v5b/sdss-dr9-fink-v5b_and_263_2.fits Field: 258 stars Quad scale range: [641.674, 2208.56] pixels object 1 of 50: 0 quads tried, 0 matched. object 2 of 50: 0 quads tried, 0 matched. object 3 of 50: 0 quads tried, 0 matched. object 4 of 50: 0 quads tried, 0 matched. object 5 of 50: 0 quads tried, 0 matched. object 6 of 50: 0 quads tried, 0 matched. Got a new best match: logodds 787.099. log-odds ratio 787.099 (inf), 178 match, 1 conflict, 75 distractors, 220 index. RA,Dec = (320.343,0.500213), pixel scale 0.167612 arcsec/pix. Hit/miss: Hit/miss: ++-+++++-++++++++++++--++-+--+++++-+-+++++++++-+++++++-+++++-+++++++++++++-++++++-++++++-+++++++-+++ Pixel scale: 0.167612 arcsec/pix. Parity: pos. processCcd.calibrate.astrometry.solver: Got astrometric solution from Astrometry.net LoadReferenceObjects: getting reference objects using center (1023.5, 2084.5) pix = Fk5Coord(320.3431396, 0.5002365, 2000.00) sky and radius 0.00194896 rad LoadReferenceObjects: search for objects at Fk5Coord(320.3431396, 0.5002365, 2000.00) with radius 0.111667328272 deg LoadReferenceObjects: found 495 objects LoadReferenceObjects: trimmed 257 out-of-bbox objects, leaving 238 processCcd.calibrate.astrometry.solver: Fit WCS: use iter 2 because it had less linear scatter than the next iter: 0.306732 vs. 0.320115 pixels processCcd.calibrate.astrometry: 186 astrometric matches processCcd.calibrate.astrometry: Refitting WCS processCcd.calibrate.astrometry: Astrometric scatter: 0.048271 arcsec (with non-linear terms, 174 matches, 12 rejected) processCcd.calibrate.photocal: Not applying color terms because config.applyColorTerms is False processCcd.calibrate.photocal: Magnitude zero point: 30.685281 +/- 0.058711 from 173 stars processCcd.calibrate: Photometric zero-point: 30.685281 processCcd.detection: Detected 1194 positive sources to 5 sigma. processCcd.detection: Resubtracting the background after object detection processCcd.deblend: Deblending 1194 sources processCcd.deblend: Deblended: of 1194 sources, 143 were deblended, creating 358 children, total 1552 sources processCcd.measurement: Measuring 1552 sources (1194 parents, 358 children) processCcd WARNING: Persisting background models processCcd: Matching icSource and Source catalogs to propagate flags. processCcd: Matching src to reference catalogue LoadReferenceObjects: getting reference objects using center (1023.5, 2087.5) pix = Fk5Coord(320.3429016, 0.5001781, 2000.00) sky and radius 0.00195667 rad LoadReferenceObjects: search for objects at Fk5Coord(320.3429016, 0.5001781, 2000.00) with radius 0.112109149864 deg LoadReferenceObjects: found 499 objects LoadReferenceObjects: trimmed 261 out-of-bbox objects, leaving 238 processCcd.calibrate.astrometry.solver: Fit WCS: use iter 1 because it had less linear scatter than the next iter: 0.300624 vs. 0.300652 pixels {code} The verbosity of the astrometry module is out of proportion with the rest of the modules, which makes it difficult to follow the processing. This is a pull request for fixes I have made.
1
584
DM-3142
07/14/2015 16:38:01
Port HSC optimisations for reading astrometry.net catalog
Some astrometry.net catalogs used in production can be quite large, and currently all of the catalog must be read in order to determine bounds for each component. This can make the loading of the catalog quite slow (e.g., 144 sec out of 177 sec to process an HSC image, using an SDSS DR9 catalog). We have HSC code that caches the required information, making the catalog load much faster. The code is from the following HSC issues: * [HSC-1087: Make astrometry faster|https://hsc-jira.astro.princeton.edu/jira/browse/HSC-1087] * [HSC-1143: Floating point exception in astrometry|https://hsc-jira.astro.princeton.edu/jira/browse/HSC-1143] * [HSC-1178: Faster construction of Astrometry.net catalog|https://hsc-jira.astro.princeton.edu/jira/browse/HSC-1178] * [HSC-1179: Assertion failure in astrometry.net|https://hsc-jira.astro.princeton.edu/jira/browse/HSC-1178] While there have been some changes to the LSST astrometry code that will mean we can't directly cherry-pick the HSC code, yet I think the main structure remains, so the approach can be copied without much effort.
3
585
DM-3151
07/15/2015 14:29:35
CI validation of lsstsw's repos.yaml
Having some sort of automatic "lint check" of the repos.yaml file is desirable due to the length of time required to do a full up test of lsstsw. It should be possible to cobble a sanity checker together that can be run from travis-ci.
1
586
DM-3153
07/16/2015 13:20:51
meas_base still uses eups in tests
{{tests/centroid.py}} uses EUPS to determine the location of the data file used by the test. This needs to be fixed to use a location relative to the test file.
1
587
DM-3154
07/16/2015 14:30:21
meas_astrom still using eups in tests
In DM-2636 we modified the tests to be skipped if EUPS is not available. I've had a closer look and all the ones I have glanced at seem to be easily fixable to run without EUPS. The tests seem to be using EUPS to locate the {{meas_astrom}} (effectively asking EUPS for the location of the test file), then a path to the astrometry.net test data within the {{tests/}} directory is located and then EUPS is asked to setup {{astrometry_net_data}} using that path. Since the table files are all empty this is the equivalent to simply assigning the {{ASTROMETRY_NET_DATA_DIR}} environment variable directly to the path in the tests sub-directory. Making this change to one of the tests seems to work so I will change the rest.
2
588
DM-3160
07/16/2015 17:17:11
Improve name and default value of MeasureApCorrConfig.refFluxAlg
The config name refFluxAlg should be refFluxField (since it is a flux field name prefix) and the default should be base_CircularApertureFlux_5 instead of base_CircularApertureFlux_0 (thus giving a reasonable radius instead of one that is ridiculously too small). I should have handled it on DM-436 but it slipped through.
1
589
DM-3173
07/17/2015 14:28:14
In CalibrateTask if one disables psf determination then aperture correction will fail
In pipe_tasks CalibrateTask, by default aperture correction uses source flag "calib_psfUsed" to decide if a source is acceptable to use for measuring aperture correction. If PSF determination is disabled then this flag is never set and aperture correction will fail with a complaint that there are 0 sources.
1
590
DM-3174
07/17/2015 15:57:16
CalibrateTask instantiates measureApCorr, applyApCorr and photocal subtasks using the wrong schema
CalibrateTask instantiates measureApCorr, applyApCorr and photocal subtasks using the initial schema "schema1" instead of the final schema. Normally this would not matter since most of the fields are shared, but aperture correction wants aperture flux at a larger radius than the narrowest option, and schema1 may only provide the narrowest option. In any case it is safer to instantiate those three subtasks using the final schema, since they are only ever run on the final schema. (Several other subtasks are run on both the initial and final schema, and should continue to be instantiated using schema1).
1
591
DM-3175
07/17/2015 16:23:28
Build 2015_08 Qserv Release
See https://confluence.lsstcorp.org/display/DM/Qserv+Release+Procedure for recipe.
1
592
DM-3176
07/17/2015 16:27:45
Build and Test 2015_09 Qserv Release
See https://confluence.lsstcorp.org/display/DM/Qserv+Release+Procedure for recipe.
3
593
DM-3177
07/17/2015 16:27:56
Build and Test 2015_10 Qserv Release
See https://confluence.lsstcorp.org/display/DM/Qserv+Release+Procedure for recipe.
3
594
DM-3178
07/17/2015 16:28:05
Build and Test 2015_11 Qserv Release
See https://confluence.lsstcorp.org/display/DM/Qserv+Release+Procedure for recipe.
3
595
DM-3179
07/17/2015 16:28:14
Build and Test 2015_12 Qserv Release
See https://confluence.lsstcorp.org/display/DM/Qserv+Release+Procedure for recipe.
3
596
DM-3181
07/17/2015 16:28:32
Build and Test 2016_02 Qserv Release
See https://confluence.lsstcorp.org/display/DM/Qserv+Release+Procedure for recipe.
1
597
DM-3182
07/19/2015 11:32:19
Aperture correction not applied for some measurements
Aperture correction needs to be applied every time a measurement is run after it is first measured in CalibrateTask. As of DM-436 aperture correction is only being applied in CalibrateTask, which for example means the information is overwritten during the final measurement of ProcessImageTask.run. This is probably best done by adding code to apply aperture correction to BaseMeasurementTask, so it is inherited by SingleFrameMeasurementTask and ForcedMeasurementTask.
5
598
DM-3192
07/20/2015 13:19:15
Re-implement watcher based on new CSS implementation
Current watcher implementation (in {{admin/bin/watcher.py}}) is based on direct watching of zookeeper updates via kazoo. If we are to re-implement CSS based on mysql then watcher needs to be updated to support it. Mysql does not have watch mechanism, so it has to be done via polling or using some other mechanism if synchronous notifications are needed.
8