Closed shashankdholakia closed 4 years ago
I have added the following lines to my bash profile:
export PYTHONPATH=$PYTHONPATH:/Users/shashank/PyPopStar
export PYSYN_CDBS=/Users/shashank/cdbs
export POPSTAR_MODELS=/Users/shashank/
Note that the evolution directory is actually /Users/shashank/evolution. If the directory is changed to this, it immediately errors out with:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/shashank/evolution/evolution/merged/baraffe_pisa_ekstrom_parsec/z015_rot/iso_6.70.fits'
Hello,
Thank you for your feedback!
Regarding your first comment:
It looks like you are missing the cdbs/mtab
directory. This is part of the synphot1.tar.gz file you downloaded from STSci (see "Set Up CDBS directory" section of Installation instructions). When you unzip that file, you will find the mtab directory under /grp/hst/cdbs/mtab
. Move mtab
to your PYSYN_CDBS
directory and that error should be fixed.
Regarding your second comment:
You are correct that the POPSTAR_MODELS environment variable should point to the directory where your evolution/
directory exists, rather than the evolution
directory itself. This was a typo in the documentation, and has been fixed. So, the "FileNotFoundError" should go away when you set
export POPSTAR_MODELS=/Users/shashank/
-Matt
I was able to get the package to install and import without errors in the jupyter notebook.
Importing gives the warning:
When the 5Myr cluster isochrone cell is run (second code cell), it does run for a long time, and says (full traceback pasted below, minus some of the code output above this: