[WAM-IPE] WAM-IPE r96979: for bug fix from Zhuxiao
Samuel.Trahan at noaa.gov
Samuel.Trahan at noaa.gov
Thu Aug 31 22:21:45 UTC 2017
Friendly WAM-IPE developers,
This is an automated email about a WAM-IPE commit.
Project: WAM-IPE
URL: https://svnemc.ncep.noaa.gov/projects/nems/branches/WAM-IPE/quasitrunk
Revision: 96979
Author: weiyu.yang at noaa.gov
Date: 2017-08-30T02:33:28.395165Z
Message:
for bug fix from Zhuxiao
Differences:
Index: checkout/src/atmos/phys/idea_phys.f
===================================================================
--- checkout/src/atmos/phys/idea_phys.f (revision 96233)
+++ checkout/src/atmos/phys/idea_phys.f (revision 96979)
@@ -54,8 +54,11 @@
use wam_ion, only : idea_ion
use wam_f107_kp_mod, only : f107_wy, kp_wy, kdt_3h
- use wam_f107_kp_mod, only : f107_fix, f107d_fix, kp_fix
-
+! Changed by Zhuxiao.Li(05/2017) for back to the path to read in F10.7 and Kp
+! from solar_in namelist instead of from wam_f107_kp_mod.f
+! use wam_f107_kp_mod, only : f107_fix, f107d_fix, kp_fix
+ use idea_solar_input,only : f107_fix, f107a_fix, kp_fix
+!
use wam_f107_kp_mod, only : fix_spweather_data
! use wam_f107_kp_mod, only : swpcf107_fix, swpcf107d_fix, swpckp_fix
!
@@ -129,7 +132,8 @@
!
integer, parameter :: ntrac_i=2 ! number of 2 WAM chem. tracers (O-O2)
!
- real :: f107_curdt, f107d_curdt, kp_curdt
+! real :: f107_curdt, f107d_curdt, kp_curdt, f107a_fix
+ real :: f107_curdt, f107d_curdt, kp_curdt
integer :: Mjdat(ndwam) ! IDAT_WAM + FHOUR
real :: Hcur ! current hour+min+sec real
!
@@ -235,7 +239,7 @@
!for now fixed
f107_curdt = f107_fix
kp_curdt = kp_fix
- f107d_curdt = f107d_fix
+ f107d_curdt = f107a_fix
!
ENDIF !'sair_wam'
!===============================================
@@ -242,10 +246,10 @@
! option 3: SPW_DRIVERS ='wam_climate': fixed values
!
if (trim(SPW_DRIVERS)=='wam_climate') then
- call fix_spweather_data
+! call fix_spweather_data
f107_curdt = f107_fix
kp_curdt = kp_fix
- f107d_curdt = f107d_fix
+ f107d_curdt = f107a_fix
endif
!
!===============================================
@@ -256,6 +260,7 @@
! Real data for F107/Kp [2000-2016]: option from VAY available under request
!
! CALL solar_waccmx_advance(mpi_id, Mjdat, Hcur, Kstep) !wf107_s, wkp_s
+!
! f107_curdt =wf107_s
! kp_curdt = wkp_s
! f107d_curdt = wf107a_s
@@ -262,10 +267,10 @@
!
! For standard WAM-IPE version, fixed values from "solar_in" namelist
!
- call fix_spweather_data
+! call fix_spweather_data
f107_curdt = f107_fix
kp_curdt = kp_fix
- f107d_curdt = f107d_fix
+ f107d_curdt = f107a_fix
endif
!
-------------- next part --------------
Index: checkout/src/atmos/phys/idea_phys.f
===================================================================
--- checkout/src/atmos/phys/idea_phys.f (revision 96233)
+++ checkout/src/atmos/phys/idea_phys.f (revision 96979)
@@ -54,8 +54,11 @@
use wam_ion, only : idea_ion
use wam_f107_kp_mod, only : f107_wy, kp_wy, kdt_3h
- use wam_f107_kp_mod, only : f107_fix, f107d_fix, kp_fix
-
+! Changed by Zhuxiao.Li(05/2017) for back to the path to read in F10.7 and Kp
+! from solar_in namelist instead of from wam_f107_kp_mod.f
+! use wam_f107_kp_mod, only : f107_fix, f107d_fix, kp_fix
+ use idea_solar_input,only : f107_fix, f107a_fix, kp_fix
+!
use wam_f107_kp_mod, only : fix_spweather_data
! use wam_f107_kp_mod, only : swpcf107_fix, swpcf107d_fix, swpckp_fix
!
@@ -129,7 +132,8 @@
!
integer, parameter :: ntrac_i=2 ! number of 2 WAM chem. tracers (O-O2)
!
- real :: f107_curdt, f107d_curdt, kp_curdt
+! real :: f107_curdt, f107d_curdt, kp_curdt, f107a_fix
+ real :: f107_curdt, f107d_curdt, kp_curdt
integer :: Mjdat(ndwam) ! IDAT_WAM + FHOUR
real :: Hcur ! current hour+min+sec real
!
@@ -235,7 +239,7 @@
!for now fixed
f107_curdt = f107_fix
kp_curdt = kp_fix
- f107d_curdt = f107d_fix
+ f107d_curdt = f107a_fix
!
ENDIF !'sair_wam'
!===============================================
@@ -242,10 +246,10 @@
! option 3: SPW_DRIVERS ='wam_climate': fixed values
!
if (trim(SPW_DRIVERS)=='wam_climate') then
- call fix_spweather_data
+! call fix_spweather_data
f107_curdt = f107_fix
kp_curdt = kp_fix
- f107d_curdt = f107d_fix
+ f107d_curdt = f107a_fix
endif
!
!===============================================
@@ -256,6 +260,7 @@
! Real data for F107/Kp [2000-2016]: option from VAY available under request
!
! CALL solar_waccmx_advance(mpi_id, Mjdat, Hcur, Kstep) !wf107_s, wkp_s
+!
! f107_curdt =wf107_s
! kp_curdt = wkp_s
! f107d_curdt = wf107a_s
@@ -262,10 +267,10 @@
!
! For standard WAM-IPE version, fixed values from "solar_in" namelist
!
- call fix_spweather_data
+! call fix_spweather_data
f107_curdt = f107_fix
kp_curdt = kp_fix
- f107d_curdt = f107d_fix
+ f107d_curdt = f107a_fix
endif
!
More information about the WAM-IPE
mailing list