[lsst-dm-stack-users] LsstSimMapper questions
Simon Krughoff
simon.krughoff at gmail.com
Tue Aug 27 13:39:20 PDT 2013
Hi Chris,
O.K. I see. Thanks for clearing that up.
Simon
On Tue, Aug 27, 2013 at 1:16 PM, Chris Walter <chris.walter at duke.edu> wrote:
> Hi Simon,
>
> Just one piece of information to help complete the report:
>
> 'git' is in my path, but, as John just answered, I used the tar ball from
> the git repository from the web interface to build it.
>
> -Chris
>
> On Aug 27, 2013, at 4:07 PM, Simon Krughoff <simon.krughoff at gmail.com>
> wrote:
>
> > 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
>
>
--
K. Simon Krughoff
University of Washington
Department of Astronomy
Physics-Astronomy Bldg.
3910 15th Ave NE
Room C319
Seattle WA 98195-0002
USA
(206)543-9487
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listserv.lsstcorp.org/pipermail/dm-users/attachments/20130827/53f9a10d/attachment.html>
More information about the dm-users
mailing list