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

wgrib2: -ijlat

Introduction

The -ijlat option prints the latitude, longitude and value of the grid point (i,j) where i = 1..nx and j = 1..ny. Note, by default the grid is converted to a WE:SN order which puts (1,1) in the South-West corner. Note, multiple -ijlat can be on the command line.

Usage

-ijlat i j
      i = 1 .. nx
      j = 1 .. ny

Example

-sh-2.05b$ wgrib2 new.grb2 -s -ijlat 1 1
1:0:d=2005082812:HGT:1000 mb:78 hour fcst:(1,1),lon=0,lat=-90,val=162.3

-sh-2.05b$ wgrib2 new.grb2 -s -ijlat 1 1 -ijlat 2 2
1:0:d=2005082812:HGT:1000 mb:78 hour fcst:(1,1),lon=0,lat=-90,val=162.3:(2,2),lon=1,lat=-89,val=183.7

See also: -ij, -ilat, -lon

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: May 15, 2005
Disclaimer Privacy Policy