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

[FEAT] Improve dipole field specification #43

Open
aburrell opened this issue Mar 17, 2021 · 4 comments
Open

[FEAT] Improve dipole field specification #43

aburrell opened this issue Mar 17, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@aburrell
Copy link
Contributor

Is your feature request related to a problem? Please describe.
In src/bfield.cpp, the following lines state:

else if (input.get_bfield_type() == "dipole") {
    // This is an approximation right now, due to the fact that the
    // pole on some planets (including Earth), have an offset, so the
    // pole location should be altitude dependent.  For many planets,
    // this is a very small error, but should be fixed at some point.

Describe the solution you'd like
I would like this error to be fixed at some point.

Describe alternatives you've considered
Leaving only a simple dipole field

@aburrell aburrell added the enhancement New feature or request label Mar 17, 2021
@aburrell aburrell mentioned this issue Mar 17, 2021
6 tasks
@aaronjridley
Copy link
Contributor

In general, we should implement different magnetic field models. For example: http://superdarn.thayer.dartmouth.edu/aacgm.html
or
https://www.ngdc.noaa.gov/geomag/models.shtml

@aburrell
Copy link
Contributor Author

I would recommend using apex coordinates of AACGM-V2 coordinates, as they are undefined near the SAA.

@aaronjridley
Copy link
Contributor

Do you know if we can get apex coordinates in C? (GITM uses APEX, so I am very used to APEX...) I am hoping to keep as much in C / C++ as possible. If we have to use fortran, we can figure out how to compile it in, but it would be nice to isolate is as much as possible.

@aburrell
Copy link
Contributor Author

aburrell commented Apr 14, 2023 via email

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