==========
20170301:

1. Worked on upgrading the CN model in Catchment-CN to CLM4.5. 

See notes /discover/nobackup/fzeng/clm4-to-clm4.5/notes_daily.

2. Seminar on SIF. 

==========
20170302:

1. February report. 

2. Worked on upgrading the CN model in Catchment-CN to CLM4.5. 

See notes /discover/nobackup/fzeng/clm4-to-clm4.5/notes_daily.

3. GMAO theme meeting 

4. Aerosol-land interaction meeting

==========
20170303:

1. Sent the aerosol-land interaction meeting group members a few documents.

2. Emailed Huisheng inviting her to join the aerosol-land interaction meetings.

3. Processed GMAO GEOS5 seasonal forecast for March.

4. Talked to Eunjee about the regression p values.

==========
20170306:

1. The e0004s_preindustrialCO2 finished the 13th cycle.

discover15:/discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/e0004s_preindustrialCO2/output/SMAP_EASEv2_M09_GLOBAL/rs/ens0000 > ls -l Y2016/M01
total 7354336
-rw-r--r-- 1 fzeng g0620 7547615847 2017-03-03 22:23 e0004s_preindustrialCO2.ens0000.catchcn_ldas_rst.20160101_0000z
discover15:/discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/e0004s_preindustrialCO2/output/SMAP_EASEv2_M09_GLOBAL/rs/ens0000 > ls -l ../../cat/ens_avg/Y2015/M12
total 526496
-rw-r--r-- 1 fzeng g0620 539112640 2017-03-03 22:23 e0004s_preindustrialCO2.ens_avg.ldas_tile_monthly_out.201512.bin

Process the output (covert from tile-space to grid-space):
~/Catchment/SMAP_M09 > tile2grid_ease_spinup_monthly e0004s_preindustrialCO2

Check the output on GrADS. Looks good.

cd /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/
mv e0004s_preindustrialCO2 e0004s_preindustrialCO2_13
cd e0004s_preindustrialCO2_13/output/SMAP_EASEv2_M09_GLOBAL/rs/ens0000/
/bin/rm -rf Y200[1-9] Y201[0-5]
mkdir -p Y2001/M01
cd Y2001/M01
ln -s ../../Y2016/M01/e0004s_preindustrialCO2.ens0000.catchcn_ldas_rst.20160101_0000z e0004s_preindustrialCO2.ens0000.catchcn_ldas_rst.20010101_0000z

cd /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/run
Make sure that in M09_CN_e0004s_preindustrialCO2.exe: 
"restart_path = /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/e0004s_preindustrialCO2_13/output/"
"restart_id   = e0004s_preindustrialCO2"

Run ldsetup to set up the next cycle:
cd /discover/nobackup/fzeng/LDASsa_m3-16_0_p2_CatchCatchCN_for_MERRA3/exec/e0004s_preindustrialCO2/Linux/bin
source /discover/nobackup/fzeng/LDASsa_m3-16_0_p2_CatchCatchCN_for_MERRA3/src/g5_modules
./ldsetup setup /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09 /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/run/M09_CN_e0004s_preindustrialCO2.exe /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/run/M09_e0004s_preindustrialCO2.bat --runmodel --monthsperjob 10 --landmodel catchCN --submit

Double-checked the executable and the restart file. They are both correct.

2. Worked on upgrading the CN model in Catchment-CN to CLM4.5. 

See notes /discover/nobackup/fzeng/clm4-to-clm4.5/notes_daily.

==========
20170307:

1. Email from Sarith:

"Rolf's version is now 1.90, he has added some new FP forcings for SMAP nature 4.1 etc
So I updated my sandbox and pushed my tag too

You can just from GEOSlana 
cvs upd -r 1.90 clsm_ensdrv_force_routines.F90"

Update clsm_ensdrv_force_routines.F90 in both of my sandboxes /discover/nobackup/fzeng/clm4-to-clm4.5/LDAS/LDASsa_m3-16_0_p2_CatchCatchCN_for_MERRA3/src/Components/GEOSlana_GridComp and /discover/nobackup/fzeng/LDASsa_m3-16_0_p2_CatchCatchCN_for_MERRA3/src/Components/GEOSlana_GridComp:
(1) cp -p clsm_ensdrv_force_routines.F90 clsm_ensdrv_force_routines.F90.20170306
(2) cvs upd -r 1.90 clsm_ensdrv_force_routines.F90
 
Update the tag FZ_CLM4toCLM45, from /discover/nobackup/fzeng/clm4-to-clm4.5/LDAS/LDASsa_m3-16_0_p2_CatchCatchCN_for_MERRA3/src/Components/GEOSlana_GridComp:
cvs tag -F FZ_CLM4toCLM45 clsm_ensdrv_force_routines.F90

2. From /discover/nobackup/fzeng/clm4-to-clm4.5/LDAS/LDASsa_m3-16_0_p2_CatchCatchCN_for_MERRA3/src:
cvs upd -r FZ_CLM4toCLM45 Applications/LDAS_App/GNUmakefile
cvs upd -r FZ_CLM4toCLM45 Components/GEOSlana_GridComp/ens_driver_routines.F90
cvs upd -r FZ_CLM4toCLM45 Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/GNUmakefile_openmp

/discover/nobackup/fzeng/clm4-to-clm4.5/LDAS/LDASsa_m3-16_0_p2_CatchCatchCN_for_MERRA3/src > ~ltakacs/cvstools/cvscmp FZ_CLM4toCLM45

 The following files are locally MODIFIED:
- Components/GEOSlana_GridComp/process_cn.F90
- Components/GEOSlana_GridComp/tile_coord.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNAllocationMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNAnnualUpdateMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNBalanceCheckMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNCStateUpdate1Mod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNCStateUpdate2Mod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNCStateUpdate3Mod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNDecompMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNEcosystemDynMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNFireMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNGRespMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNGapMortalityMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNMRespMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNNDynamicsMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNNStateUpdate1Mod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNNStateUpdate2Mod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNNStateUpdate3Mod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNPhenologyMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNPrecisionControlMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNSetValueMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNSummaryMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNVegStructUpdateMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNWoodProductsMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CN_DriverMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/clm_time_manager.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/clm_varcon.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/clm_varpar.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/clmtype.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/clmtypeInitMod.F90
- Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/pftvarcon.F90

 The following files need to be UPDATED for tag FZ_CLM4toCLM45

 |-------------|------------------------------------------------------------
 |   Newest    |
 |-------------|                     File Name
 | Here | Tag  |
 |------|------|------------------------------------------------------------
 |  -   |  x   | Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNHarvestMod.F90
 |  -   |  x   | Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CNiniTimeVar.F90
 |  -   |  x   | Components/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/nanMod.F90
 |------|------|------------------------------------------------------------
 
 CNHarvestMod.F90, CNiniTimeVar.F90 and nanMod.F90 are no longer in CLM4.5, so no need to worry about that. 
 
==========
20170308:

1. Worked on upgrading the CN model in Catchment-CN to CLM4.5. 

See notes /discover/nobackup/fzeng/clm4-to-clm4.5/notes_daily.

2. Discussed with Eunjee about difference in global land area and global GPP between what we calculated and that in Jung's paper.

==========
20170309: 

1. Worked on upgrading the CN model in Catchment-CN to CLM4.5. 

See notes /discover/nobackup/fzeng/clm4-to-clm4.5/notes_daily.

==========
20170310: 

1. Worked on upgrading the CN model in Catchment-CN to CLM4.5. 

See notes /discover/nobackup/fzeng/clm4-to-clm4.5/notes_daily.

==========
20170313:

1. Updated higgins rain data through Mar 12, 2017.

2. Worked on upgrading the CN model in Catchment-CN to CLM4.5. 

See notes /discover/nobackup/fzeng/clm4-to-clm4.5/notes_daily.

==========
20170314:

1. The e0004s_preindustrialCO2 finished the 14th cycle.

discover15:/discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/e0004s_preindustrialCO2/output/SMAP_EASEv2_M09_GLOBAL/rs/ens0000 > ls -l Y2016/M01
total 7354336
-rw-r--r-- 1 fzeng g0620 7547615847 2017-03-13 10:28 e0004s_preindustrialCO2.ens0000.catchcn_ldas_rst.20160101_0000z
discover15:/discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/e0004s_preindustrialCO2/output/SMAP_EASEv2_M09_GLOBAL/rs/ens0000 > ls -l ../../cat/ens_avg/Y2015/M12
total 526496
-rw-r--r-- 1 fzeng g0620 539112640 2017-03-13 10:28 e0004s_preindustrialCO2.ens_avg.ldas_tile_monthly_out.201512.bin

Process the output (covert from tile-space to grid-space):
~/Catchment/SMAP_M09 > tile2grid_ease_spinup_monthly e0004s_preindustrialCO2

Check the output on GrADS. Looks good. 

cd /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/
mv e0004s_preindustrialCO2 e0004s_preindustrialCO2_14
cd e0004s_preindustrialCO2_14/output/SMAP_EASEv2_M09_GLOBAL/rs/ens0000/
/bin/rm -rf Y200[1-9] Y201[0-5]
mkdir -p Y2001/M01
cd Y2001/M01
ln -s ../../Y2016/M01/e0004s_preindustrialCO2.ens0000.catchcn_ldas_rst.20160101_0000z e0004s_preindustrialCO2.ens0000.catchcn_ldas_rst.20010101_0000z

cd /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/run
Make sure that in M09_CN_e0004s_preindustrialCO2.exe: 
"restart_path = /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/e0004s_preindustrialCO2_14/output/"
"restart_id   = e0004s_preindustrialCO2"

Run ldsetup to set up the next cycle:
cd /discover/nobackup/fzeng/LDASsa_m3-16_0_p2_CatchCatchCN_for_MERRA3/exec/e0004s_preindustrialCO2/Linux/bin
source /discover/nobackup/fzeng/LDASsa_m3-16_0_p2_CatchCatchCN_for_MERRA3/src/g5_modules
./ldsetup setup /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09 /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/run/M09_CN_e0004s_preindustrialCO2.exe /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/run/M09_e0004s_preindustrialCO2.bat --runmodel --monthsperjob 10 --landmodel catchCN --submit

Double-checked the executable and the restart file. They are both correct.

==========
20170315-20170320: 

1. Worked on upgrading the CN model in Catchment-CN to CLM4.5. 

See notes /discover/nobackup/fzeng/clm4-to-clm4.5/notes_daily.

==========
20170321:

1. Worked on upgrading the CN model in Catchment-CN to CLM4.5. 

See notes /discover/nobackup/fzeng/clm4-to-clm4.5/notes_daily.

2. The e0004s_preindustrialCO2 finished the 15th cycle.

discover17:/discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/e0004s_preindustrialCO2/output/SMAP_EASEv2_M09_GLOBAL/rs/ens0000 > ls -l Y2016/M01
total 7354336
-rw-r--r-- 1 fzeng g0620 7547615847 2017-03-21 12:28 e0004s_preindustrialCO2.ens0000.catchcn_ldas_rst.20160101_0000z
discover17:/discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/e0004s_preindustrialCO2/output/SMAP_EASEv2_M09_GLOBAL/rs/ens0000 > ls -l ../../cat/ens_avg/Y2015/M12
total 526496
-rw-r--r-- 1 fzeng g0620 539112640 2017-03-21 12:28 e0004s_preindustrialCO2.ens_avg.ldas_tile_monthly_out.201512.bin

Process the output (covert from tile-space to grid-space):
~/Catchment/SMAP_M09 > tile2grid_ease_spinup_monthly e0004s_preindustrialCO2

Check the output on GrADS. Looks good. 

cd /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/
mv e0004s_preindustrialCO2 e0004s_preindustrialCO2_15
cd e0004s_preindustrialCO2_15/output/SMAP_EASEv2_M09_GLOBAL/rs/ens0000/
/bin/rm -rf Y200[1-9] Y201[0-5]
mkdir -p Y2001/M01
cd Y2001/M01
ln -s ../../Y2016/M01/e0004s_preindustrialCO2.ens0000.catchcn_ldas_rst.20160101_0000z e0004s_preindustrialCO2.ens0000.catchcn_ldas_rst.20010101_0000z

cd /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/run
Make sure that in M09_CN_e0004s_preindustrialCO2.exe: 
"restart_path = /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/e0004s_preindustrialCO2_15/output/"
"restart_id   = e0004s_preindustrialCO2"

Run ldsetup to set up the next cycle:
cd /discover/nobackup/fzeng/LDASsa_m3-16_0_p2_CatchCatchCN_for_MERRA3/exec/e0004s_preindustrialCO2/Linux/bin
source /discover/nobackup/fzeng/LDASsa_m3-16_0_p2_CatchCatchCN_for_MERRA3/src/g5_modules
./ldsetup setup /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09 /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/run/M09_CN_e0004s_preindustrialCO2.exe /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/run/M09_e0004s_preindustrialCO2.bat --runmodel --monthsperjob 10 --landmodel catchCN --submit

Double-checked the executable and the restart file. They are both correct.

==========
20170322:

1. Worked on upgrading the CN model in Catchment-CN to CLM4.5. 

==========
20170323:

1. Sarith created this new tag SM-CO2_2way_coupling to couple CO2 between land and the atmosphere. Files modified include:

Applications/GEOSgcm_App/AGCM.rc.tmpl
GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOS_PhysicsGridComp.F90
GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOS_SurfaceGridComp.F90
GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/GEOS_CatchCNGridComp.F90
GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/compute_rc.F90

(1) GEOS_PhysicsGridComp.F90:
removed "if (DO_OBIO/=0) then" so that using CO2SC is the default.

(2) GEOS_SurfaceGridComp.F90:
(2.1) moved this block below outside of "if(DO_OBIO/=0) then"
       call MAPL_AddImportSpec(GC,                              &
            SHORT_NAME         = 'CO2SC',                             &
            LONG_NAME          = 'CO2 Surface Concentration Bin 001', &
            UNITS              = '1e-6',                              &
            DIMS               = MAPL_DimsHorzOnly,                   &
            VLOCATION          = MAPL_VLocationNone,                  &
            RC=STATUS  )
       VERIFY_(STATUS) 
(2.2) moved this line below outside of "if(DO_OBIO/=0) then"
       call MAPL_GetPointer(IMPORT  , CO2SC   , 'CO2SC'    , RC=STATUS); VERIFY_(STATUS)
       
(2.3) moved this below outside of "if(DO_OBIO/=0) then" 
       allocate(CO2SCTILE(NT), STAT=STATUS)
       VERIFY_(STATUS)
       
      and deleted "nullify( CO2SCTILE          )" from "else" of this if block.
(2.4) moved this line below outside of "if(DO_OBIO/=0) then"
       call MAPL_LocStreamTransform(LOCSTREAM, CO2SCTILE, CO2SC,    RC=STATUS); VERIFY_(STATUS) 
(2.5) moved this line below outside of "if(DO_OBIO/=0) then"
         call FILLIN_TILE(GIM(type), 'CO2SC',  CO2SCTILE, XFORM, RC=STATUS); VERIFY_(STATUS)

(3) AGCM.rc.tmpl:
added "USE_CO2SC: 0"

(4) GEOS_CatchCNGridComp.F90:
(4.1) added this block below to L378-385: 
       call MAPL_AddImportSpec(GC,                              &
            SHORT_NAME         = 'CO2SC',                             &
            LONG_NAME          = 'CO2 Surface Concentration Bin 001', &
            UNITS              = '1e-6',                              &
            DIMS               = MAPL_DimsTileOnly,                   &
            VLOCATION          = MAPL_VLocationNone,                  &
            RC=STATUS  )
       VERIFY_(STATUS) 
(4.2) added to L3762:
      real, dimension(:), pointer :: CO2SC
(4.3) added to L4198:
      real, allocatable, dimension(:) :: CO2V
(4.4) L4231:
      changed from "real :: co2" to "real :: co2, USE_CO2SC"
(4.5) added after "        call MAPL_GetPointer(IMPORT,BLW    ,'BLW'    ,RC=STATUS); VERIFY_(STATUS)":
        call MAPL_GetPointer(IMPORT,CO2SC    ,'CO2SC'    ,RC=STATUS); VERIFY_(STATUS)
(4.6) added after "allocate(dayl_fac(ntiles) )":  
      allocate(CO2V(ntiles) )           
(4.7) added after "if(CO2 < 0.0) CO2 = GETCO2(AGCM_YY,dofyr)":

    CO2V(:) = CO2

    ! use CO2SC from GOCART/CO2
    ! -------------------------

    call MAPL_GetResource(MAPL, USE_CO2SC, 'USE_CO2SC:', default=0., RC=STATUS)

    if (USE_CO2SC == 1) then

       where ((CO2SC >= 0.) .and. (CO2SC <= 1000.))
          CO2V = CO2SC * 1e-6
       end where
      
    endif

(4.8) in call compute_rc, changed "co2" to "co2v"

(4.9) after "call compute_rc":
      deallocate (co2v)

2. Updated a few files in my /discover/nobackup/fzeng/clm4-to-clm4.5/GEOS5/Heracles-5_4_p3-M3_V24_C05/ sandbox.

/discover/nobackup/fzeng/clm4-to-clm4.5/GEOS5/Heracles-5_4_p3-M3_V24_C05/src > ~ltakacs/cvstools/cvscmp SM-CO2_2way_coupling

 The following files are locally MODIFIED:
- GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/CN_DriverMod.F90
- GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/clm_varpar.F90
- GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/pftvarcon.F90
- GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatch_GridComp/mk_restarts/GNUmakefile
- GMAO_Shared/GEOS_Util/post/gcmpost.script

 The following files are CONFLICTING:
- GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/GEOS_CatchCNGridComp.F90
- GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSland_GridComp/GEOScatchCN_GridComp/compute_rc.F90

 The following files need to be UPDATED for tag SM-CO2_2way_coupling

 |-------------|------------------------------------------------------------
 |   Newest    |
 |-------------|                     File Name
 | Here | Tag  |
 |------|------|------------------------------------------------------------
 |      |  x   | Applications/GEOSgcm_App/AGCM.rc.tmpl
 |      |  x   | GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOS_PhysicsGridComp.F90
 |      |  x   | GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOS_SurfaceGridComp.F90
 |      |  x   | GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSland_GridComp/GEOS_LandGridComp.F90
 |  x   |      | GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSland_GridComp/Shared/update_model_paras.F90
 |      |  x   | GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSlandice_GridComp/GEOS_LandIceGridComp.F90
 |      |  x   | GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Shared/StieglitzSnow.F90
 |------|------|------------------------------------------------------------       

Updated these three that are not for CO2 coupling, from src:
 
cvs upd -r SM-CO2_2way_coupling GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSland_GridComp/GEOS_LandGridComp.F90
cvs upd -r SM-CO2_2way_coupling GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSlandice_GridComp/GEOS_LandIceGridComp.F90
cvs upd -r SM-CO2_2way_coupling GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Shared/StieglitzSnow.F90          

Wait until the coupling is successful before updating the other files that Sarith modified for the coupling. 

3. Before the coupling, the CO2 value used is from

src/GEOSgcs_GridComp/GEOSgcm_GridComp/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSradiation_GridComp/GEOS_RadiationShared/getco2.F90

==========
20170324:

1. Worked on upgrading the CN model in Catchment-CN to CLM4.5. 

See notes /discover/nobackup/fzeng/clm4-to-clm4.5/notes_daily.

2. Met with Eunjee about her coupling CO2 GEOS-5 runs and the manuscript.

==========
20170327:

1. Worked on upgrading the CN model in Catchment-CN to CLM4.5. 

See notes /discover/nobackup/fzeng/clm4-to-clm4.5/notes_daily.

2. Updated higgins rain data through Mar 26, 2017.

==========
20170328:

1. Worked on upgrading the CN model in Catchment-CN to CLM4.5. 

See notes /discover/nobackup/fzeng/clm4-to-clm4.5/notes_daily.

==========
20170329:

1. Read Joanna's manuscript and provided comments.

2. Worked on upgrading the CN model in Catchment-CN to CLM4.5. 

See notes /discover/nobackup/fzeng/clm4-to-clm4.5/notes_daily.

3. Discussed with Eunjee about the photosynthesis equations in her manuscript.

==========
20170330:

1. Worked on upgrading the CN model in Catchment-CN to CLM4.5. 

See notes /discover/nobackup/fzeng/clm4-to-clm4.5/notes_daily.

==========
20170331:

1. Worked on upgrading the CN model in Catchment-CN to CLM4.5. 

See notes /discover/nobackup/fzeng/clm4-to-clm4.5/notes_daily.

2. The e0004s_preindustrialCO2 finished the 16th cycle.

discover18:/discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/e0004s_preindustrialCO2/output/SMAP_EASEv2_M09_GLOBAL/rs/ens0000 > ls -l Y2016/M01
total 7354336
-rw-r--r-- 1 fzeng g0620 7547615847 2017-03-28 11:36 e0004s_preindustrialCO2.ens0000.catchcn_ldas_rst.20160101_0000z
discover18:/discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/e0004s_preindustrialCO2/output/SMAP_EASEv2_M09_GLOBAL/rs/ens0000 > ls -l ../../cat/ens_avg/Y2015/M12
total 526496
-rw-r--r-- 1 fzeng g0620 539112640 2017-03-28 11:36 e0004s_preindustrialCO2.ens_avg.ldas_tile_monthly_out.201512.bin

Process the output (covert from tile-space to grid-space):
~/Catchment/SMAP_M09 > tile2grid_ease_spinup_monthly e0004s_preindustrialCO2

Check the output on GrADS. Looks good. 

cd /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/
mv e0004s_preindustrialCO2 e0004s_preindustrialCO2_16
cd e0004s_preindustrialCO2_16/output/SMAP_EASEv2_M09_GLOBAL/rs/ens0000/
/bin/rm -rf Y200[1-9] Y201[0-5]
mkdir -p Y2001/M01
cd Y2001/M01
ln -s ../../Y2016/M01/e0004s_preindustrialCO2.ens0000.catchcn_ldas_rst.20160101_0000z e0004s_preindustrialCO2.ens0000.catchcn_ldas_rst.20010101_0000z

cd /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/run
Make sure that in M09_CN_e0004s_preindustrialCO2.exe: 
"restart_path = /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/e0004s_preindustrialCO2_16/output/"
"restart_id   = e0004s_preindustrialCO2"

Run ldsetup to set up the next cycle:
cd /discover/nobackup/fzeng/LDASsa_m3-16_0_p2_CatchCatchCN_for_MERRA3/exec/e0004s_preindustrialCO2/Linux/bin
source /discover/nobackup/fzeng/LDASsa_m3-16_0_p2_CatchCatchCN_for_MERRA3/src/g5_modules
./ldsetup setup /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09 /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/run/M09_CN_e0004s_preindustrialCO2.exe /discover/nobackup/fzeng/Catchment/SMAP_EASEv2_M09/run/M09_e0004s_preindustrialCO2.bat --runmodel --monthsperjob 10 --landmodel catchCN --submit

Double-checked the executable and the restart file. They are both correct.
