[lsst-dm-stack-users] LsstSimMapper questions

Chris Walter chris.walter at duke.edu
Tue Aug 27 13:16:43 PDT 2013


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





More information about the dm-users mailing list