Versions Compared

Key

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

...

grib_get_data -p dataDate,dataTime,validityDate,validityTime my_file.grib

... giving this output:

Code Block
titleoutput
collapsetrue
Latitude, Longitude, Value, dataDate, dataTime, validityDate, validityTime

...


   69.950  -24.950 6.7796034626e-08 20160117 0 20160117 0

...


   69.950  -24.850 6.8240265944e-08 20160117 0 20160117 0

...


   69.950  -24.750 6.8275508864e-08 20160117 0 20160117 0

...


   69.950  -24.650 6.8133954540e-08 20160117 0 20160117 0

...


...

dataDate and dataTime indicate the date/time we forecast from. validityDate and validityTime indicate the date/time we forecast for.


Note that the keys dataDate, dataTime, validityDate, validityTime are available in CAMS/C3S
forecast data. Analysis data has different keys.dataDate and dataTime indicate the date/time we forecast from. validityDate and validityTime indicate the date/time we forecast for.

For further options please see the documentation of the ecCodes command line GRIB tools

...

grib_ls -l 46.87,8.73,1 -p dataDate,dataTime,validityDate,validityTime my_file.grib

... giving this output:

Code Block
titleoutput
collapsetrue
my_file.grib

...


dataDate      dataTime      validityDate  validityTime   value

...

 
20160117      0             20160117      0             3.37724e-08  

...

 
20160117      0             20160117      100           3.24475e-08  

...

 
20160117      0             20160117      200           3.3837e-08    

...

 
...

...


20160117      0             20160117      2200          3.2791e-08   

...

 
20160117      0             20160117      2300          3.61387e-08  

...

 
20160117      0             20160118      0             3.96635e-08  

...

 
25 of 25 messages in my_grib_file.grib

...


 

...


25 of 25 total messages in 1 files

...


Input Point: latitude=46.87  longitude=8.73

...


Grid Point chosen #1 index=162037 latitude=46.85 longitude=8.75 distance=2.69 (Km)

...


Other grid Points

...


- 1 - index=162037 latitude=46.85 longitude=8.75 distance=2.69 (Km)

...


- 2 - index=162036 latitude=46.85 longitude=8.65 distance=6.47 (Km)

...


- 3 - index=161337 latitude=46.95 longitude=8.75 distance=9.02 (Km)

...


- 4 - index=161336 latitude=46.95 longitude=8.65 distance=10.77 (Km)


Tips
For further options please see the documentation of the ecCodes command line GRIB tools

...

-F option to format values as decimals instead of scientific:

...