Repository navigation
Conversation
|
Ok so it looks like you uncovered a little bug! This is why the tests failed, and it's a design decision so I don't want to fix it without checking with you & Aaron R. It comes down to the Right now (north only): [...]
UseHpAeforFTA = (IEModel_%iAurora_ == iFTA_) ! Check if we are using FTA model
[...]
HPn = 0
! Calculate HP from (diffuse) e- flux, hemispheric integration
call calculate_HP(HPn, HPs)
avepower = (HPn + HPs)/2.0
[...]
if (DoSeparateHPI) then
if (UseHpAeforFTA) then ! Use FTA's (integrated) hemispheric power if the model is FTA
if (IEModel_%isFtaLimit) then
call project_hp_ae(Hpi_NH, HPn) ! Hpi_NH = 0.085*(needAe - FtaAe) + HPn
else
Hpi_NH = HPn ! Raw integrated value if not limited
endif
else
! Use the indices to normalize (NOAA or SME-> HPI)
call get_hpi_n(CurrentTime, hpi_NH, iError)
endif
[...]
ratio_NH = Hpi_NH/HPn
else
if (UseHpAeforFTA) then
if (IEModel_%isFtaLimit) then
call project_hp_ae(HPi, avepower)
else
HPi = avepower
endif
else
call get_hpi(CurrentTime, Hpi, iError)
endif
ratio_NH = Hpi/HPn
ratio_SH = Hpi/HPs
endifSo in the code now there is no way for FTA to use the indices to normalize. If you Questions are:
|
[BUG/FEAT/DOC/etc.] Description
Justification
Changes to GITM outputs
Notes
fprettifyrecommends any changes the test fails, you you should run the format check before submitting.gfortran10and then run using the UAM.in files withinsrcTests/. This ensures no changes are made which unintentionally break something else.developbranch of GITMCode/GITM, notmain.In summary, ensure you have: