Subversion Repositories lagranto.ecmwf

Rev

Rev 5 | Rev 15 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5 Rev 9
Line 289... Line 289...
289
foreach i ( ${charp}????????_?? )
289
foreach i ( ${charp}????????_?? )
290
 
290
 
291
  set date = `echo $i | cut -c 2-12`
291
  set date = `echo $i | cut -c 2-12`
292
  set td1  = `${LAGRANTO}/goodies/gettidiff ${startdate_ymdh} ${date}`
292
  set td1  = `${LAGRANTO}/goodies/gettidiff ${startdate_ymdh} ${date}`
293
  set td2  = `${LAGRANTO}/goodies/gettidiff ${enddate_ymdh}   ${date}`
293
  set td2  = `${LAGRANTO}/goodies/gettidiff ${enddate_ymdh}   ${date}`
294
 
-
 
295
  if (( $td1 < $timeinc || $td2 < $timeinc ) && ( $td1 >= 0 || $td2 >= 0 )) then
294
  if (( $td1 < $timeinc || $td2 < $timeinc ) && ( $td1 >= 0 || $td2 >= 0 )) then
296
     set datfiles=$date
295
     set datfiles=$date
297
     if ( $td1 < $timeinc    ) set td=$td1
296
     if ( $td1 < $timeinc    ) set td=$td1
298
     if ( $td2 < $timeinc    ) set td=$td2
297
     if ( $td2 < $timeinc    ) set td=$td2
299
     if ( ( $startdate_min > 0 ) || ( $enddate_min > 0 ) ) @ td ++
298
     if ( ( $startdate_min > 0 ) || ( $enddate_min > 0 ) ) @ td ++