[Met_help] [rt.rap.ucar.edu #89547] History for Issue Reading in Polar Stereographic Projection

John Halley Gotway via RT met_help at ucar.edu
Thu Apr 4 12:18:41 MDT 2019


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

Hello,

I'm trying to run plot_data_plane on a grib2 file and when I do, I get the
following message:

plot_data_plane seaice.t00z.south12psg.grib2.20190205 seaice_south.ps
> 'name="ICEC"; level="L0";'
> DEBUG 1: Opening data file: seaice.t00z.south12psg.grib2.20190205
> ERROR  :
> ERROR  : MetGrib2DataFile::read_grib2_grid() -> unexpected polar stereo
> projection center (128)
> ERROR  :


How do I handle this?

Thank you,
Lindsay

-- 
Lindsay R. Blank
Associate Scientist
National Center for Atmospheric Research
(303)-497-2772


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: Issue Reading in Polar Stereographic Projection
From: John Halley Gotway
Time: Mon Apr 01 15:57:42 2019

Lindsay,

Can you please send us, or point us, to the GRIB2 file which causes
this
error?

Thanks,
John

On Mon, Apr 1, 2019 at 3:37 PM Lindsay Blank via RT
<met_help at ucar.edu>
wrote:

>
> Mon Apr 01 15:36:38 2019: Request 89547 was acted upon.
> Transaction: Ticket created by lblank at ucar.edu
>        Queue: met_help
>      Subject: Issue Reading in Polar Stereographic Projection
>        Owner: Nobody
>   Requestors: lblank at ucar.edu
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=89547 >
>
>
> Hello,
>
> I'm trying to run plot_data_plane on a grib2 file and when I do, I
get the
> following message:
>
> plot_data_plane seaice.t00z.south12psg.grib2.20190205
seaice_south.ps
> > 'name="ICEC"; level="L0";'
> > DEBUG 1: Opening data file: seaice.t00z.south12psg.grib2.20190205
> > ERROR  :
> > ERROR  : MetGrib2DataFile::read_grib2_grid() -> unexpected polar
stereo
> > projection center (128)
> > ERROR  :
>
>
> How do I handle this?
>
> Thank you,
> Lindsay
>
> --
> Lindsay R. Blank
> Associate Scientist
> National Center for Atmospheric Research
> (303)-497-2772
>
>

------------------------------------------------
Subject: Issue Reading in Polar Stereographic Projection
From: Lindsay Blank
Time: Mon Apr 01 15:59:47 2019

Sure thing, John. It's here:
theia:/home/Lindsay.Blank/sea_ice/seaice.t00z.south12psg.grib2.20190205.
Let me know if you have any permissions issues.

On Mon, Apr 1, 2019 at 3:58 PM John Halley Gotway via RT
<met_help at ucar.edu>
wrote:

> Lindsay,
>
> Can you please send us, or point us, to the GRIB2 file which causes
this
> error?
>
> Thanks,
> John
>
> On Mon, Apr 1, 2019 at 3:37 PM Lindsay Blank via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Mon Apr 01 15:36:38 2019: Request 89547 was acted upon.
> > Transaction: Ticket created by lblank at ucar.edu
> >        Queue: met_help
> >      Subject: Issue Reading in Polar Stereographic Projection
> >        Owner: Nobody
> >   Requestors: lblank at ucar.edu
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=89547 >
> >
> >
> > Hello,
> >
> > I'm trying to run plot_data_plane on a grib2 file and when I do, I
get
> the
> > following message:
> >
> > plot_data_plane seaice.t00z.south12psg.grib2.20190205
seaice_south.ps
> > > 'name="ICEC"; level="L0";'
> > > DEBUG 1: Opening data file:
seaice.t00z.south12psg.grib2.20190205
> > > ERROR  :
> > > ERROR  : MetGrib2DataFile::read_grib2_grid() -> unexpected polar
stereo
> > > projection center (128)
> > > ERROR  :
> >
> >
> > How do I handle this?
> >
> > Thank you,
> > Lindsay
> >
> > --
> > Lindsay R. Blank
> > Associate Scientist
> > National Center for Atmospheric Research
> > (303)-497-2772
> >
> >
>
>

--
Lindsay R. Blank
Associate Scientist
National Center for Atmospheric Research
(303)-497-2772

------------------------------------------------
Subject: Issue Reading in Polar Stereographic Projection
From: John Halley Gotway
Time: Tue Apr 02 09:55:50 2019

Lindsay,

Yes, it was indeed a small bug in the MET's GRIB2 library code for
parsing
the hemisphere from the grid spec for both polar stereographic and
lambert
conformal projections.  It's an easy fix that I'll include in the next
version and post as a bugfix for met-8.0.

After fixing that I was able to plot the sea ice data using MET's
plot_data_plane tool.  The resulting image is attached (ice.png).
That
data looks OK but the background map looks wrong.  But then I checked
NCEP's website for an image of this grid (NCEP Grid #172):
   https://www.nco.ncep.noaa.gov/pmb/docs/on388/grids/grid172.gif

And the map backgrounds do match.  I suspect that there is a problem
with
the grid definition for this data in the GRIB2 file.

Thanks,
John

On Mon, Apr 1, 2019 at 3:59 PM Lindsay Blank via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=89547 >
>
> Sure thing, John. It's here:
>
theia:/home/Lindsay.Blank/sea_ice/seaice.t00z.south12psg.grib2.20190205.
> Let me know if you have any permissions issues.
>
> On Mon, Apr 1, 2019 at 3:58 PM John Halley Gotway via RT <
> met_help at ucar.edu>
> wrote:
>
> > Lindsay,
> >
> > Can you please send us, or point us, to the GRIB2 file which
causes this
> > error?
> >
> > Thanks,
> > John
> >
> > On Mon, Apr 1, 2019 at 3:37 PM Lindsay Blank via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > Mon Apr 01 15:36:38 2019: Request 89547 was acted upon.
> > > Transaction: Ticket created by lblank at ucar.edu
> > >        Queue: met_help
> > >      Subject: Issue Reading in Polar Stereographic Projection
> > >        Owner: Nobody
> > >   Requestors: lblank at ucar.edu
> > >       Status: new
> > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=89547
> >
> > >
> > >
> > > Hello,
> > >
> > > I'm trying to run plot_data_plane on a grib2 file and when I do,
I get
> > the
> > > following message:
> > >
> > > plot_data_plane seaice.t00z.south12psg.grib2.20190205
seaice_south.ps
> > > > 'name="ICEC"; level="L0";'
> > > > DEBUG 1: Opening data file:
seaice.t00z.south12psg.grib2.20190205
> > > > ERROR  :
> > > > ERROR  : MetGrib2DataFile::read_grib2_grid() -> unexpected
polar
> stereo
> > > > projection center (128)
> > > > ERROR  :
> > >
> > >
> > > How do I handle this?
> > >
> > > Thank you,
> > > Lindsay
> > >
> > > --
> > > Lindsay R. Blank
> > > Associate Scientist
> > > National Center for Atmospheric Research
> > > (303)-497-2772
> > >
> > >
> >
> >
>
> --
> Lindsay R. Blank
> Associate Scientist
> National Center for Atmospheric Research
> (303)-497-2772
>
>

------------------------------------------------


More information about the Met_help mailing list