Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPS_SETUP ERROR: wavelength grid cannot be opened #258

Closed
Tiantian92 opened this issue Jan 23, 2024 · 4 comments
Closed

SPS_SETUP ERROR: wavelength grid cannot be opened #258

Tiantian92 opened this issue Jan 23, 2024 · 4 comments

Comments

@Tiantian92
Copy link

Hi,
I met this problem when I use Prospector: SPS_SETUP ERROR: wavelength grid cannot be opened.
numpy: 1.26.3
scipy: 1.12.0
h5py: 3.10.0
fsps: 0.4.6
prospect: 1.2.0

And I can't do
cd $SPS_HOME
git pull

@dfm
Copy link
Owner

dfm commented Jan 23, 2024

When you say that you can't do the above command, what do you mean specifically? Can you provide a full report of the error message you see so that we can help debug?

@Tiantian92
Copy link
Author

Hi, I put the command, the feedback is as following:

(prospector) apple@Apple python-fsps % cd $SPS_HOME
(prospector) apple@Apple fsps-3.2 % git pull
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

git branch --set-upstream-to=<remote>/<branch> main

@dfm
Copy link
Owner

dfm commented Feb 7, 2024

Thanks - this looks like FSPS was installed using a .zip file rather than using git. It also looks like that version is a few years out of date (3.2 was released in May 2021)! I'd recommend following the instructions in the FSPS README to install using git.

@Tiantian92
Copy link
Author

The problem is resolved!!! Now I can run Prospector.
Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants