Changeset 155


Ignore:
Timestamp:
10/01/07 16:03:44 (14 years ago)
Author:
sdipsl
Message:

Modifications :

  • Better output frequency and output name management for OPA-LIM
Location:
CONFIG/trunk/IPSLCM4_v2/EXP00/COMP
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/trunk/IPSLCM4_v2/EXP00/COMP/lim.card

    r154 r155  
    2323 
    2424[OutputFiles] 
    25 List=   (${PREFIX_OPA}_${DATE_OPA}_icemod.nc, ${R_OUT_ICE_O_M}/${PREFIX}_1M_icemod.nc, Post_1M_icemod) 
     25List=   (${PREFIX_NWRITE}_${DATE_OPA}_icemod.nc, ${R_OUT_ICE_NWRITE}/${PREFIX}_${WF1}_icemod.nc, Post_1M_icemod) 
    2626 
    2727[Post_1M_icemod] 
  • CONFIG/trunk/IPSLCM4_v2/EXP00/COMP/opa.card

    r154 r155  
    2626 
    2727[OutputFiles] 
    28 List=   (${PREFIX_OPA}_${DATE_OPA}_grid_T.nc, ${R_OUT_OCE_O_M}/${PREFIX}_1M_grid_T.nc, Post_1M_grid_T),\ 
    29         (${PREFIX_OPA}_${DATE_OPA}_grid_U.nc, ${R_OUT_OCE_O_M}/${PREFIX}_1M_grid_U.nc, Post_1M_grid_U) ,\ 
    30         (${PREFIX_OPA}_${DATE_OPA}_grid_V.nc, ${R_OUT_OCE_O_M}/${PREFIX}_1M_grid_V.nc, Post_1M_grid_V),\ 
    31         (${PREFIX_OPA}_${DATE_OPA}_grid_W.nc, ${R_OUT_OCE_O_M}/${PREFIX}_1M_grid_W.nc, Post_1M_grid_W),\ 
    32         (${PREFIX_OPA}_${DATE_OPA}_diaznl.nc, ${R_OUT_OCE_O_M}/${PREFIX}_1M_diaznl.nc, Post_1M_diaznl),\ 
    33         (${PREFIX_OPA}_${DATE_OPA}_S_tren.nc, ${R_OUT_OCE_O_M}/${PREFIX}_1M_S_tren.nc, NONE),\ 
    34         (${PREFIX_OPA}_${DATE_OPA}_T_tren.nc, ${R_OUT_OCE_O_M}/${PREFIX}_1M_T_tren.nc, NONE),\ 
    35         (${PREFIX_OPA}_${DATE_OPA}_trends.nc, ${R_OUT_OCE_O_M}/${PREFIX}_1M_trends.nc, NONE),\ 
    36         (${PREFIX_OPA}_${DATE_OPA}_diagap.nc, ${R_OUT_OCE_O_M}/${PREFIX}_1M_diagap.nc, NONE),\ 
    37         (${PREFIX_HF}_${DATE_OPA}_grid_T.nc,  ${R_OUT_OCE_O_D}/${PREFIX}_5D_grid_T.nc, NONE),\ 
    38         (${PREFIX_HF}_${DATE_OPA}_grid_U.nc,  ${R_OUT_OCE_O_D}/${PREFIX}_5D_grid_U.nc, NONE),\ 
    39         (${PREFIX_HF}_${DATE_OPA}_grid_V.nc,  ${R_OUT_OCE_O_D}/${PREFIX}_5D_grid_V.nc, NONE) 
     28List=   (${PREFIX_NWRITE}_${DATE_OPA}_grid_T.nc, ${R_OUT_OCE_NWRITE}/${PREFIX}_${WF1}_grid_T.nc, Post_1M_grid_T),\ 
     29        (${PREFIX_NWRITE}_${DATE_OPA}_grid_U.nc, ${R_OUT_OCE_NWRITE}/${PREFIX}_${WF1}_grid_U.nc, Post_1M_grid_U) ,\ 
     30        (${PREFIX_NWRITE}_${DATE_OPA}_grid_V.nc, ${R_OUT_OCE_NWRITE}/${PREFIX}_${WF1}_grid_V.nc, Post_1M_grid_V),\ 
     31        (${PREFIX_NWRITE}_${DATE_OPA}_grid_W.nc, ${R_OUT_OCE_NWRITE}/${PREFIX}_${WF1}_grid_W.nc, Post_1M_grid_W),\ 
     32        (${PREFIX_NWRITE}_${DATE_OPA}_diaznl.nc, ${R_OUT_OCE_NWRITE}/${PREFIX}_${WF1}_diaznl.nc, Post_1M_diaznl),\ 
     33        (${PREFIX_NWRITE}_${DATE_OPA}_S_tren.nc, ${R_OUT_OCE_NWRITE}/${PREFIX}_${WF1}_S_tren.nc, NONE),\ 
     34        (${PREFIX_NWRITE}_${DATE_OPA}_T_tren.nc, ${R_OUT_OCE_NWRITE}/${PREFIX}_${WF1}_T_tren.nc, NONE),\ 
     35        (${PREFIX_NWRITE}_${DATE_OPA}_trends.nc, ${R_OUT_OCE_NWRITE}/${PREFIX}_${WF1}_trends.nc, NONE),\ 
     36        (${PREFIX_NWRITE}_${DATE_OPA}_diagap.nc, ${R_OUT_OCE_NWRITE}/${PREFIX}_${WF1}_diagap.nc, NONE),\ 
     37        (${PREFIX_NWRIHF}_${DATE_OPA}_grid_T.nc, ${R_OUT_OCE_NWRIHF}/${PREFIX}_${WF2}_grid_T.nc, NONE),\ 
     38        (${PREFIX_NWRIHF}_${DATE_OPA}_grid_U.nc, ${R_OUT_OCE_NWRIHF}/${PREFIX}_${WF2}_grid_U.nc, NONE),\ 
     39        (${PREFIX_NWRIHF}_${DATE_OPA}_grid_V.nc, ${R_OUT_OCE_NWRIHF}/${PREFIX}_${WF2}_grid_V.nc, NONE) 
    4040 
    4141[Post_1M_grid_T] 
  • CONFIG/trunk/IPSLCM4_v2/EXP00/COMP/opa.driver

    r154 r155  
    6464    ##--Write Frequency Purpose .... 
    6565    frequency=$( echo ${config_OCE_WriteFrequency} | awk "-F " '{print $1}' ) 
    66  
     66    factor=$( echo ${frequency} | sed -e "s/[yYmMdD]//" ) 
    6767    case ${frequency} in 
    6868        1Y|1y) 
    69             (( ORCA_NWRITE = ORCA_NPDT_JOUR * $( IGCM_date_DaysInYear  ${year} ) ))          ; 
    70             PREFIX_OPA=${config_UserChoices_JobName}_1y ;; 
     69            (( ORCA_NWRITE = ORCA_NPDT_JOUR * factor * $( IGCM_date_DaysInYear  ${year} ) ))          ; 
     70            PREFIX_NWRITE=${config_UserChoices_JobName}_${factor}y ; 
     71            R_OUT_OCE_NWRITE=${R_OUT_OCE_O_Y} ; 
     72            R_OUT_ICE_NWRITE=${R_OUT_ICE_O_Y} ; 
     73            WF1=${factor}Y ;; 
    7174        1M|1m) 
    72             (( ORCA_NWRITE = ORCA_NPDT_JOUR * $( IGCM_date_DaysInMonth ${year} ${month} ) )) ; 
    73             PREFIX_OPA=${config_UserChoices_JobName}_1m ;; 
     75            (( ORCA_NWRITE = ORCA_NPDT_JOUR * factor * $( IGCM_date_DaysInMonth ${year} ${month} ) )) ; 
     76            PREFIX_NWRITE=${config_UserChoices_JobName}_${factor}m ; 
     77            R_OUT_OCE_NWRITE=${R_OUT_OCE_O_M} ; 
     78            R_OUT_ICE_NWRITE=${R_OUT_ICE_O_M} ; 
     79            WF1=${factor}M ;; 
    7480        *D|*d) 
    75             (( ORCA_NWRITE = ORCA_NPDT_JOUR * $( echo ${frequency} | sed -e "s/[dD]//" ) ))  ; 
    76             PREFIX_OPA=${config_UserChoices_JobName}_$( echo ${frequency} | sed -e "s/[dD]//" )d ;; 
     81            (( ORCA_NWRITE = ORCA_NPDT_JOUR * factor  ))  ; 
     82            PREFIX_NWRITE=${config_UserChoices_JobName}_${factor}d ; 
     83            R_OUT_OCE_NWRITE=${R_OUT_OCE_O_D} ; 
     84            R_OUT_ICE_NWRITE=${R_OUT_ICE_O_D} ; 
     85            WF1=${factor}D ;; 
    7786        *) 
    7887            (( ORCA_NWRITE = 0 ))                                                            ;; 
     
    8291    if [ ${NbFreq} -eq 2 ] ; then 
    8392        frequency=$( echo ${config_OCE_WriteFrequency} | awk "-F " '{print $2}' ) 
     93        factor=$( echo ${frequency} | sed -e "s/[yYmMdD]//" ) 
    8494        case ${frequency} in 
    85             1Y|1y) 
    86                 (( ORCA_NWRIHF = ORCA_NPDT_JOUR * $( IGCM_date_DaysInYear  ${year} ) ))          ; 
    87                 PREFIX_HF=${config_UserChoices_JobName}_1y ;; 
    88             1M|1m) 
    89                 (( ORCA_NWRIHF = ORCA_NPDT_JOUR * $( IGCM_date_DaysInMonth ${year} ${month} ) )) ; 
    90                 PREFIX_HF=${config_UserChoices_JobName}_1m ;; 
     95            *Y|*y) 
     96                (( ORCA_NWRIHF = ORCA_NPDT_JOUR * factor * $( IGCM_date_DaysInYear  ${year} ) ))          ; 
     97                PREFIX_NWRIHF=${config_UserChoices_JobName}_${factor}y ; 
     98                R_OUT_OCE_NWRIHF=${R_OUT_OCE_O_Y} ; 
     99                WF2=${factor}Y ;; 
     100            *M|*m) 
     101                (( ORCA_NWRIHF = ORCA_NPDT_JOUR * factor * $( IGCM_date_DaysInMonth ${year} ${month} ) )) ; 
     102                PREFIX_NWRIHF=${config_UserChoices_JobName}_${factor}m ; 
     103                R_OUT_OCE_NWRIHF=${R_OUT_OCE_O_M} ; 
     104                WF2=${factor}M ;; 
    91105            *D|*d) 
    92                 (( ORCA_NWRIHF = ORCA_NPDT_JOUR * $( echo ${frequency} | sed -e "s/[dD]//" ) ))  ; 
    93                 PREFIX_HF=${config_UserChoices_JobName}_$( echo ${frequency} | sed -e "s/[dD]//" )d ;; 
     106                (( ORCA_NWRIHF = ORCA_NPDT_JOUR * factor ))  ; 
     107                PREFIX_NWRIHF=${config_UserChoices_JobName}_${factor}d ; 
     108                R_OUT_OCE_NWRIHF=${R_OUT_OCE_O_D} ; 
     109                WF2=${factor}D ;; 
    94110            *) 
    95111                (( ORCA_NWRIHF = 0 ))                                                            ;; 
Note: See TracChangeset for help on using the changeset viewer.