Skip to content

Fix airmass calculation to extract first element#201

Open
schlafly wants to merge 1 commit into
mainfrom
numpy-1-vs-numpy-2-compatibility-issue
Open

Fix airmass calculation to extract first element#201
schlafly wants to merge 1 commit into
mainfrom
numpy-1-vs-numpy-2-compatibility-issue

Conversation

@schlafly

@schlafly schlafly commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

An update to the KPNO numpy / python environment caused an error on this line; empirically, this PR fixed the issue.

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 35.105%. remained the same — numpy-1-vs-numpy-2-compatibility-issue into main

@schlafly

schlafly commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

FWIW, asking Claude, the likely path is:

  • numpy 1.25 (June 2023) deprecates this, numpy 1->2 is irrelevant
  • we have on, at least in the new environment, warnings-as-errors to turn the deprecation warning into a failure

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

Successfully merging this pull request may close these issues.

2 participants