Skip to content

grib2 data files in plot-data-plane #2888

Closed Locked Answered by JohnHalleyGotway
jir245 asked this question in File I/O
Discussion options

You must be logged in to vote

@jir245 thanks for sending your sample data file.

I ran it through the wgrib2 utility and see that it doesn't know about the metadata for this file:

> wgrib2 US057GMET-GR2mdl.0018_0200_00000F0RL2025010900_0001_000000-000000aero_aod_visib.gr2 
1:0:d=2025010900:var discipline=0 center=57 local_table=1 parmcat=20 parm=203:entire atmosphere:anl:

And if wgrib2 doesn't have a record for this combination of identifiers, it's very likely that the MET GRIB2 tables don't either.

First, the quick and dirty, but definitely not recommended longterm, you can tell plot_data_plane to just plot the first record it finds in the file:

plot_data_plane \
US057GMET-GR2mdl.0018_0200_00000F0RL2025010900_0001_00…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@jir245
Comment options

@JohnHalleyGotway
Comment options

@jir245
Comment options

@jprestop
Comment options

@jir245
Comment options

Comment options

You must be logged in to vote
2 replies
@jir245
Comment options

@JohnHalleyGotway
Comment options

Answer selected by JohnHalleyGotway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants