Conversation
|
Thanks Lucas. It looks OK to me. To celebrate the rare occurence of the addition of a new magnetic field model, I suggest incrementing the version number to 5.1.0 . |
| c*************************************************************************************************** | ||
| c | ||
| c Boberg extension refitted for T89c | ||
| c Authors : L. Nicolle, A. Brunet |
There was a problem hiding this comment.
We should add @NLarsen15, as he did the fits for the coeffcients.
| c | ||
| c | ||
| if (kext .eq. 15) then | ||
| c |
There was a problem hiding this comment.
Maybe add a comment mentionning this is for T89+Boberg
| - Based on T89a P. Boberg extension (https://doi.org/10.1029/95GL00948) | ||
| - Refitted on T89c by N. Larsen | ||
| - Behavior : | ||
| - if Kp_ < 57, same as model 4 (T89c) |
There was a problem hiding this comment.
Maybe clearer if we say: Kp <= 5+ and Kp >= 6-
|
Hi All, Sorry for the slow reply, last week was a holiday in Japan. The implementation looks good to me, good work. I will let you know as soon as there is a reference for the updated Bobergs so that it can be included in the code.
|
|
Hi all, Fan |
|
Hi @drflei, Best, |
Follow #11
Description
This PR adds a new external magnetic field model (
kext=15) implementing the Boberg extension of the Tsyganenko 89c model, allowing the ring current component of T89c to be extended using Dst.This work follows the discussion in PR #11. Instead of modifying the existing T89c implementation (
kext=4), a separate model is introduced in order to preserve the original T89c behaviour.This implementation follows the approach described by Boberg et al. https://doi.org/10.1029/95GL00948, which extends the T89 ring current coefficient C5 using a linear Dst dependence.$$Kp < 57$$ , but it uses Dst to drive the ring current above.
The model behave like T89C for
Since the original relation was derived for T89a, a new fit was performed for the T89c C5 coefficient (N. Larsen, unpublished), giving the following relationship :
For practical considerations, if the provided Dst is either the OMNI* or IRBEM
BADDATAvalue (respectively99999or-1e31), Dst is computed from Kp using an empirical relationship between the mean Dst value and Kp class derived from the OMNI dataset.OMNI* https://omniweb.gsfc.nasa.gov/html/ow_data.html
Implementation details
general_information.rstkextTests
Tests were performed to ensure consistency when switching between T89C and T89BOBERG models and to validate the Dst handling:
As expected, there is no difference when
Kp<57.When
Kp>=57, changinKpdoes not make any difference anymore when Dst is given but it does when Dst is set toBADDATA, as expected.