Changeset 800 for CONFIG/IPSLCM/IPSLCM5
- Timestamp:
- 11/17/09 15:04:51 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_v2/EXP00/COMP/opa9.driver
r793 r800 221 221 grep AUTO namelist 222 222 223 ##--Variables used for iodef xml configuration file224 # output_1m_frequency_oce : output frequency of ocean output files in seconds225 # - length of 1 month (in seconds)226 # - -1 for monthly mean with 31-28-31-30 .... calendar if227 # simulation are done per year. ie PeriodLength=1Y in config.card228 # - n days (in seconds) for other Period Length229 #230 231 output_1m_frequency_oce=-1232 233 case ${config_UserChoices_PeriodLength} in234 *Y|*y)235 (( output_1m_frequency_oce = 86400 * $( IGCM_date_DaysInMonth ${year} ${month} ) ))236 if [ "${config_UserChoices_CalendarType}" != "360d" ] ; then237 output_1m_frequency_oce=-1238 echo "PeriodLength ${config_UserChoices_PeriodLength} and CalendarType ${config_UserChoices_CalendarType} are not working yet"239 exit240 fi241 ;;242 *M|*m)243 (( output_1m_frequency_oce = 86400 * $( IGCM_date_DaysInMonth ${year} ${month} ) ))244 ;;245 *)246 (( output_1m_frequency_oce = PeriodLengthInDays * 86400 )) ;;247 esac248 249 echo 1M_Frequency in iodef : ${output_1m_frequency_oce}250 251 223 # update iodef.xml 252 224 … … 255 227 -e "s/<1M_ENABLE>/${V1M_ENABLE}/" \ 256 228 -e "s/<1Y_ENABLE>/${V1Y_ENABLE}/" \ 257 -e "s/<1M_FREQUENCY>/${output_1m_frequency_oce}/g" \258 229 iodef.xml > iodef.xml.tmp 259 230
Note: See TracChangeset
for help on using the changeset viewer.