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

IPE transport revisit #30

Closed
twfang opened this issue Apr 29, 2020 · 10 comments
Closed

IPE transport revisit #30

twfang opened this issue Apr 29, 2020 · 10 comments
Assignees
Labels

Comments

@twfang
Copy link
Contributor

twfang commented Apr 29, 2020

In order to understand the impact of 200km constrain on the model result, I have done two different runs. The default one is the current version of WAM-IPE while the other one results with removing the line of code.

All the results are the WAM-IPE simulation from 2013031600 to 2013031612 with time-varying drivers. This runs with self-consistent electrodynamics with Weimer 2005 at high-latitudes, the aurora is turned on, no plasma depletion is included.

It looks like everything behaves much better without the constrain. Also, the nighttime density becomes much larger when the constrain is taken away.

TEC:
Default (with 200km constrain)
TEC_default

Modified (no 200km constrain)
TEC_no200km

NE at 150km:
Default (with 200km constrain)
NE150km_default

Modified (no 200km constrain)
NE150km_no200km

O+ density at 0316 6UT
Default (with 200km constrain)
oplus_201303160600_default

Modified (no 200km constrain)
oplus_201303160600_no200km

Note that the scales are different in each plot!

O+ velocity at 0316 6UT
Default (with 200km constrain)
voplus_201303160600_default

Modified (no 200km constrain)
voplus_201303160600_no200km

O+ density at 0316 12UT
Default (with 200km constrain)
oplus_201303161200_default

Modified (no 200km constrain)
oplus_201303161200_no200km

O+ velocity at 0316 12UT
Default (with 200km constrain)
voplus_201303161200_default

Modified (no 200km constrain)
voplus_201303161200_no200km

@twfang
Copy link
Contributor Author

twfang commented May 4, 2020

Unfortunately, the model starts to produce NaNs after a longer test. George and I will have to look into the problem before we make any changes.

@gmillward
Copy link
Contributor

NaN traced back to -ve Te at low altitudes for flux-tube mp=73, lp=46. The -ve Te then traced to an issue with q-coordinate interpolation in the ExB transport routine. Investigating the issue as it calls into question all of the q-coordinate interpolation in general (ie, has Q been calculated correctly for the IPE grid?)

Here are the q values at low altitudes for the flux-tubes around mp73 lp46

              Alt km      mp73 lp46    mp73 lp47    mp74 lp46  mp74 lp47

    0      90.0000     0.521460     0.499284     0.517652     0.495333

        1      92.0000     0.520902     0.498723     0.517095     0.494774
        2      94.0000     0.520344     0.498163     0.516538     0.494215
        3      96.0000     0.519787     0.497603     0.515982     0.493657
        4      98.0000     0.519230     0.497043     0.515426     0.493099
        5      100.000     0.518673     0.496485     0.514871     0.492542
        6      102.000     0.518117     0.495926     0.514316     0.491985
        7      104.000     0.517562     0.495369     0.513762     0.491428
        8      106.000     0.517007     0.494811     0.513209     0.490873
        9      108.000     0.516453     0.494255     0.512656     0.490317
      10      110.000     0.515899     0.493698     0.512103     0.489762
      11      112.000     0.515346     0.493143     0.511551     0.489209
      12      114.000     0.514793     0.492588     0.511000     0.488655
      13      116.000     0.514241     0.492033     0.510449     0.488102
      14      118.000     0.513690     0.491480     0.509899     0.487550
      15      120.000     0.513139     0.490926     0.509349     0.486998
      16      122.000     0.512588     0.490373     0.508800     0.486446
      17      124.000     0.512038     0.489821     0.508251     0.485895
      18      126.000     0.511489     0.489269     0.507703     0.485344
      19      128.000     0.510940     0.488717     0.507155     0.484795

@gmillward
Copy link
Contributor

1
2
3
4
5

@gmillward
Copy link
Contributor

OK, here, for a given longitude slice (in this case mp=73), are the points in the ExB transport q interpolation that have not solved properly and left problematic factors (greater than 1). All below 200km, more towards the equator, and all in the Northern hemisphere:

incorrect_q_interp_locations

@timfullerrowell
Copy link

timfullerrowell commented May 20, 2020 via email

@gmillward
Copy link
Contributor

gmillward commented May 20, 2020 via email

@gmillward
Copy link
Contributor

fixed the problem ^^ - now any ExB convection that tracks to points lower than 90km just come from that 90km, which 'should' work fine. Just tested with a 2 day run of the 20150316 storm - no NaNs anywhere so hopeful the results will look good.

@timfullerrowell
Copy link

timfullerrowell commented May 21, 2020 via email

@gmillward
Copy link
Contributor

Just need to look at the results - hopefully, all of that 'mess' around 200km and below will now have gone

@twfang
Copy link
Contributor Author

twfang commented Jun 24, 2020

The 200km problem has been resolved with the latest transport code. See details on PR 34.
NOAA-SWPC/GSMWAM-IPE#34

@twfang twfang closed this as completed Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants