[lsst-dm-stack-users] LsstSimMapper questions

Simon Krughoff simon.krughoff at gmail.com
Tue Aug 27 13:07:57 PDT 2013


Chris,

On Tue, Aug 27, 2013 at 12:55 PM, Kian-Tat Lim <ktl at slac.stanford.edu>wrote:

> Chris,
>
> > The first is a small bug/issue.  At least with some tests I am running
> > with PhoSim version 3.3.2 the program produces FITS files which have
> > VERSION = none in the metadata.  This causes the line
> >
> > if md.exists("VERSION") and md.getInt("VERSION") < 16952:
> >
> > in lsstSimMapper.py to fail with a type error since although it is
> > empty it the field still exists.
>
> Is the value of VERSION literally "none" or is it just empty?  I'm not
> sure that an empty value is legal FITS.  In any case, I'd be tempted to
> say the fault is PhoSim's on this one.
>
> This is a phosim issue.  The phosim makefile tries to figure out what
version of the code you are compiling by using git commands.  If git is not
in your path, it does not record the correct version and can cause this
error.

I'll file a ticket on this issue.  Thanks for bringing it up.

Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listserv.lsstcorp.org/pipermail/dm-users/attachments/20130827/a169b5aa/attachment.html>


More information about the dm-users mailing list