<div dir="ltr">when I say "filter out", I mean "retrieve". <br></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">On Sun, Mar 10, 2019 at 9:19 PM Zhan Zhang - NOAA Affiliate <<a href="mailto:zhan.j.zhang@noaa.gov">zhan.j.zhang@noaa.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><div dir="ltr"><div dir="ltr">I have a grib2 file which contains many messages, and those messages define different products on different surfaces (like z axis). For instance, some messages defines "soil temperature"(product name) on a surface called "depth below land surface" (surface name); and other messages define "geopotential height" (product name) on a "pressure surface" (surface name); etc. May I ask how I can filter out all those messages that defines "soil temperature"(product name) on a surface called "depth below land surface" (surface name)? Is there some grib2 tools provided in gdal APIs that I can use? Thanks!     </div></div></div>
</blockquote></div>