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

Bug while change from Carrington to Stoneyhurst coords if reference long is >180 #16

Open
jgieseler opened this issue Jan 13, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jgieseler
Copy link
Owner

jgieseler commented Jan 13, 2023

If the user chooses to plot a reference with a Carrington longitude greater than 180, and then changes the coordinate system to Stoneyhurst, this causes a streamlit.errors.StreamlitAPIException. Probably because the same reference longitude value is still used, but Stoneyhurst longitudes are defined from -180 to 180 (in contrast to 0 to 360 for Carrington).

1st step:
image

2nd step:
image

@jgieseler jgieseler added the bug Something isn't working label Jan 13, 2023
@jgieseler jgieseler self-assigned this Jan 13, 2023
@jgieseler
Copy link
Owner Author

The other way around (selecting a Stoneyhurst longitude <0, then changing to Carrington) is caught by the system, showing a pop-up notification "Please select a value that is no less than 0."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant