You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My first run of this notebook was missing gollum as it's only listed in the docs/requirements.txt file, which is fine. I installed with pip install gollum (I didn't use the full docs/requirements.txt because I didn't want to bother with sphinx, etc.).
After pip install I get the following exception on run:
In [7]: native_template=PHOENIXSpectrum(teff=9600, logg=5.0).normalize()
---------------------------------------------------------------------------AssertionErrorTraceback (mostrecentcalllast)
InputIn [7], in<cellline: 1>()
---->1native_template=PHOENIXSpectrum(teff=9600, logg=5.0).normalize()
File~/miniforge3/envs/muler_dev/lib/python3.8/site-packages/gollum/phoenix.py:72, inPHOENIXSpectrum.__init__(self, teff, logg, metallicity, path, wl_lo, wl_hi, *args, **kwargs)
70if (teffisnotNone) & (loggisnotNone):
71base_path=os.path.expanduser(path)
--->72assertos.path.exists(
73base_path74 ), "You must specify the path to local PHOENIX models"76wl_filename=base_path+"/WAVE_PHOENIX-ACES-AGSS-COND-2011.fits"77assertos.path.exists(
78wl_filename79 ), "You need to place the PHOENIX models in {}".format(base_path)
AssertionError: YoumustspecifythepathtolocalPHOENIXmodels
Woohoo! I have solved this issue in a slick way--- I just released gollum v0.2.0 which introduces a newdownload=True option for the PHOENIX synthetic spectral models. Now muler newcomers and cloud-based venues like readthedocs can easily fetch a PHOENIX model without having to download and store the voluminous model grid locally. Yay!
My first run of this notebook was missing
gollum
as it's only listed in thedocs/requirements.txt
file, which is fine. I installed withpip install gollum
(I didn't use the fulldocs/requirements.txt
because I didn't want to bother withsphinx
, etc.).After
pip
install I get the following exception on run:Looks like a hard-coded path in
gollum
here:https://github.com/BrownDwarf/gollum/blob/main/src/gollum/phoenix.py#L66
Edit: this also prevents me from running the Telluric correction and Masking plus notebooks.
The text was updated successfully, but these errors were encountered: