Closed ddasilva closed 2 years ago
I modified the code in my fork to skip the inside magnetopause condition and it works as expected. Would you be open to accepting a merge request that adds a keyword argument to the model that skips the inside-magnetopause check?
Hi Daniel,
To be honest, the reason I did that originally was to stop tracing outside of the MP boundary because that was all I needed at the time.
I would be happy to review your changes if you submit a pull request. Thanks for so quickly adding this option - saves me programming it up!
Cheers, Matt.
Great! Would you mind if we call the option WithinMPOnly? Does defaulting to False work for you?
That sounds good to me!
I was wondering what is the rational for this code producing NaN's outside the magnetopause. Is there a way to turn that off? The Tsyganenko models are defined outside the magnetopause, and define structure on both sides which would be useful for my analysis.