[LSST|dm-users 687] Re: Is there a verbose measurement argument?

Chris Walter chris.walter at duke.edu
Thu May 28 10:56:54 PDT 2015


Is there a way for him to increase the verbosity in the new class by doing something like this:

pexLog.Log.getDefaultLog().setThreshold(pexLog.Log.WARN)

(which I used to make it less verbose)?

-Chris

> On May 27, 2015, at 8:58 PM, Jim Bosch <jbosch at astro.princeton.edu> wrote:
> 
> The best way to figure out what's going on is to look at the detailed flags.  If you have a SourceRecord for a source you want to inspect, do:
> 
> print source.extract("modelfit_CModel_*")
> 
> That'll create a dict from all of the fields that correspond to CModel outputs.  You'll note that many of them are flags, and some of them will tell you what went wrong.  You can get more information on what the flags mean by doing:
> 
> print source.getSchema().extract("modelfit_CModel_*")
> 
> 
> Jim
> 
> 
> 
> On Wed, May 27, 2015 at 8:27 PM, Will Dawson <will at dawsonresearch.com> wrote:
> Is there a way to turn on verbose logging output during the measurement phase (e.g. is there a *kwarg I can pass to the function `lsst.meas.base.SingleFrameMeasurementTask`?
> 
> When I run some of the meas_model algorithms on an image I am getting out NaN’s and it looks like it is not doing anything, e.g. modelfit_CModel_initial_nIter = 0
> 
> But I don’t get any warnings or errors, so I am just figure out where things are going wrong.
> 
> Thank you,
> Will
> 
> _______________________________________________
> dm-users mailing list
> dm-users at lists.lsst.org
> https://lists.lsst.org/mailman/listinfo/dm-users
> 
> _______________________________________________
> dm-users mailing list
> dm-users at lists.lsst.org
> https://lists.lsst.org/mailman/listinfo/dm-users



More information about the dm-users mailing list