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 1690 for branches/libIGCM/ORCA2_OFF_PISCES/IGCM02/COMP – NEMO

Ignore:
Timestamp:
2009-10-30T10:44:58+01:00 (15 years ago)
Author:
cetlod
Message:

Adding files for ORCA2_OFF_PISCES/IGCM02 config, see ticket:574

Location:
branches/libIGCM/ORCA2_OFF_PISCES/IGCM02/COMP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/libIGCM/ORCA2_OFF_PISCES/IGCM02/COMP/pisces.card

    r1676 r1690  
    3838List= (${SUBMIT_DIR}/PARAM/namelist, .), \ 
    3939        (${SUBMIT_DIR}/PARAM/namelist_top, .), \ 
    40         (${SUBMIT_DIR}/PARAM/namelist_pisces,    .) 
     40        (${SUBMIT_DIR}/PARAM/namelist_pisces, .), \ 
     41        (${SUBMIT_DIR}/PARAM/iodef.xml, .), \ 
     42        (${SUBMIT_DIR}/PARAM/xmlio_server.def, .) 
    4143 
    4244[RestartFiles] 
     
    4446 
    4547[OutputText] 
    46 List=   (ocean.output) 
     48List=   (ocean.output, iodef.xml) 
    4749 
    4850[OutputFiles] 
    49 List=   (${PREFIX_NWRITETRC}_${DATE_OPA}_ptrc_T.nc, ${R_OUT_MBG_NWRITE}/${PREFIX}_${WFT1}_ptrc_T.nc, NONE), \ 
    50         (${PREFIX_NWRITETRC}_${DATE_OPA}_diad_T.nc, ${R_OUT_MBG_NWRITE}/${PREFIX}_${WFT1}_diad_T.nc, NONE) 
     51List=   (${PREFIX}_${WFT1}_ptrc_T.nc, ${R_OUT_MBG_NWRITE}/${PREFIX}_${WFT1}_ptrc_T.nc, NONE), \ 
     52        (${PREFIX}_${WFT1}_diad_T.nc, ${R_OUT_MBG_NWRITE}/${PREFIX}_${WFT1}_diad_T.nc, NONE) 
    5153 
  • branches/libIGCM/ORCA2_OFF_PISCES/IGCM02/COMP/pisces.driver

    r1676 r1690  
    6464    PAT_PIS_LRIVER=$( supergrep ln_river                 ${SUBMIT_DIR}/PARAM/namelist_pisces ) 
    6565 
     66    ##--Variables used for XMLIO_SERVER configuration file 
     67 
     68    # using_server: .TRUE.(.FALSE.) to use(bypass) the io_server 
     69 
     70    PAT_SERVER=$( supergrep using_server ${SUBMIT_DIR}/PARAM/xmlio_server.def ) 
     71 
     72 
    6673    IGCM_debug_PopStack "MBG_Initialize" 
    6774} 
     
    127134        *Y|*y) 
    128135            (( TOP_NWRITE = OPA_NDT_DAY * topfactor * $( IGCM_date_DaysInYear  ${year} ) ))          ; 
     136            (( WriteFrequencyInDays =  topfactor * $( IGCM_date_DaysInYear  ${year} ) ))          ; 
    129137            PREFIX_NWRITETRC=${config_UserChoices_JobName}_${topfactor}y ; 
    130138            R_OUT_MBG_NWRITE=${R_OUT_MBG_O_Y} ; 
     
    132140        1M|1m) 
    133141            (( TOP_NWRITE = OPA_NDT_DAY * topfactor * $( IGCM_date_DaysInMonth  ${year} ${month} ) ))          ; 
     142            (( WriteFrequencyInDays =  topfactor * $( IGCM_date_DaysInMonth  ${year} ${month} ) ))          ; 
    134143            PREFIX_NWRITETRC=${config_UserChoices_JobName}_${topfactor}m ; 
    135144            R_OUT_MBG_NWRITE=${R_OUT_MBG_O_M} ; 
     
    137146        *D|*d) 
    138147            (( TOP_NWRITE = OPA_NDT_DAY * topfactor  ))          ; 
     148            (( WriteFrequencyInDays =  topfactor  ))          ; 
    139149            PREFIX_NWRITETRC=${config_UserChoices_JobName}_${topfactor}d ; 
    140150            R_OUT_MBG_NWRITE=${R_OUT_MBG_O_D} ; 
     
    198208 
    199209    IGCM_sys_Mv namelist_pisces.tmp namelist_pisces 
     210 
     211 
     212    # output_frequency_trc : output frequency of pisces output files in seconds 
     213    (( output_frequency_trc = $WriteFrequencyInDays * 86400 )) 
     214 
     215    # file_name_ptrc_T : name of output file on ptrc 
     216    # file_name_diad_T : name of output file on diad 
     217    # output_frequency_trc : output frequency of pisces output files 
     218 
     219 
     220    sed -e "s/<file_name_ptrc_T>/ \"${PREFIX}_${WFT1}_ptrc_T.nc\"/" \ 
     221        -e "s/<file_name_diad_T>/ \"${PREFIX}_${WFT1}_diad_T.nc\"/" \ 
     222        -e "s/<output_frequency_trc>/ \"${output_frequency_trc}\"/g" \ 
     223        iodef.xml > iodef.xml.tmp 
     224 
     225    IGCM_sys_Mv iodef.xml.tmp iodef.xml 
     226 
    200227 
    201228    echo 'Variables automatically updated in namelists' 
Note: See TracChangeset for help on using the changeset viewer.