Changeset 1690 for branches/libIGCM/ORCA2_OFF_PISCES/IGCM02/COMP
- Timestamp:
- 2009-10-30T10:44:58+01:00 (15 years ago)
- 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 38 38 List= (${SUBMIT_DIR}/PARAM/namelist, .), \ 39 39 (${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, .) 41 43 42 44 [RestartFiles] … … 44 46 45 47 [OutputText] 46 List= (ocean.output )48 List= (ocean.output, iodef.xml) 47 49 48 50 [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)51 List= (${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) 51 53 -
branches/libIGCM/ORCA2_OFF_PISCES/IGCM02/COMP/pisces.driver
r1676 r1690 64 64 PAT_PIS_LRIVER=$( supergrep ln_river ${SUBMIT_DIR}/PARAM/namelist_pisces ) 65 65 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 66 73 IGCM_debug_PopStack "MBG_Initialize" 67 74 } … … 127 134 *Y|*y) 128 135 (( TOP_NWRITE = OPA_NDT_DAY * topfactor * $( IGCM_date_DaysInYear ${year} ) )) ; 136 (( WriteFrequencyInDays = topfactor * $( IGCM_date_DaysInYear ${year} ) )) ; 129 137 PREFIX_NWRITETRC=${config_UserChoices_JobName}_${topfactor}y ; 130 138 R_OUT_MBG_NWRITE=${R_OUT_MBG_O_Y} ; … … 132 140 1M|1m) 133 141 (( TOP_NWRITE = OPA_NDT_DAY * topfactor * $( IGCM_date_DaysInMonth ${year} ${month} ) )) ; 142 (( WriteFrequencyInDays = topfactor * $( IGCM_date_DaysInMonth ${year} ${month} ) )) ; 134 143 PREFIX_NWRITETRC=${config_UserChoices_JobName}_${topfactor}m ; 135 144 R_OUT_MBG_NWRITE=${R_OUT_MBG_O_M} ; … … 137 146 *D|*d) 138 147 (( TOP_NWRITE = OPA_NDT_DAY * topfactor )) ; 148 (( WriteFrequencyInDays = topfactor )) ; 139 149 PREFIX_NWRITETRC=${config_UserChoices_JobName}_${topfactor}d ; 140 150 R_OUT_MBG_NWRITE=${R_OUT_MBG_O_D} ; … … 198 208 199 209 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 200 227 201 228 echo 'Variables automatically updated in namelists'
Note: See TracChangeset
for help on using the changeset viewer.