@@ -63,7 +63,9 @@ |
||
| 63 | 63 | |
| 64 | 64 | public function nomad_wind($hour = '') { |
| 65 | 65 | global $globalWindsPath; |
| 66 | - if ($hour == '') $hour = date('G'); |
|
| 66 | + if ($hour == '') { |
|
| 67 | + $hour = date('G'); |
|
| 68 | + } |
|
| 67 | 69 | if (isset($globalWindsPath) && $globalWindsPath != '') { |
| 68 | 70 | $grib2json = $globalWindsPath['grib2json']; |
| 69 | 71 | $windpathsrc = $globalWindsPath['source']; |