I recently tried to update MAF, and ended up opting to reinstall MAF fresh. Having done so, I can no longer get the metrics I’ve written to run.
This is what seems to be the relevant errors that I’m getting:
Querying database Summary with no constraint for columns ['fieldId', 'expMJD', 'fieldRA', 'fieldDec'].
/home/mike/lsst/stack/miniconda3-4.3.21-10a4fa6/Linux64/sims_maf/2.4.0.sims+1/python/lsst/sims/maf/metricBundles/metricBundleGroup.py:269: UserWarning: One or more of the columns requested from the database was not available. Skipping constraint
' Skipping constraint %s' % constraint)
This seems, to me, like it might be coming from the fieldID column specifically. I’m working with the enigma OpSim, and in there the field is labeled as ‘fieldID’, however in the error message, it’s listed as ‘fieldId’ and my concern is that this may be a case-sensitivity issue. I’m using the Opsimfieldslicer for this run.
I’m not sure what else may be causing this error, as the columns are all present when I view the database independently of running a metric.