The -lev option forces a quit and the
end of the processing of the current line. You would use
the -lev option to save time.
$ wgrib2 /tmp/pgb.f0009031206.g2 -quit
This has the same effect as -d 1.
$ wgrib2 /tmp/pgb.f0009031206.g2 -match ":RH:1000 mb:" -quit
This forces a quit after the first "RH:1000 mb" is processed. This can save time
with large files.
$ wgrib2 /tmp/pgb.f0009031206.g2 -if "^3:" -quit -if
This forces the quit after the third line. This has the same effect as
See also: -if,