Skip Navigation Links www.nws.noaa.gov 
NOAA logo - Click to go to the NOAA home page National Weather Service   NWS logo - Click to go to the NWS home page
Climate Prediction Center
 
 

 
About Us
   Our Mission
   Who We Are

Contact Us
   CPC Information
   CPC Web Team

 
HOME > Monitoring_and_Data > Oceanic and Atmospheric Data > Reanalysis: Atmospheric Data > wgrib2-get_ieee
 

wgrib2: -get_ieee

Introduction

The -get_ieee option prints the selected parts of the grib message as an IEEE floating point number.

Usage

-get_ieee SECTION OCTET N
SECTION = section number of the grib message to print
OCTET = the octet number to print
N = number of IEEE float to print (4 octets per IEEE number)

Example

$ wgrib2 rtgssthr_grb_0.083_awips.grib2
1:0:d=2009062900:TMP:surface:anl:
  : field is surface temperature, SST over water
$ wgrib2 rtgssthr_grb_0.083_awips.grib2 -packing -v
1:0:packing=grid point data - jpeg2000 compression,j val=(27133+i*2^0)*10^-2, i=0..8191 (#bits=13)
  : jpeg2000 packing, reference value is 27133
$ wgrib2 rtgssthr_grb_0.083_awips.grib2 -get_ieee 5 12 1
1:0:5-12=27133.000000
  : for jpeg2000 packing, the reference value is stored in Section 5, octet 12-15
See also: -get_byte -get_byte -get_int

NOAA/ National Weather Service
National Centers for Environmental Prediction
Climate Prediction Center
5830 University Research Court
College Park, Maryland 20740
Climate Prediction Center Web Team
Page last modified: July 30, 2014
Disclaimer Privacy Policy