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

ENH: Plot field line trace #13

Open
KCollins opened this issue May 27, 2024 · 3 comments
Open

ENH: Plot field line trace #13

KCollins opened this issue May 27, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@KCollins
Copy link
Owner

Description

Add a function to produce plots of field line traces. (W2NAF already has some code to do this with geopack, if I recall correctly.)

Potential impact

  • Not critical functionality; nice-to-have

Potential solution(s)

When performing a field line trace, include an option (perhaps called from findconj?) to generate and save a .csv/.pkl/df/plot of the field line. Might be 2D or 3D. Could be useful to generate for multiple stations.
cf. https://book.magneticearth.org/geomag-obs-models/03a_magnetic-field-line-tracing

Alternatives

See if geopack or another package already provides this functionality before rewriting it.

Additional context

N/A

@KCollins
Copy link
Owner Author

KCollins commented Jul 3, 2024

Per W2RUF, Tsyganenko 96 requires more parameters than 87. Would be good to have as an option but will require handling additional variables.

@aburrell
Copy link
Collaborator

aburrell commented Jul 3, 2024

If these are added as kwargs or optional kwargs, it will have minimal impact on the existing classes/functions.

@KCollins
Copy link
Owner Author

I've been using plotly express for visualizations. It can't handle 3D plots, but perhaps globe.gl can: https://github.com/vasturiano/globe.gl/tree/master/example/random-paths

@KCollins KCollins added this to the v0.4.0 release milestone Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants