Changeset 2856

Show
Ignore:
Timestamp:
01/10/12 15:59:47 (4 months ago)
Author:
spf
Message:

limit was wrong (we got 5 entries not 4 for the interim grib) [Fixes #657]

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/phpcommon/griblib.php

    r2727 r2856  
    4747    function get_grib_validity_from_array($ts_array, $update_time = 0) { 
    4848        // check if we have a full grib or a partial one 
    49         if (count($ts_array) > 4) { 
     49        if (count($ts_array) > 5) { 
    5050          if ($update_time != 0) { 
    5151            $fgrib = $ts_array[0] + 34200 - time();