-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
Issue with reading JWST MRS cubes #1140
Comments
Hmm, I haven't run into this, and I was unable to reproduce locally. What happens if you just try |
This imported just fine when I run python in terminal. Strange. |
That is odd. I would probably try reinstalling |
Unfortunately that didn't work. I found a way to accomplish what I needed to via a different package than specutils, but I hope this issue can get resolved later. |
What is the full traceback leading to that error? That would help track this down if it's something on our end. As-is, without being able to reproduce the error with the package versions you posted, I can't fix it. |
|
Hmm, looks like this could be ASDF-related. Could you tell me what the output of |
|
Hm, some of those are out of date compared to what I have. Have you tried installing specutils in a fresh environment to ensure you have up-to-date/compatible package versions? I downgraded my |
I am already using an isolated conda environment. I can export an environment file if you'd like to try it? |
Sure. I guess my question was more "when was the environment created", in case it's older and something didn't get updated that was needed for compatibility. But yes, the env export or pip list would help. |
name: correct_cube
|
Hi all, I ran into an issue with reading JWST MRS cubes. Is this a known issue or have others run into this problem before?
spec1d = Spectrum1D.read('file_s3d.fits')
ImportError: cannot import name 'convert_fitsrec_to_array_in_tree' from 'stdatamodels.util'
specutils version: 1.15.1.dev6+g28b0cdb
stdatamodels version: 1.10.2.dev5+g0326fd4
python version: 3.12.2
The text was updated successfully, but these errors were encountered: