Open drphilmarshall opened 9 years ago
Did you already do
cd calib Fetch.csh
?
On 30 June 2015 at 03:14, Phil Marshall notifications@github.com wrote:
Assigned #37 https://github.com/drphilmarshall/Pangloss/issues/37 to @tcollett https://github.com/tcollett.
— Reply to this email directly or view it on GitHub https://github.com/drphilmarshall/Pangloss/issues/37#event-343675560.
Yes, I ran Fetch.csh
and it completed fine. I see that it contains the following line:
set targets = (\
Millennium/kappa_example.fits \
Millennium/catalog_example.txt \
SHMR/HaloMassRedshiftCatalog.pickle )
But the example.config
file wants
ObservedCatalog: $PANGLOSS_DIR/example/example_catalog.txt
I guess the right thing to do is to extend Fetch.csh
to grab this file and put it in the example folder? If it's not too big you could also just check it in to the git repo.
So you've got the data, but it's in the wrong folder?
On 30 June 2015 at 16:15, Phil Marshall notifications@github.com wrote:
Yes, I ran Fetch.csh and it completed fine. I see that it contains the following line:
set targets = (\ Millennium/kappa_example.fits \ Millennium/catalog_example.txt \ SHMR/HaloMassRedshiftCatalog.pickle )
But the example.config file wants
ObservedCatalog: $PANGLOSS_DIR/example/example_catalog.txt
I guess the right thing to do is to extend Fetch.csh to grab this file and put it in the example folder? If it's not too big you could also just check it in to the git repo.
— Reply to this email directly or view it on GitHub https://github.com/drphilmarshall/Pangloss/issues/37#issuecomment-117223388 .
OK - I'll try using Millennium/catalog_example.txt as example/example_catalog.txt, and if it works I'll edit the example.config. Thanks Tom!
On Tue, Jun 30, 2015 at 9:33 AM, tcollett notifications@github.com wrote:
So you've got the data, but it's in the wrong folder?
On 30 June 2015 at 16:15, Phil Marshall notifications@github.com wrote:
Yes, I ran Fetch.csh and it completed fine. I see that it contains the following line:
set targets = (\ Millennium/kappa_example.fits \ Millennium/catalog_example.txt \ SHMR/HaloMassRedshiftCatalog.pickle )
But the example.config file wants
ObservedCatalog: $PANGLOSS_DIR/example/example_catalog.txt
I guess the right thing to do is to extend Fetch.csh to grab this file and put it in the example folder? If it's not too big you could also just check it in to the git repo.
— Reply to this email directly or view it on GitHub < https://github.com/drphilmarshall/Pangloss/issues/37#issuecomment-117223388
.
— Reply to this email directly or view it on GitHub https://github.com/drphilmarshall/Pangloss/issues/37#issuecomment-117247406 .
No worries. Did it work? On 30 Jun 2015 18:17, "Phil Marshall" notifications@github.com wrote:
OK - I'll try using Millennium/catalog_example.txt as example/example_catalog.txt, and if it works I'll edit the example.config. Thanks Tom!
On Tue, Jun 30, 2015 at 9:33 AM, tcollett notifications@github.com wrote:
So you've got the data, but it's in the wrong folder?
On 30 June 2015 at 16:15, Phil Marshall notifications@github.com wrote:
Yes, I ran Fetch.csh and it completed fine. I see that it contains the following line:
set targets = (\ Millennium/kappa_example.fits \ Millennium/catalog_example.txt \ SHMR/HaloMassRedshiftCatalog.pickle )
But the example.config file wants
ObservedCatalog: $PANGLOSS_DIR/example/example_catalog.txt
I guess the right thing to do is to extend Fetch.csh to grab this file and put it in the example folder? If it's not too big you could also just check it in to the git repo.
— Reply to this email directly or view it on GitHub <
https://github.com/drphilmarshall/Pangloss/issues/37#issuecomment-117223388
.
— Reply to this email directly or view it on GitHub < https://github.com/drphilmarshall/Pangloss/issues/37#issuecomment-117247406
.
— Reply to this email directly or view it on GitHub https://github.com/drphilmarshall/Pangloss/issues/37#issuecomment-117264514 .
Almost: Drill.py
gives this message:
Drill: Taking instructions from example.config Drill: Making 1000 calibration lightcones in 1 sky patches: Drill: Reading in calibration catalog from /Users/pjm/work/stronglensing/H0/lightcones/Pangloss/calib/Millennium/catalog_example.txt...
... Drill: Reading in observed catalog: /Users/pjm/work/stronglensing/H0/lightcones/Pangloss/example/example_catalog.txt Lightcone: WARNING: no galaxies here! Drill: Observed lightcone pickled to /Users/pjm/work/stronglensing/H0/lightcones/Pangloss/example/example_catalog_lightcone.pickle
So I'm thinking that calib/Millennium/catalog_example.txt
is not the right catalog to be used as an example ObservedCatalog
... I'll put the code that I'm running in a separate branch for you to play around with - watch out though, we've switched to astropy now so you'll need to have that installed.
Actually, scratch that - too many files have been changed! If you want to try reproducing my result, please checkout the wl
branch and edit there. Thanks @tcollett !
@tcollett, is the repo missing a file? I am running the example, which runs fine (in the wl branch, using astropy tables!) until line 239 of
Drill.py