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

Astropy blackbody function deprecated #49

Open
aadya29 opened this issue Sep 10, 2024 · 3 comments
Open

Astropy blackbody function deprecated #49

aadya29 opened this issue Sep 10, 2024 · 3 comments

Comments

@aadya29
Copy link

aadya29 commented Sep 10, 2024

Describe the bug
The pwv_atm.trans_for_pwv() function relies on astropy.modeling.blackbody which has since been deprecated. I tried to install a previous version of astropy (v3.2.3) but the setup tools required for that have been deprecated too.

To Reproduce

  1. Install pwv_kpno on a conda environment (>python 3.11.0)
  2. try to run the pwv_atm.trans_for_pwv(2.3)
  3. Error: ' No module named 'astropy.modeling.blackbody' '
  4. See here for astropy version history for when it was deprecated
  5. Pip install astropy==3.2.3
  6. Error: setup tools has deprecated an old configuration used by the old version of astropy.

Expected behavior
Ideally I expected a table showing the atmospheric transmission for a pwv of 2.3mm.

Screenshots
Screenshot 2024-09-10 at 6 32 50 PM
Screenshot 2024-09-10 at 6 34 09 PM

Desktop (please complete the following information):

  • OS: MacOS 14.3.1
  • IDE: VSCode
@gnarayan
Copy link

@djperrefort - gentle nudge - this is the best non-MODTRAN/other model source for PWV transmission, and it'd be a real shame if it was deprecated.

@djperrefort
Copy link
Member

@gnarayan Thanks for the nudge. I talked to @wmwv the other day and he graciously agreed to take over maintenance. Perhaps he can update the dependencies and quickly test the new integrations?

@MatthewDowicz
Copy link

@wmwv any updates on this?

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

4 participants