Changeset 239 for trunk/libIGCM/AA_create_se
- Timestamp:
- 03/02/10 18:40:37 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_create_se
r238 r239 244 244 # Check if seasonal is required for this file 245 245 # 246 IGCM_card_DefineArrayFromOption ${card} ${flag_post} Seasonal 247 # 248 # If option is not found (old cards) put SEASONAL ON by default 249 # 250 if [ "$( eval echo \${${compname}_${flag_post}_Seasonal[*]} )" = "Option not found ${flag_post}" ] ; then 246 IGCM_card_DefineArrayFromSection ${card} ${flag_post} 247 # 248 # Seasonal case : If option Seasonal is not found (old cards) put SEASONAL ON by default 249 # 250 # variable option allready typeset above 251 for option in $( eval echo \${${compname}_${flag_post}[*]} ) ; do 252 if [ ${option} = Seasonal ] ; then 253 FoundSeasonal=true 254 IGCM_card_DefineVariableFromOption ${card} ${flag_post} Seasonal 255 fi 256 done 257 # 258 if [ ! X${FoundSeasonal} = Xtrue ] ; then 251 259 eval ${compname}_${flag_post}_Seasonal=ON 252 260 fi
Note: See TracChangeset
for help on using the changeset viewer.