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-ilat
 

wgrib2: -ilat

Introduction

The -ilat option prints the latitude, longitude and value of ith grid point. For example, you get a text output and you were curious about the lat-lon of the fifth grid on the list. You would use this option to get the value and its location.

The -ilat option uses the Fortran convention which has the index starting from one. In addition, the index is for the output grid may differ from the input grid.

Usage

-ilat i
      i = 1 .. number of grid points

Example

-sh-2.05b$ wgrib2 ens.grb -ilat 5
1:0:grid pt 5,lon=4.000000,lat=-90.000000,val=18168.8
2:45932:grid pt 5,lon=4.000000,lat=-90.000000,val=8e-07
3:89724:grid pt 5,lon=4.000000,lat=-90.000000,val=2.6e-06
4:144624:grid pt 5,lon=4.000000,lat=-90.000000,val=8309.4
5:198928:grid pt 5,lon=4.000000,lat=-90.000000,val=205.9
See also: -ijlat, -lon -ll2i -scan

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: Jan 26, 2016
Disclaimer Privacy Policy