New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 7017 for branches/NERC/dev_r5518_NOC_MEDUSA_Stable/NEMOGCM/NEMO/TOP_SRC/MEDUSA/trcbio_medusa.F90 – NEMO

Ignore:
Timestamp:
2016-10-11T16:20:23+02:00 (8 years ago)
Author:
jpalmier
Message:

Jpalm -- 11-10-2016 -- Improve MEDUSA reproducibility - change carb-chem calling/restart

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/NERC/dev_r5518_NOC_MEDUSA_Stable/NEMOGCM/NEMO/TOP_SRC/MEDUSA/trcbio_medusa.F90

    r6810 r7017  
    10391039      !!                 be calculated and done properly 
    10401040      !! IF( kt == nit000 .or. mod(kt,1920) == 0 ) THEN 
    1041       IF( kt == nittrc000 .or. mod(kt,960) == 0 ) THEN 
     1041      !! IF( kt == nittrc000 .or. mod(kt,960) == 0 ) THEN  
     1042      !!============================= 
     1043      !! Jpalm -- 07-10-2016 -- need to change carb-chem frequency call : 
     1044      !!          we don't want to call on the first time-step of all run submission,  
     1045      !!          but only on the very first time-step, and then every month 
     1046      !!          So we call on nittrc000 if not restarted run,  
     1047      !!          else if one month after last call. 
     1048      !!          assume one month is 30d --> 3600*24*30 : 2592000s 
     1049      !!          try to call carb-chem at 1st month's tm-stp : x * 30d + 1*rdt(i.e: mod = rdt)    
     1050      !!          ++ need to pass carb-chem output var through restarts 
     1051      If ( ( kt == nittrc000 .AND. .NOT.ln_rsttr ) .OR. mod(kt*rdt,2592000.) == rdt ) THEN 
    10421052         !!---------------------------------------------------------------------- 
    10431053         !! Calculate the carbonate chemistry for the whole ocean on the first 
Note: See TracChangeset for help on using the changeset viewer.