Changeset 1623
- Timestamp:
- 2009-08-14T14:29:51+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libIGCM/ORCA2_LIM/IGCM00/COMP/opa9.driver
r1616 r1623 12 12 ##--Variables used by OPA -- 13 13 14 # c experexperience name for vairmer format15 # n it000 number of the first time step16 # n itend number of the last time step17 # n leapy leap year calendar (0/1) (30 for 360d)18 # n write frequency of OUTPUT file14 # cn_exp experience name for vairmer format 15 # nn_it000 number of the first time step 16 # nn_itend number of the last time step 17 # nn_leapy leap year calendar (0/1) (30 for 360d) 18 # nn_write frequency of OUTPUT file 19 19 # ln_rstart boolean term for restart (true or false) 20 # nstock frequency of restart file 21 # nrstdt control of the time step (0, 1 or 2) 22 # ndate0 initial calendar date aammjj 23 # nmsh =1 create a mesh file (coordinates, scale factors, masks) 24 # nwrihf frequency of HF OUTPUT file 25 # rdt time step in seconds (coming from namelist) 20 # nn_stock frequency of restart file 21 # nn_rstctl control of the time step (0, 1 or 2) 22 # nn_date0 initial calendar date aammjj 23 # nn_msh =1 create a mesh file (coordinates, scale factors, masks) 24 # rn_rdt time step in seconds (coming from namelist) 26 25 # nf_ptr_wri frequency of zonal means and transport output 27 26 … … 33 32 34 33 35 PAT_CEXPER=$( supergrep c exper${SUBMIT_DIR}/PARAM/namelist )36 PAT_NIT000=$( supergrep n it000 ${SUBMIT_DIR}/PARAM/namelist )37 PAT_NITEND=$( supergrep n itend ${SUBMIT_DIR}/PARAM/namelist )38 PAT_NLEAPY=$( supergrep n leapy ${SUBMIT_DIR}/PARAM/namelist )39 PAT_NWRITE=$( supergrep n write ${SUBMIT_DIR}/PARAM/namelist )34 PAT_CEXPER=$( supergrep cn_exp ${SUBMIT_DIR}/PARAM/namelist ) 35 PAT_NIT000=$( supergrep nn_it000 ${SUBMIT_DIR}/PARAM/namelist ) 36 PAT_NITEND=$( supergrep nn_itend ${SUBMIT_DIR}/PARAM/namelist ) 37 PAT_NLEAPY=$( supergrep nn_leapy ${SUBMIT_DIR}/PARAM/namelist ) 38 PAT_NWRITE=$( supergrep nn_write ${SUBMIT_DIR}/PARAM/namelist ) 40 39 PAT_RESTAR=$( supergrep ln_rstart ${SUBMIT_DIR}/PARAM/namelist ) 41 PAT_NSTOCK=$( supergrep n stock ${SUBMIT_DIR}/PARAM/namelist )42 PAT_NRSTAR=$( supergrep n rstdt${SUBMIT_DIR}/PARAM/namelist )43 PAT_NDATE0=$( supergrep n date0 ${SUBMIT_DIR}/PARAM/namelist )44 PAT_NMSH=$( supergrep n msh ${SUBMIT_DIR}/PARAM/namelist )40 PAT_NSTOCK=$( supergrep nn_stock ${SUBMIT_DIR}/PARAM/namelist ) 41 PAT_NRSTAR=$( supergrep nn_rstctl ${SUBMIT_DIR}/PARAM/namelist ) 42 PAT_NDATE0=$( supergrep nn_date0 ${SUBMIT_DIR}/PARAM/namelist ) 43 PAT_NMSH=$( supergrep nn_msh ${SUBMIT_DIR}/PARAM/namelist ) 45 44 PAT_NF_PTR=$( supergrep nf_ptr_wri ${SUBMIT_DIR}/PARAM/namelist ) 46 45 47 46 48 OPA_RDT=$( supergrep r dt ${SUBMIT_DIR}/PARAM/namelist | sed 's/ *rdt *=//' | sed 's/\. *,//' )47 OPA_RDT=$( supergrep rn_rdt ${SUBMIT_DIR}/PARAM/namelist | sed 's/ *rn_rdt *=//' | sed 's/\. *,//' ) 49 48 50 49 # Period Length In Days between DateBegin and first day of calendar 0001 01 01 … … 226 225 NEMO_END=$( echo $( awk "BEGIN { printf \"%0${PRECIS}d\",${OPA_NITEND} }" ) ) 227 226 228 sed -e "s%${PAT_CEXPER}% c exper=\"${config_UserChoices_JobName}\"%" \229 -e "s%${PAT_NIT000}% n it000=${OPA_NIT000}%" \230 -e "s%${PAT_NITEND}% n itend=${OPA_NITEND}%" \231 -e "s%${PAT_NWRITE}% n write=${OPA_NWRITE}%" \227 sed -e "s%${PAT_CEXPER}% cn_exp=\"${config_UserChoices_JobName}\"%" \ 228 -e "s%${PAT_NIT000}% nn_it000=${OPA_NIT000}%" \ 229 -e "s%${PAT_NITEND}% nn_itend=${OPA_NITEND}%" \ 230 -e "s%${PAT_NWRITE}% nn_write=${OPA_NWRITE}%" \ 232 231 -e "s%${PAT_RESTAR}% ln_rstart=${OPA_LRSTAR}%" \ 233 -e "s%${PAT_NSTOCK}% n stock=${OPA_NSTOCK}%" \234 -e "s%${PAT_NRSTAR}% n rstdt=${OPA_NRSTDT}%" \235 -e "s%${PAT_NDATE0}% n date0=${PeriodDateBegin}%" \236 -e "s%${PAT_NMSH}% n msh=${OPA_NMSH}%" \237 -e "s%${PAT_NLEAPY}% n leapy=${OPA_NLEAPY}%" \232 -e "s%${PAT_NSTOCK}% nn_stock=${OPA_NSTOCK}%" \ 233 -e "s%${PAT_NRSTAR}% nn_rstctl=${OPA_NRSTDT}%" \ 234 -e "s%${PAT_NDATE0}% nn_date0=${PeriodDateBegin}%" \ 235 -e "s%${PAT_NMSH}% nn_msh=${OPA_NMSH}%" \ 236 -e "s%${PAT_NLEAPY}% nn_leapy=${OPA_NLEAPY}%" \ 238 237 -e "s%${PAT_NF_PTR}% nf_ptr_wri=${OPA_NWRITE}%" \ 239 238 namelist > namelist.tmp
Note: See TracChangeset
for help on using the changeset viewer.