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 1371 for branches/libIGCM/ORCA2_LIM – NEMO

Ignore:
Timestamp:
2009-04-02T10:00:31+02:00 (16 years ago)
Author:
flavoni
Message:

final english version. All variables are OPA_xxx. See ticket: #392

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libIGCM/ORCA2_LIM/IGCM00/COMP/opa9.driver

    r1369 r1371  
    4343    PAT_NMSH=$(   supergrep nmsh      ${SUBMIT_DIR}/PARAM/namelist )  
    4444 
    45     OPA_NSTOCK=$( echo $PAT_NSTOCK | sed "s/[a-z,A-Z,=]//g" ) 
    4645    OPA_RDT=$( supergrep rdt  ${SUBMIT_DIR}/PARAM/namelist | sed 's/ *rdt *=//' | sed 's/\. *,//' ) 
    4746 
     
    6665    case ${frequency} in 
    6766   1Y|1y) 
    68        (( OPA_NWRITE = OPA_NPDT_JOUR * factor * $( IGCM_date_DaysInYear  ${year} ) ))          ; 
     67       (( OPA_NWRITE = OPA_NDT_DAY * factor * $( IGCM_date_DaysInYear  ${year} ) ))          ; 
    6968       PREFIX_NWRITE=${config_UserChoices_JobName}_${factor}y ; 
    7069       R_OUT_OCE_NWRITE=${R_OUT_OCE_O_Y} ; 
     
    7271       WF1=${factor}Y ;; 
    7372   1M|1m) 
    74        (( OPA_NWRITE = OPA_NPDT_JOUR * factor * $( IGCM_date_DaysInMonth ${year} ${month} ) )) ; 
     73       (( OPA_NWRITE = OPA_NDT_DAY * factor * $( IGCM_date_DaysInMonth ${year} ${month} ) )) ; 
    7574       PREFIX_NWRITE=${config_UserChoices_JobName}_${factor}m ; 
    7675       R_OUT_OCE_NWRITE=${R_OUT_OCE_O_M} ; 
     
    7877       WF1=${factor}M ;; 
    7978   *D|*d) 
    80        (( OPA_NWRITE = OPA_NPDT_JOUR * factor  ))  ; 
     79       (( OPA_NWRITE = OPA_NDT_DAY * factor  ))  ; 
    8180       PREFIX_NWRITE=${config_UserChoices_JobName}_${factor}d ; 
    8281       R_OUT_OCE_NWRITE=${R_OUT_OCE_O_D} ; 
     
    9291 
    9392    ## Count of number of time steps from begin of OPA job 
    94     (( ORCA_NIT000 = ( PeriodDaysSinceJC - DaysSinceJC ) * OPA_NDT_DAY + 1 )) 
     93    (( OPA_NIT000 = ( PeriodDaysSinceJC - DaysSinceJC ) * OPA_NDT_DAY + 1 )) 
    9594    (( OPA_NDT   = PeriodLengthInDays * OPA_NDT_DAY )) 
    96     (( ORCA_NITEND = ORCA_NIT000 + OPA_NDT - 1)) 
     95    (( OPA_NITEND = OPA_NIT000 + OPA_NDT - 1)) 
    9796 
    98     ## Forcing to write one restart file at the end of PeriodNb 
    99     ORCA_NSTOCK="${ORCA_NITEND}" 
     97    ## Forcing to write one restart file at the end of period 
     98    OPA_NSTOCK="${OPA_NITEND}" 
    10099 
    101100    ## Verification of number of time step in a day 
    102     (( NB_SEC_DAY_MODEL = OPA_NDT_DAY * ORCA_RDT )) 
     101    (( NB_SEC_DAY_MODEL = OPA_NDT_DAY * OPA_RDT )) 
    103102    (( NB_SEC_DAY = 60 * 60 * 24 )) 
    104103 
    105     if [ ${NB_SEC_JOUR_MODEL} -ne ${NB_SEC_JOUR} ] 
     104    if [ ${NB_SEC_DAY_MODEL} -ne ${NB_SEC_DAY} ] 
    106105   then 
    107         echo " VERIFIER OPA_NPDT_JOUR dans le job ${JOB} " 
     106        echo " VERIFIER OPA_NDT_DAY dans le job ${JOB} " 
    108107        exit 
    109108    fi 
Note: See TracChangeset for help on using the changeset viewer.