Changeset 889 for CONFIG/LMDZINCA/branches/LMDZINCA_v3_1/CREATE
- Timestamp:
- 02/12/10 15:25:51 (15 years ago)
- Location:
- CONFIG/LMDZINCA/branches/LMDZINCA_v3_1/CREATE
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/LMDZINCA/branches/LMDZINCA_v3_1/CREATE/COMP/lmdz.driver
r267 r889 1 #- $Id: lmdz.driver 868 2010-01-08 13:20:18Z acosce $ 1 2 #!/bin/ksh 2 3 … … 6 7 IGCM_debug_PushStack "ATM_Initialize" 7 8 8 RESOL_ATM=${RESOL} 9 RESOL_ATM=$( echo $RESOL | awk "-Fx" '{print $2}' ) 10 case ${RESOL_ATM} in 11 LMD7245) BandsResol=72x45x19 ;; 12 LMD9671) BandsResol=96x71x19 ;; 13 LMD9672) BandsResol=96x72x19 ;; 14 LMD9695) BandsResol=96x95x19 ;; 15 LMD14496) BandsResol=144x96x19 ;; 16 LMD144142) BandsResol=144x142x19 ;; 17 esac 18 19 20 ##-- Calendar type for LMDZ 21 case ${config_UserChoices_CalendarType} in 22 leap|gregorian) 23 CalendarTypeForLmdz=earth_366d;; 24 noleap) 25 CalendarTypeForLmdz=earth_365d;; 26 360d) 27 CalendarTypeForLmdz=earth_360d;; 28 *) 29 CalendarTypeForLmdz=earth_360d 30 esac 31 32 ##- Default number of processor for lmdz 33 NUM_PROC_ATM=1 34 if [ X"${BATCH_NUM_PROC_TOT}" != X ] ; then 35 NUM_PROC_ATM=${BATCH_NUM_PROC_TOT} 36 fi 9 37 10 38 ##--Frequency purpose .... … … 13 41 ##-- 14 42 OK_journe=n 15 OK_mensuel= n43 OK_mensuel=y 16 44 17 45 case ${config_UserChoices_PeriodLength} in 18 46 1Y|1y|1M|1m) OK_mensuel=y ;; 19 5D|5d|1D|1d) OK_journe= y;;47 5D|5d|1D|1d) OK_journe=n ;; 20 48 esac 21 49 22 50 for frequency in ${config_ATM_WriteFrequency} ; do 23 51 case ${frequency} in 24 5D|5d|1D|1d) OK_journe= y;;52 5D|5d|1D|1d) OK_journe=n ;; 25 53 esac 26 54 done … … 35 63 PAT_day_step=$( grep 'day_step' ${SUBMIT_DIR}/PARAM/gcm.def ) 36 64 PAT_ecritphy=$( grep 'ecritphy' ${SUBMIT_DIR}/PARAM/gcm.def ) 65 66 37 67 38 68 ##-- This could be define in lmdz.card, inside section [UserChoices] … … 61 91 62 92 ## Mise en forme du fichier physiq.def 63 sed -e "s/OK_instan=.*/OK_instan=${OK_instan}/" \64 -e "s/OK_journe=.*/OK_journe=${OK_journe}/" \65 -e "s/OK_mensuel=.*/OK_mensuel=${OK_mensuel}/" \93 sed -e "s/OK_instan=.*/OK_instan=${OK_instan}/" \ 94 -e "s/OK_journe=.*/OK_journe=${OK_journe}/" \ 95 -e "s/OK_mensuel=.*/OK_mensuel=${OK_mensuel}/" \ 66 96 physiq.def > physiq.def.tmp 67 97 IGCM_sys_Mv physiq.def.tmp physiq.def 68 98 69 99 ## Mise en forme du fichier gcm.def 70 sed -e "s/${PAT_ecritphy}/ecritphy=${ecritphy}/" \71 -e "s/${PAT_day_step}/day_step=${day_step}/" \72 -e "s/${PAT_iperiod}/iperiod=${iperiod}/" \73 -e "s/${PAT_iphysiq}/iphysiq=${iphysiq}/" \100 sed -e "s/${PAT_ecritphy}/ecritphy=${ecritphy}/" \ 101 -e "s/${PAT_day_step}/day_step=${day_step}/" \ 102 -e "s/${PAT_iperiod}/iperiod=${iperiod}/" \ 103 -e "s/${PAT_iphysiq}/iphysiq=${iphysiq}/" \ 74 104 gcm.def > gcm.def.tmp 75 105 IGCM_sys_Mv gcm.def.tmp gcm.def 76 106 107 greg_dat=$( IGCM_date_ConvertFormatToGregorian $PeriodDateBegin ) 108 jul_dat=$( IGCM_date_ConvertGregorianDateToJulian $greg_dat ) 109 nbjour=$( expr \( $jul_dat \% 1000 \) ) 110 yractu=$( expr $greg_dat / 10000 ) 111 echo "dayref = " $nbjour "year actu = " $yractu 112 77 113 ## Mise en forme du fichier run.def 78 sed -e "s/_dayref_/${InitDay}/" \ 79 -e "s/_anneeref_/${InitYear}/" \ 80 -e "s/_nday_/${PeriodLengthInDays}/" \ 81 -e "s/_raz_date_/${RAZ_DATE}/" \ 114 sed -e "s/_dayref_/${nbjour}/" \ 115 -e "s/_anneeref_/${yractu}/" \ 116 -e "s/_calend_/${CalendarTypeForLmdz}/" \ 117 -e "s/_nday_/${PeriodLengthInDays}/" \ 118 -e "s/_raz_date_/${RAZ_DATE}/" \ 82 119 run.def > run.def.tmp 83 120 IGCM_sys_Mv run.def.tmp run.def -
CONFIG/LMDZINCA/branches/LMDZINCA_v3_1/CREATE/PARAM/gcm.def
r223 r889 1 ## $Id: gcm.def 71 2007-06-21 14:26:03Z acosce $1 ## $Id: gcm.def 626 2009-05-15 15:04:37Z acosce $ 2 2 ## nombre de pas par jour (multiple de iperiod) ( ici pour dt = 1 min ) 3 3 day_step=480 … … 35 35 ## frequence (en jours ) de l'ecriture du fichier histphy 36 36 ecritphy=1 37 ## frequence (en jours ) de l'ecriture du fichier histmth 38 ecrit_mth=1 37 39 ## Cycle diurne ou non 38 40 cycle_diurne=y … … 50 52 nbapp_rad=12 51 53 ## Flag pour la convection (1 pour LMD, 2 pour Tiedtke, 3 KE, 4 KE vect) 52 iflag_con= 254 iflag_con=30 53 55 ## longitude en degres du centre du zoom 54 56 clon=0. -
CONFIG/LMDZINCA/branches/LMDZINCA_v3_1/CREATE/PARAM/physiq.def
r223 r889 1 ##- $Id: physiq.def 71 2007-06-21 14:26:03Z acosce $2 OCEAN=force1 ##- $Id: physiq.def 607 2009-04-21 11:08:53Z acosce $ 2 type_ocean=force 3 3 VEGET=n 4 4 OK_journe=n … … 77 77 #cdhmax = 2.0E-3 78 78 cdhmax = 0.002 79 #autres flags 79 80 iflag_pbl = 1 80 81 iflag_thermals = 0 82 iflag_clos=0 83 iflag_ratqs=0 84 # 85 # parametre chimie/aerosols 86 # 87 config_inca=none 88 aerosol_couple=n 89 flag_aerosol=1 90 new_aod=.true. 91 ok_ade=n 92 ok_aie=n -
CONFIG/LMDZINCA/branches/LMDZINCA_v3_1/CREATE/PARAM/run.def
r841 r889 1 # 2 # $Header: /home/ioipsl/CVSROOT/LMDZ4OR/CLIM_CREATE/PARAM/run.def,v 1.1 2006/12/21 10:17:35 adm Exp $ 3 # 1 ## $Id: run.def 859 2009-12-18 14:26:57Z acosce $ 4 2 INCLUDEDEF=physiq.def 5 3 INCLUDEDEF=gcm.def 6 #INCLUDEDEF=orchidee.def 4 INCLUDEDEF=orchidee.def 5 ## Type de calendrier utilise 6 ## valeur possible: earth_360d (defaut), earth_365d, earth_366d 7 calend=_calend_ 7 8 ## Jour de l'etat initial ( = 350 si 20 Decembre ,par expl. ,comme ici ) 8 9 dayref=_dayref_ 9 10 ## Annee de l'etat initial ( avec 4 chiffres ) 10 11 anneeref=_anneeref_ 12 ## raz_date 13 raz_date=_raz_date_ 11 14 ## Nombre de jours d'integration 12 15 nday=_nday_ 13 ## Remise a zero de la date initiale14 raz_date=_raz_date_15 ## Type de calendrier utilise16 ## valeur possible: earth_360d (defaut), earth_365d, earth_366d17 calend=_calend_18 16 ## periode de sortie des variables de controle (en pas) 19 iconser= 24017 iconser= 480 20 18 ## periode d'ecriture du fichier histoire (en jour) 21 iecri=1 19 iecri=10 22 20 ## periode de stockage fichier histmoy (en jour) 23 21 periodav=1. 22 ## unite de sortie des impressions 23 lunout=6 -
CONFIG/LMDZINCA/branches/LMDZINCA_v3_1/CREATE/config.card
r223 r889 14 14 #============================ 15 15 #D-- leap, noleap, 360d 16 CalendarType= 360d16 CalendarType=leap 17 17 #D-- Début et fin de Job 18 18 #D-- "YYYY-MM-DD" 19 19 DateBegin=2000-01-01 20 DateEnd=2005-12-3 020 DateEnd=2005-12-31 21 21 #============================ 22 22 #D-- 1Y, 1M, 5D, 1D
Note: See TracChangeset
for help on using the changeset viewer.