[WAM-IPE] WAM-IPE r93840: Add 2013 compsets and prototype restart compsets.

Samuel.Trahan at noaa.gov Samuel.Trahan at noaa.gov
Fri Jun 16 16:55:54 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/apps/WAM-IPE/trunk
Revision: 93840
Author:   robert.oehmke at noaa.gov
Date:     2017-06-05T17:48:23.636689Z
Message:
Add 2013 compsets and prototype restart compsets.


See attached file for full differences.


First 4000 bytes of differences:
Index: checkout/parm/nems.configure.med_atm_ipm.IN
===================================================================
--- checkout/parm/nems.configure.med_atm_ipm.IN	(revision 93839)
+++ checkout/parm/nems.configure.med_atm_ipm.IN	(revision 93840)
@@ -29,6 +29,7 @@
 IPM_petlist_bounds:             @[ipm_petlist_bounds]
 IPM_attributes::
   Verbosity = max
+  CheckFields = true
 ::
 
 # Run Sequence #
Index: checkout/oldcompsets/swpc%20130316_1hr_spacewx_gsm%wam%T62_ipe%80x170
===================================================================
--- checkout/oldcompsets/swpc%20130316_1hr_spacewx_gsm%wam%T62_ipe%80x170	(nonexistent)
+++ checkout/oldcompsets/swpc%20130316_1hr_spacewx_gsm%wam%T62_ipe%80x170	(revision 93840)
@@ -0,0 +1,66 @@
+###############################################################################
+#
+#  WAM-IPE coupled run
+#
+###############################################################################
+
+export TEST_DESCR="WAM-IPE 1h coupled run"
+
+# - gsm configuration ---
+export_gsm
+export CDATE=2013031600
+export WLCLK=30
+export QUEUE=debug
+export NHRS=1
+export FHOUT=1
+export TASKS=40
+export PE1=32
+export THRD=1
+export QUILT=.false.
+export FDFI=0
+export CP2=.false.
+export IDEA=.true.
+export IDVC=3
+export THERMODYN_ID=3
+export SFCPRESS_ID=2
+export SPECTRALLOOP=2
+
+# - IPE configuration ---
+export IPECASE=20130316_1hr_spacewx_80x170
+
+# - nems.configure ---
+export_nems
+export nems_configure=med_atm_ipm
+export atm_model=gsm
+export atm_petlist_bounds="0 15" # 16
+export ipm_model=ipe
+export ipm_petlist_bounds="16 31" # 16
+export med_model=spaceweather
+export med_petlist_bounds="32 39" # 8
+export coupling_interval_fast_sec=180.0
+export coupling_interval_sec=180.0
+
+export F107_KP_SIZE=56
+export F107_KP_INTERVAL=10800
+export WAM_IPE_COUPLING=.true.
+export HEIGHT_DEPENDENT_G=.true.
+export F107_KP_SKIP_SIZE=24
+
+# - component specific setup calls ---
+setup_wam_T62_2013031600
+setup_ipe
+setup_spaceweather_gsm%wam%T62_ipe%80x170
+
+# -
+RUN_SCRIPT=rt_gfs.sh
+
+# - validation
+export CNTL_DIR=swpc%20130316_1hr_spacewx_gsm%wam%T62_ipe%80x170_V0003
+export LIST_FILES="IPE.inp SMSnamelist \
+                   sigf00 sigf01 sfcf00 sfcf01 flxf00 flxf01 \
+                   plasma00 plasma01 plasma02 plasma03 plasma04 \
+                   plasma05 plasma06 plasma07 plasma08 plasma09 \
+                   plasma10 plasma11 plasma12 plasma13 plasma14 \
+                   plasma15 plasma16 \
+                   wam3dgridnew2.nc ipe3dgrid2.nc wam2dmesh.nc"
+
Index: checkout/oldcompsets/default.compsetRun
===================================================================
--- checkout/oldcompsets/default.compsetRun	(revision 93839)
+++ checkout/oldcompsets/default.compsetRun	(revision 93840)
@@ -1,5 +1,16 @@
 # Coupled IPE-WAM Space Weather Application
 # 
+
+
+# test compsets
+# *** side-by-side ***
+#swpc%20130316_1hr_sbys_gsm%wam%T62_ipe%80x170
+
+# *** coupled ***
+#swpc%20130316_1hr_spacewx_gsm%wam%T62_ipe%80x170
+#swpc%20130316_1day_spacewx_gsm%wam%T62_ipe%80x170
+
+
 ## CompsetRun file listing test compsets.
 # *** standalone ***
 #swpc%20090115_1hr_sbys_gsm%wam%T62
Index: checkout/oldcompsets/swpc%20130316_1day_spacewx_gsm%wam%T62_ipe%80x170
===================================================================
--- checkout/oldcompsets/swpc%20130316_1day_spacewx_gsm%wam%T62_ipe%80x170	(nonexistent)
+++ checkout/oldcompsets/swpc%20130316_1day_spacewx_gsm%wam%T62_ipe%80x170	(revision 93840)
@@ -0,0 +1,67 @@
+###############################################################################
+#
+#  WAM-IPE coupled run
+#
+###############################################################################
+
+export TEST_DESCR="WAM-IPE 1day coupled run"
+
+# - gsm configuration ---
+export_gsm
+export CDATE=2013031600
+export WLCLK=480
+export NDAYS=1
+export FHOUT=1
+export TASKS=104
+export PE1=32
+export THRD=1
+export QUILT=.false.
+export FDFI=0
+export CP2=.false.
+export IDEA=.true.



... see attachment for the rest ...
-------------- next part --------------
Index: checkout/parm/nems.configure.med_atm_ipm.IN
===================================================================
--- checkout/parm/nems.configure.med_atm_ipm.IN	(revision 93839)
+++ checkout/parm/nems.configure.med_atm_ipm.IN	(revision 93840)
@@ -29,6 +29,7 @@
 IPM_petlist_bounds:             @[ipm_petlist_bounds]
 IPM_attributes::
   Verbosity = max
+  CheckFields = true
 ::
 
 # Run Sequence #
Index: checkout/oldcompsets/swpc%20130316_1hr_spacewx_gsm%wam%T62_ipe%80x170
===================================================================
--- checkout/oldcompsets/swpc%20130316_1hr_spacewx_gsm%wam%T62_ipe%80x170	(nonexistent)
+++ checkout/oldcompsets/swpc%20130316_1hr_spacewx_gsm%wam%T62_ipe%80x170	(revision 93840)
@@ -0,0 +1,66 @@
+###############################################################################
+#
+#  WAM-IPE coupled run
+#
+###############################################################################
+
+export TEST_DESCR="WAM-IPE 1h coupled run"
+
+# - gsm configuration ---
+export_gsm
+export CDATE=2013031600
+export WLCLK=30
+export QUEUE=debug
+export NHRS=1
+export FHOUT=1
+export TASKS=40
+export PE1=32
+export THRD=1
+export QUILT=.false.
+export FDFI=0
+export CP2=.false.
+export IDEA=.true.
+export IDVC=3
+export THERMODYN_ID=3
+export SFCPRESS_ID=2
+export SPECTRALLOOP=2
+
+# - IPE configuration ---
+export IPECASE=20130316_1hr_spacewx_80x170
+
+# - nems.configure ---
+export_nems
+export nems_configure=med_atm_ipm
+export atm_model=gsm
+export atm_petlist_bounds="0 15" # 16
+export ipm_model=ipe
+export ipm_petlist_bounds="16 31" # 16
+export med_model=spaceweather
+export med_petlist_bounds="32 39" # 8
+export coupling_interval_fast_sec=180.0
+export coupling_interval_sec=180.0
+
+export F107_KP_SIZE=56
+export F107_KP_INTERVAL=10800
+export WAM_IPE_COUPLING=.true.
+export HEIGHT_DEPENDENT_G=.true.
+export F107_KP_SKIP_SIZE=24
+
+# - component specific setup calls ---
+setup_wam_T62_2013031600
+setup_ipe
+setup_spaceweather_gsm%wam%T62_ipe%80x170
+
+# -
+RUN_SCRIPT=rt_gfs.sh
+
+# - validation
+export CNTL_DIR=swpc%20130316_1hr_spacewx_gsm%wam%T62_ipe%80x170_V0003
+export LIST_FILES="IPE.inp SMSnamelist \
+                   sigf00 sigf01 sfcf00 sfcf01 flxf00 flxf01 \
+                   plasma00 plasma01 plasma02 plasma03 plasma04 \
+                   plasma05 plasma06 plasma07 plasma08 plasma09 \
+                   plasma10 plasma11 plasma12 plasma13 plasma14 \
+                   plasma15 plasma16 \
+                   wam3dgridnew2.nc ipe3dgrid2.nc wam2dmesh.nc"
+
Index: checkout/oldcompsets/default.compsetRun
===================================================================
--- checkout/oldcompsets/default.compsetRun	(revision 93839)
+++ checkout/oldcompsets/default.compsetRun	(revision 93840)
@@ -1,5 +1,16 @@
 # Coupled IPE-WAM Space Weather Application
 # 
+
+
+# test compsets
+# *** side-by-side ***
+#swpc%20130316_1hr_sbys_gsm%wam%T62_ipe%80x170
+
+# *** coupled ***
+#swpc%20130316_1hr_spacewx_gsm%wam%T62_ipe%80x170
+#swpc%20130316_1day_spacewx_gsm%wam%T62_ipe%80x170
+
+
 ## CompsetRun file listing test compsets.
 # *** standalone ***
 #swpc%20090115_1hr_sbys_gsm%wam%T62
Index: checkout/oldcompsets/swpc%20130316_1day_spacewx_gsm%wam%T62_ipe%80x170
===================================================================
--- checkout/oldcompsets/swpc%20130316_1day_spacewx_gsm%wam%T62_ipe%80x170	(nonexistent)
+++ checkout/oldcompsets/swpc%20130316_1day_spacewx_gsm%wam%T62_ipe%80x170	(revision 93840)
@@ -0,0 +1,67 @@
+###############################################################################
+#
+#  WAM-IPE coupled run
+#
+###############################################################################
+
+export TEST_DESCR="WAM-IPE 1day coupled run"
+
+# - gsm configuration ---
+export_gsm
+export CDATE=2013031600
+export WLCLK=480
+export NDAYS=1
+export FHOUT=1
+export TASKS=104
+export PE1=32
+export THRD=1
+export QUILT=.false.
+export FDFI=0
+export CP2=.false.
+export IDEA=.true.
+export IDVC=3
+export THERMODYN_ID=3
+export SFCPRESS_ID=2
+export SPECTRALLOOP=2
+
+# - IPE configuration ---
+export IPECASE=20130316_1day_spacewx_80x170
+
+# - nems.configure ---
+export_nems
+export nems_configure=med_atm_ipm
+export atm_model=gsm
+export atm_petlist_bounds="0 15"   # 16
+export med_model=spaceweather
+export med_petlist_bounds="16 23"  #  8
+export ipm_model=ipe
+export ipm_petlist_bounds="24 103"  # 80
+export coupling_interval_fast_sec=180.0
+export coupling_interval_sec=180.0
+
+export F107_KP_SIZE=56
+export F107_KP_INTERVAL=10800
+export WAM_IPE_COUPLING=.true.
+export HEIGHT_DEPENDENT_G=.true.
+export F107_KP_SKIP_SIZE=24
+
+# - component specific setup calls ---
+setup_wam_T62_2013031600
+setup_ipe
+setup_spaceweather_gsm%wam%T62_ipe%80x170
+
+# -
+RUN_SCRIPT=rt_gfs.sh
+
+# - validation
+export CNTL_DIR=swpc%20130316_1day_spacewx_gsm%wam%T62_ipe%80x170_V0001
+export LIST_FILES="IPE.inp SMSnamelist \
+                   sigf00 sigf01 sigf02 sigf06 sigf12 sigf18 sigf24 \
+                   sfcf00 sfcf01 sfcf02 sfcf06 sfcf12 sfcf18 sfcf24 \
+                   flxf00 flxf01 flxf02 flxf06 flxf12 flxf18 flxf24 \
+                   plasma00 plasma01 plasma02 plasma03 plasma04 \
+                   plasma05 plasma06 plasma07 plasma08 plasma09 \
+                   plasma10 plasma11 plasma12 plasma13 plasma14 \
+                   plasma15 plasma16 \
+                   wam3dgridnew2.nc ipe3dgrid2.nc wam2dmesh.nc"
+
Index: checkout/oldcompsets/swpc%20130316_1hr_sbys_gsm%wam%T62_ipe%80x170
===================================================================
--- checkout/oldcompsets/swpc%20130316_1hr_sbys_gsm%wam%T62_ipe%80x170	(nonexistent)
+++ checkout/oldcompsets/swpc%20130316_1hr_sbys_gsm%wam%T62_ipe%80x170	(revision 93840)
@@ -0,0 +1,64 @@
+###############################################################################
+#
+#  WAM-IPE side-by-side run
+#
+###############################################################################
+
+export TEST_DESCR="WAM-IPE 1h side-by-side run"
+
+# - gsm configuration ---
+export_gsm
+export CDATE=2013031600
+export WLCLK=30
+export QUEUE=debug
+export NHRS=1
+export FHOUT=1
+export TASKS=32
+export PE1=32
+export THRD=1
+export QUILT=.false.
+export FDFI=0
+export CP2=.false.
+export IDEA=.true.
+export IDVC=3
+export THERMODYN_ID=3
+export SFCPRESS_ID=2
+export SPECTRALLOOP=2
+
+# - IPE configuration ---
+export IPECASE=20130316_1hr_sbys_80x170
+
+# - nems.configure ---
+export_nems
+export nems_configure=atm_ipm
+export atm_model=gsm
+export atm_petlist_bounds="0 15"
+export ipm_model=ipe
+export ipm_petlist_bounds="16 31"
+export coupling_interval_fast_sec=180.0
+export coupling_interval_sec=180.0
+
+export F107_KP_SIZE=56
+export F107_KP_INTERVAL=10800
+export WAM_IPE_COUPLING=.true.
+export HEIGHT_DEPENDENT_G=.true.
+export F107_KP_SKIP_SIZE=24
+
+# - component specific setup calls ---
+setup_wam_T62_2013031600
+setup_ipe
+setup_spaceweather_gsm%wam%T62_ipe%80x170
+
+# -
+RUN_SCRIPT=rt_gfs.sh
+
+# - validation
+export CNTL_DIR=swpc%20130316_1hr_sbys_gsm%wam%T62_ipe%80x170_V0001
+export LIST_FILES="IPE.inp SMSnamelist \
+                   sigf00 sigf01 sfcf00 sfcf01 flxf00 flxf01 \
+                   plasma00 plasma01 plasma02 plasma03 plasma04 \
+                   plasma05 plasma06 plasma07 plasma08 plasma09 \
+                   plasma10 plasma11 plasma12 plasma13 plasma14 \
+                   plasma15 plasma16 \
+                   wam3dgridnew2.nc ipe3dgrid2.nc"
+
Index: checkout/oldcompsets/restart_3day_spacewx_gsm%wam%T62_ipe%80x170
===================================================================
--- checkout/oldcompsets/restart_3day_spacewx_gsm%wam%T62_ipe%80x170	(nonexistent)
+++ checkout/oldcompsets/restart_3day_spacewx_gsm%wam%T62_ipe%80x170	(revision 93840)
@@ -0,0 +1,72 @@
+###############################################################################
+#
+#  WAM-IPE coupled run
+#
+###############################################################################
+
+export TEST_DESCR="WAM-IPE 3day cold-restart coupled run"
+
+# - gsm configuration ---
+export_gsm
+export CDATE=2013031900
+export WLCLK=480
+export NDAYS=3
+export FHOUT=1
+export TASKS=104
+export PE1=32
+export THRD=1
+export QUILT=.false.
+export FDFI=0
+export CP2=.false.
+export IDEA=.true.
+export IDVC=3
+export THERMODYN_ID=3
+export SFCPRESS_ID=2
+export SPECTRALLOOP=2
+export FHRES=24
+
+# - IPE configuration ---
+export IPECASE=20130316_3day_spacewx_80x170
+
+# - nems.configure ---
+export_nems
+export nems_configure=med_atm_ipm
+export atm_model=gsm
+export atm_petlist_bounds="0 15"   # 16
+export med_model=spaceweather
+export med_petlist_bounds="16 23"  #  8
+export ipm_model=ipe
+export ipm_petlist_bounds="24 103"  # 80
+export coupling_interval_fast_sec=180.0
+export coupling_interval_sec=180.0
+
+export F107_KP_SIZE=56
+export F107_KP_INTERVAL=10800
+export WAM_IPE_COUPLING=.true.
+export HEIGHT_DEPENDENT_G=.true.
+export F107_KP_SKIP_SIZE=24
+
+# Set directory to restart from 
+export RESTART_DIR=/scratch3/NCEPDEV/swpc/scrub/Robert.Oehmke/rt_24820/swpc%20130316_dumprs_nodensities_3day_spacewx_gsm%wam%T62_ipe%80x170
+
+# - component specific setup calls ---
+# (these depend on RESTART_DIR being set)
+cold_restart_wam  # eventually switch to restart_wam when that's working
+restart_ipe
+restart_spaceweather
+
+# -
+RUN_SCRIPT=rt_gfs.sh
+
+# - validation
+export CNTL_DIR=restart_3day_spacewx_gsm%wam%T62_ipe%80x170_V0001
+export LIST_FILES="IPE.inp SMSnamelist \
+                   sigf00 sigf01 sigf02 sigf06 sigf12 sigf18 sigf24 \
+                   sfcf00 sfcf01 sfcf02 sfcf06 sfcf12 sfcf18 sfcf24 \
+                   flxf00 flxf01 flxf02 flxf06 flxf12 flxf18 flxf24 \
+                   plasma00 plasma01 plasma02 plasma03 plasma04 \
+                   plasma05 plasma06 plasma07 plasma08 plasma09 \
+                   plasma10 plasma11 plasma12 plasma13 plasma14 \
+                   plasma15 plasma16 \
+                   wam3dgridnew2.nc ipe3dgrid2.nc wam2dmesh.nc"
+
Index: checkout/oldcompsets/swpc%20130316_6day_spacewx_gsm%wam%T62_ipe%80x170
===================================================================
--- checkout/oldcompsets/swpc%20130316_6day_spacewx_gsm%wam%T62_ipe%80x170	(nonexistent)
+++ checkout/oldcompsets/swpc%20130316_6day_spacewx_gsm%wam%T62_ipe%80x170	(revision 93840)
@@ -0,0 +1,67 @@
+###############################################################################
+#
+#  WAM-IPE coupled run
+#
+###############################################################################
+
+export TEST_DESCR="WAM-IPE 6day coupled run"
+
+# - gsm configuration ---
+export_gsm
+export CDATE=2013031600
+export WLCLK=480
+export NDAYS=6
+export FHOUT=1
+export TASKS=104
+export PE1=32
+export THRD=1
+export QUILT=.false.
+export FDFI=0
+export CP2=.false.
+export IDEA=.true.
+export IDVC=3
+export THERMODYN_ID=3
+export SFCPRESS_ID=2
+export SPECTRALLOOP=2
+
+# - IPE configuration ---
+export IPECASE=20130316_6day_spacewx_80x170
+
+# - nems.configure ---
+export_nems
+export nems_configure=med_atm_ipm
+export atm_model=gsm
+export atm_petlist_bounds="0 15"   # 16
+export med_model=spaceweather
+export med_petlist_bounds="16 23"  #  8
+export ipm_model=ipe
+export ipm_petlist_bounds="24 103"  # 80
+export coupling_interval_fast_sec=180.0
+export coupling_interval_sec=180.0
+
+export F107_KP_SIZE=56
+export F107_KP_INTERVAL=10800
+export WAM_IPE_COUPLING=.true.
+export HEIGHT_DEPENDENT_G=.true.
+export F107_KP_SKIP_SIZE=24
+
+# - component specific setup calls ---
+setup_wam_T62_2013031600
+setup_ipe
+setup_spaceweather_gsm%wam%T62_ipe%80x170
+
+# -
+RUN_SCRIPT=rt_gfs.sh
+
+# - validation
+export CNTL_DIR=swpc%20130316_6day_spacewx_gsm%wam%T62_ipe%80x170_V0001
+export LIST_FILES="IPE.inp SMSnamelist \
+                   sigf00 sigf01 sigf02 sigf06 sigf12 sigf18 sigf24 \
+                   sfcf00 sfcf01 sfcf02 sfcf06 sfcf12 sfcf18 sfcf24 \
+                   flxf00 flxf01 flxf02 flxf06 flxf12 flxf18 flxf24 \
+                   plasma00 plasma01 plasma02 plasma03 plasma04 \
+                   plasma05 plasma06 plasma07 plasma08 plasma09 \
+                   plasma10 plasma11 plasma12 plasma13 plasma14 \
+                   plasma15 plasma16 \
+                   wam3dgridnew2.nc ipe3dgrid2.nc wam2dmesh.nc"
+
Index: checkout/oldcompsets/swpc%20130316_outputrs_3day_spacewx_gsm%wam%T62_ipe%80x170
===================================================================
--- checkout/oldcompsets/swpc%20130316_outputrs_3day_spacewx_gsm%wam%T62_ipe%80x170	(nonexistent)
+++ checkout/oldcompsets/swpc%20130316_outputrs_3day_spacewx_gsm%wam%T62_ipe%80x170	(revision 93840)
@@ -0,0 +1,68 @@
+###############################################################################
+#
+#  WAM-IPE coupled run
+#
+###############################################################################
+
+export TEST_DESCR="WAM-IPE 3day coupled run that writes restart information"
+
+# - gsm configuration ---
+export_gsm
+export CDATE=2013031600
+export WLCLK=480
+export NDAYS=3
+export FHOUT=1
+export TASKS=104
+export PE1=32
+export THRD=1
+export QUILT=.false.
+export FDFI=0
+export CP2=.false.
+export IDEA=.true.
+export IDVC=3
+export THERMODYN_ID=3
+export SFCPRESS_ID=2
+export SPECTRALLOOP=2
+export FHRES=24
+
+# - IPE configuration ---
+export IPECASE=20130316_3day_spacewx_80x170
+
+# - nems.configure ---
+export_nems
+export nems_configure=med_atm_ipm
+export atm_model=gsm
+export atm_petlist_bounds="0 15"   # 16
+export med_model=spaceweather
+export med_petlist_bounds="16 23"  #  8
+export ipm_model=ipe
+export ipm_petlist_bounds="24 103"  # 80
+export coupling_interval_fast_sec=180.0
+export coupling_interval_sec=180.0
+
+export F107_KP_SIZE=56
+export F107_KP_INTERVAL=10800
+export WAM_IPE_COUPLING=.true.
+export HEIGHT_DEPENDENT_G=.true.
+export F107_KP_SKIP_SIZE=24
+
+# - component specific setup calls ---
+setup_wam_T62_2013031600
+setup_ipe
+setup_spaceweather_gsm%wam%T62_ipe%80x170
+
+# -
+RUN_SCRIPT=rt_gfs.sh
+
+# - validation
+export CNTL_DIR=swpc%20130316_3day_spacewx_gsm%wam%T62_ipe%80x170_V0001
+export LIST_FILES="IPE.inp SMSnamelist \
+                   sigf00 sigf01 sigf02 sigf06 sigf12 sigf18 sigf24 \
+                   sfcf00 sfcf01 sfcf02 sfcf06 sfcf12 sfcf18 sfcf24 \
+                   flxf00 flxf01 flxf02 flxf06 flxf12 flxf18 flxf24 \
+                   plasma00 plasma01 plasma02 plasma03 plasma04 \
+                   plasma05 plasma06 plasma07 plasma08 plasma09 \
+                   plasma10 plasma11 plasma12 plasma13 plasma14 \
+                   plasma15 plasma16 \
+                   wam3dgridnew2.nc ipe3dgrid2.nc wam2dmesh.nc"
+
Index: checkout/OldCompsetRun
===================================================================
--- checkout/OldCompsetRun	(revision 93839)
+++ checkout/OldCompsetRun	(revision 93840)
@@ -312,6 +312,22 @@
   cp -f ${ROOTDIR}/RT_WAM/wam_rm3_globcomp.nc ${RUNDIR}/.
 }
 
+setup_wam_T62_2013031600(){
+  cp -f ${DATADIR}/WAM/T62_2013031600/*anl* ${RUNDIR}/.
+  cp -f ${DATADIR}/WAM/T62_2013031600/wam_input_f107_kp.txt ${RUNDIR}/. 
+  cp -f ${ROOTDIR}/RT_WAM/*_in ${RUNDIR}/.
+#
+  cp -f ${ROOTDIR}/RT_WAM/ionprof ${RUNDIR}/.
+  cp -f ${ROOTDIR}/RT_WAM/tiros_spectra ${RUNDIR}/.
+  cp -f ${ROOTDIR}/RT_WAM/tiros_tjr.nc ${RUNDIR}/.
+  cp -f ${ROOTDIR}/RT_WAM/iondata_tjr.nc ${RUNDIR}/.
+  cp -f ${ROOTDIR}/RT_WAM/snoe_eof.nc ${RUNDIR}/.
+  cp -f ${ROOTDIR}/RT_WAM/wasolar_dan_20161019.nc ${RUNDIR}/.
+  cp -f ${ROOTDIR}/RT_WAM/wam_nems_feuv_2012_366d_by_24hr.nc ${RUNDIR}/.
+  cp -f ${ROOTDIR}/RT_WAM/wam_nems_imf_2012.nc ${RUNDIR}/.
+  cp -f ${ROOTDIR}/RT_WAM/wam_rm3_globcomp.nc ${RUNDIR}/.
+}
+
 setup_ipe(){
   # determine number of PETs for IPE
   petlist_bounds=($ipm_petlist_bounds)
@@ -325,9 +341,27 @@
     ln -s /lustre/f1/unswept/ncep/Gerhard.Theurich/IPEdata/data/stup* ${RUNDIR}/.
     ln -s /lustre/f1/unswept/ncep/Gerhard.Theurich/IPEdata/data/ipe_grid ${RUNDIR}/.
   elif [ $MACHINE_ID = theia ] ; then
-    cp -f ${DATADIR}/IPE/cases/${IPECASE}/IPE.inp ${RUNDIR}/.
-#    cp -f ${ROOTDIR}/vay_cases/${IPECASE}/IPE.inp ${RUNDIR}/
-    ln -s ${DATADIR}/IPE/cases/${IPECASE}/stup* ${RUNDIR}/.
+    if [ $IPECASE = 20130316_1hr_sbys_80x170 ] ; then
+      cp -f /scratch3/NCEPDEV/swpc/noscrub/Robert.Oehmke/IPECASES/${IPECASE}/IPE.inp ${RUNDIR}/.
+      ln -s /scratch3/NCEPDEV/swpc/noscrub/Robert.Oehmke/IPECASES/${IPECASE}/stup* ${RUNDIR}/.
+    elif [ $IPECASE = 20130316_1hr_spacewx_80x170 ] ; then
+      cp -f /scratch3/NCEPDEV/swpc/noscrub/Robert.Oehmke/IPECASES/${IPECASE}/IPE.inp ${RUNDIR}/.
+      ln -s /scratch3/NCEPDEV/swpc/noscrub/Robert.Oehmke/IPECASES/${IPECASE}/stup* ${RUNDIR}/.
+    elif [ $IPECASE = 20130316_1day_spacewx_80x170 ] ; then
+      cp -f /scratch3/NCEPDEV/swpc/noscrub/Robert.Oehmke/IPECASES/${IPECASE}/IPE.inp ${RUNDIR}/.
+      ln -s /scratch3/NCEPDEV/swpc/noscrub/Robert.Oehmke/IPECASES/${IPECASE}/stup* ${RUNDIR}/.
+    elif [ $IPECASE = 20130316_3day_spacewx_80x170 ] ; then
+      cp -f /scratch3/NCEPDEV/swpc/noscrub/Robert.Oehmke/IPECASES/${IPECASE}/IPE.inp ${RUNDIR}/.
+      ln -s /scratch3/NCEPDEV/swpc/noscrub/Robert.Oehmke/IPECASES/${IPECASE}/stup* ${RUNDIR}/.
+    elif [ $IPECASE = 20130316_6day_spacewx_80x170 ] ; then
+      cp -f /scratch3/NCEPDEV/swpc/noscrub/Robert.Oehmke/IPECASES/${IPECASE}/IPE.inp ${RUNDIR}/.
+      ln -s /scratch3/NCEPDEV/swpc/noscrub/Robert.Oehmke/IPECASES/${IPECASE}/stup* ${RUNDIR}/.
+    else
+      cp -f ${DATADIR}/IPE/cases/${IPECASE}/IPE.inp ${RUNDIR}/.
+#     cp -f ${ROOTDIR}/vay_cases/${IPECASE}/IPE.inp ${RUNDIR}/
+      ln -s ${DATADIR}/IPE/cases/${IPECASE}/stup* ${RUNDIR}/.
+    fi    
+
     ln -s ${DATADIR}/IPE/GIP_apex_coords_global_lowres_new20120705 ${RUNDIR}/ipe_grid
   elif [ $MACHINE_ID = yellowstone ] ; then
     ln -s /glade/u/home/naomi/work/ipe/IPEDATA/data/stup* ${RUNDIR}/.
@@ -334,9 +368,7 @@
     ln -s /glade/u/home/naomi/work/ipe/IPEDATA/data/ipe_grid ${RUNDIR}/.
   fi
 }
-#
-# IPECASES: 20090115_1day_spacewx_80x170;  20090115_1hr_sbys_80x170; 20090115_1hr_spacewx_80x170   default
-#
+
 setup_spaceweather(){
   ln -s ${DATADIR}/SpaceWeatherResources/data ${RUNDIR}/.
 }
@@ -353,6 +385,127 @@
   fi
 }
 
+
+cold_restart_wam(){
+# ORIG  cp -f ${RESTART_DIR}/*anl* ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/siganl.${CDATE} ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/sfcanl.${CDATE} ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/*_in ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/wam_input_f107_kp.txt ${RUNDIR}/. 
+#
+  cp -f ${RESTART_DIR}/ionprof ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/tiros_spectra ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/tiros_tjr.nc ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/iondata_tjr.nc ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/snoe_eof.nc ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/wasolar_dan_20161019.nc ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/wam_nems_feuv_2012_366d_by_24hr.nc ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/wam_nems_imf_2012.nc ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/wam_rm3_globcomp.nc ${RUNDIR}/.
+}
+
+restart_wam(){
+  cp -f ${RESTART_DIR}/*anl* ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/wam_input_f107_kp.txt ${RUNDIR}/. 
+  cp -f ${RESTART_DIR}/*_in ${RUNDIR}/.
+#
+  cp -f ${RESTART_DIR}/ionprof ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/tiros_spectra ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/tiros_tjr.nc ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/iondata_tjr.nc ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/snoe_eof.nc ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/wasolar_dan_20161019.nc ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/wam_nems_feuv_2012_366d_by_24hr.nc ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/wam_nems_imf_2012.nc ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/wam_rm3_globcomp.nc ${RUNDIR}/.
+
+  cp -f ${RESTART_DIR}/sigr1 ${RUNDIR}/.
+  ln -s ${RUNDIR}/sigr1 ${RUNDIR}/SIGR1
+
+  cp -f ${RESTART_DIR}/sigr2 ${RUNDIR}/.
+  ln -s ${RUNDIR}/sigr2 ${RUNDIR}/SIGR2
+
+  cp -f ${RESTART_DIR}/grdr1 ${RUNDIR}/.
+  ln -s ${RUNDIR}/grdr1 ${RUNDIR}/GRDR1
+
+  cp -f ${RESTART_DIR}/grdr2 ${RUNDIR}/.
+  ln -s ${RUNDIR}/grdr2 ${RUNDIR}/GRDR2
+
+  cp -f ${RESTART_DIR}/sfcr ${RUNDIR}/.
+  ln -s ${RUNDIR}/sfcr ${RUNDIR}/SFCR
+}
+
+restart_ipe(){
+  # determine number of PETs for IPE
+  petlist_bounds=($ipm_petlist_bounds)
+  petCount=$((petlist_bounds[1]-petlist_bounds[0]+1))
+  # Still grab the SMSnamelist.In from the data directory
+  cat ${ROOTDIR}/IPE/SMSnamelist.IN | sed s:_petCount_:$petCount:g > ${RUNDIR}/SMSnamelist
+
+  # Grab the rest from the restart directory
+  cp -f ${RESTART_DIR}/coeff_hflux.dat ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/coeff_lflux.dat ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/wei96.cofcnts ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/IPE.inp ${RUNDIR}/.
+#
+###20170516 modified to automatically set up the restart configuration 
+  flnm=IPE.inp
+  txt=sw_record_number
+#  echo "txt=" $txt
+  swRecordNumberIPE=`grep ${txt} ${RESTART_DIR}/${flnm} | awk -F "=" '{print $2}'`
+#  echo "swRecordNumberIPE=" ${swRecordNumberIPE}
+  cat ${RESTART_DIR}/${flnm} | sed -e s/${txt}"="${swRecordNumberIPE}/${txt}"=1"/g  > ${RUNDIR}/${flnm}.tmp
+###dbg
+ # echo "dbg IPE.inp1"
+ # diff   ${RUNDIR}/${flnm}    ${RUNDIR}/${flnm}.tmp
+###get the previous value for ut_start_perp_trans
+  txt=ut_start_perp_trans
+  utStartPerpIPE0=`grep ${txt} ${RESTART_DIR}/${flnm} | awk -F "=" '{print $2}'`
+ # echo "utStartPerpIPE0=" ${utStartPerpIPE0}
+
+###get the last utime from ut_rec of the previous run
+  utEndIPE=`tail -n 1  ${RESTART_DIR}/ut_rec | awk '{print $2}' `
+ # echo "utEndIPE=" ${utEndIPE}
+###
+  cat ${RUNDIR}/${flnm}.tmp  | sed -e s/${txt}"="${utStartPerpIPE0}/${txt}"="${utEndIPE}/g  > ${RUNDIR}/${flnm}
+###dbg print
+ # echo "dbg IPE.inp2"
+ # diff  ${RUNDIR}/${flnm}.tmp   ${RUNDIR}/${flnm}
+ # echo "dbg IPE.inp finished!"
+###  exit
+
+  # come up with loop for these
+  cp -f ${RESTART_DIR}/plasma00 ${RUNDIR}/stup00
+  cp -f ${RESTART_DIR}/plasma01 ${RUNDIR}/stup01
+  cp -f ${RESTART_DIR}/plasma02 ${RUNDIR}/stup02
+  cp -f ${RESTART_DIR}/plasma03 ${RUNDIR}/stup03
+  cp -f ${RESTART_DIR}/plasma04 ${RUNDIR}/stup04
+  cp -f ${RESTART_DIR}/plasma05 ${RUNDIR}/stup05
+  cp -f ${RESTART_DIR}/plasma06 ${RUNDIR}/stup06
+  cp -f ${RESTART_DIR}/plasma07 ${RUNDIR}/stup07
+  cp -f ${RESTART_DIR}/plasma08 ${RUNDIR}/stup08
+  cp -f ${RESTART_DIR}/plasma09 ${RUNDIR}/stup09
+  cp -f ${RESTART_DIR}/plasma10 ${RUNDIR}/stup10
+  cp -f ${RESTART_DIR}/plasma11 ${RUNDIR}/stup11
+  cp -f ${RESTART_DIR}/plasma12 ${RUNDIR}/stup12
+  cp -f ${RESTART_DIR}/plasma13 ${RUNDIR}/stup13
+  cp -f ${RESTART_DIR}/plasma14 ${RUNDIR}/stup14
+  cp -f ${RESTART_DIR}/plasma15 ${RUNDIR}/stup15
+  cp -f ${RESTART_DIR}/plasma16 ${RUNDIR}/stup16
+
+###dbg20170516
+###  cp -f ${RESTART_DIR}/stup_ut_rec ${RUNDIR}/.
+  cp -f ${RESTART_DIR}/ut_rec  ${RUNDIR}/stup_ut_rec
+  ln -s ${RESTART_DIR}/ipe_grid ${RUNDIR}/ipe_grid
+}
+
+restart_spaceweather(){
+    cp -f ${RESTART_DIR}/ipe3dgrid2.nc ${RUNDIR}/.
+    cp -f ${RESTART_DIR}/wam3dgridnew2.nc ${RUNDIR}/.
+    cp -f ${RESTART_DIR}/wam3dgridnew_20160427.nc ${RUNDIR}/.
+}
+
+
 # ##############################################################################
 # function: link_wrfhydro
 # 1. Link in every file from the wrfhydro run data directory
Index: checkout
===================================================================
--- checkout	(revision 93839)
+++ checkout	(revision 93840)

Property changes on: checkout
___________________________________________________________________
Added: svn:mergeinfo
## -0,0 +0,1 ##
   Merged /nems/apps/WAM-IPE/branches/bob_dev:r92998-93816


More information about the WAM-IPE mailing list