Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


titleClick here to see solution...

Specifying the key as "centre:i" and “centre:s” prints the centre both as an integer and a string:

No Format
$> grib_ls -w stepRange=6 -p centre:li,centre:s,dataDate,stepRange,typeOfLevel,shortName t2m.grib1
centre       centre       dataDate     stepRange    typeOfLevel  shortName    
98           ecmf         20170217     6            surface      t2m        
1 of 5 grib messages in t2m.grib1

1 of 5 total grib messages in 1 files

As before, using the same commands with the file t2m.grib2 gives similar output.