[Met_help] [rt.rap.ucar.edu #81676] History for MODE error
John Halley Gotway via RT
met_help at ucar.edu
Wed Aug 23 16:04:26 MDT 2017
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
What does this error mean, and how can I fix it?
ERROR : MetNcFile::data(NcVar *, const LongArray &) const -> can't set
corner for variable "forecast_probability"
Jeff Duda
--
Jeff Duda
Post-doctoral research fellow
University of Oklahoma School of Meteorology
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: MODE error
From: John Halley Gotway
Time: Fri Aug 18 16:39:22 2017
Hi Jeff,
Can you please post a sample file to our anonymous ftp site which
demonstrates this behavior?
http://www.dtcenter.org/met/users/support/met_help.php#ftp
Thanks,
John
On Fri, Aug 18, 2017 at 12:35 PM, Jeff Duda via RT <met_help at ucar.edu>
wrote:
>
> Fri Aug 18 12:35:54 2017: Request 81676 was acted upon.
> Transaction: Ticket created by jeffduda319 at gmail.com
> Queue: met_help
> Subject: MODE error
> Owner: Nobody
> Requestors: jeffduda319 at gmail.com
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81676 >
>
>
> What does this error mean, and how can I fix it?
>
> ERROR : MetNcFile::data(NcVar *, const LongArray &) const -> can't
set
> corner for variable "forecast_probability"
>
> Jeff Duda
>
> --
> Jeff Duda
> Post-doctoral research fellow
> University of Oklahoma School of Meteorology
>
>
------------------------------------------------
Subject: MODE error
From: Jeff Duda
Time: Sun Aug 20 09:55:20 2017
John,
I uploaded a file. As a note, this error message only appeared when I
tried
to use the following index values in the forecast_probability array,
which
has the structure below:
float forecast_probability(spatial_scale, threshold, lat, lon)
;
Errors occurred for the following sets of (spatial_scale,threshold):
(2,4)
(4,4)
But the error has not occurred with any other pairs of those index
values.
And I have at least attempted to run MODE using all possible pairs of
those
index values.
Jeff
On Fri, Aug 18, 2017 at 5:39 PM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:
> Hi Jeff,
>
> Can you please post a sample file to our anonymous ftp site which
> demonstrates this behavior?
>
> http://www.dtcenter.org/met/users/support/met_help.php#ftp
>
> Thanks,
> John
>
> On Fri, Aug 18, 2017 at 12:35 PM, Jeff Duda via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Fri Aug 18 12:35:54 2017: Request 81676 was acted upon.
> > Transaction: Ticket created by jeffduda319 at gmail.com
> > Queue: met_help
> > Subject: MODE error
> > Owner: Nobody
> > Requestors: jeffduda319 at gmail.com
> > Status: new
> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81676 >
> >
> >
> > What does this error mean, and how can I fix it?
> >
> > ERROR : MetNcFile::data(NcVar *, const LongArray &) const ->
can't set
> > corner for variable "forecast_probability"
> >
> > Jeff Duda
> >
> > --
> > Jeff Duda
> > Post-doctoral research fellow
> > University of Oklahoma School of Meteorology
> >
> >
>
>
--
Jeff Duda
Post-doctoral research fellow
University of Oklahoma School of Meteorology
------------------------------------------------
Subject: MODE error
From: John Halley Gotway
Time: Tue Aug 22 16:58:54 2017
Jeff,
Thanks for sending the sample data file. This one should be very
easy.
The indexes are 0-based, not 1-based. I've cut-and-pasted some info a
NetCDF header dump:
dimensions:
lat = 1120 ;
lon = 1620 ;
threshold = 4 ;
spatial_scale = 5 ;
variables:
float lat(lat, lon) ;
float lon(lat, lon) ;
float forecast_probability(spatial_scale, threshold, lat, lon)
;
The first dimension has size 5, so index values of 0, 1, 2, 3, and 4.
The second dimension has size 4, so index value of 0, 1, 2, 3.
I ran the following command to plot the "last" spatial scale and
threshold:
met-6.0/bin/plot_data_plane \
fcst_neighborhood_compref_2017050100f000.nc \
forecast_probability_scale4_thresh3.ps \
'name="forecast_probability"; level="(4,3,*,*)";'
A PNG version of that plot is attached.
Running met-6.0 with any larger dimension values results in this
error:
what(): NcInvalidCoords: Index exceeds dimension bound
file: ncVar.cpp line:1513
Abort
When I run using MET version 5.2, I get the same error message you
described:
ERROR : MetNcFile::data(NcVar *, const LongArray &) const -> can't
set
corner for variable "forecast_probability"
Thanks,
John
On Sun, Aug 20, 2017 at 9:55 AM, Jeff Duda via RT <met_help at ucar.edu>
wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81676 >
>
> John,
> I uploaded a file. As a note, this error message only appeared when
I tried
> to use the following index values in the forecast_probability array,
which
> has the structure below:
>
> float forecast_probability(spatial_scale, threshold, lat,
lon) ;
>
> Errors occurred for the following sets of (spatial_scale,threshold):
> (2,4)
> (4,4)
>
> But the error has not occurred with any other pairs of those index
values.
> And I have at least attempted to run MODE using all possible pairs
of those
> index values.
>
> Jeff
>
> On Fri, Aug 18, 2017 at 5:39 PM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
> > Hi Jeff,
> >
> > Can you please post a sample file to our anonymous ftp site which
> > demonstrates this behavior?
> >
> > http://www.dtcenter.org/met/users/support/met_help.php#ftp
> >
> > Thanks,
> > John
> >
> > On Fri, Aug 18, 2017 at 12:35 PM, Jeff Duda via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > Fri Aug 18 12:35:54 2017: Request 81676 was acted upon.
> > > Transaction: Ticket created by jeffduda319 at gmail.com
> > > Queue: met_help
> > > Subject: MODE error
> > > Owner: Nobody
> > > Requestors: jeffduda319 at gmail.com
> > > Status: new
> > > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81676
> >
> > >
> > >
> > > What does this error mean, and how can I fix it?
> > >
> > > ERROR : MetNcFile::data(NcVar *, const LongArray &) const ->
can't
> set
> > > corner for variable "forecast_probability"
> > >
> > > Jeff Duda
> > >
> > > --
> > > Jeff Duda
> > > Post-doctoral research fellow
> > > University of Oklahoma School of Meteorology
> > >
> > >
> >
> >
>
>
> --
> Jeff Duda
> Post-doctoral research fellow
> University of Oklahoma School of Meteorology
>
>
------------------------------------------------
Subject: MODE error
From: Jeff Duda
Time: Wed Aug 23 13:14:20 2017
John,
Oh, well, duh. I should have thought of that. Sorry to have wasted
your
time!
Jeff
On Tue, Aug 22, 2017 at 5:58 PM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:
> Jeff,
>
> Thanks for sending the sample data file. This one should be very
easy.
> The indexes are 0-based, not 1-based. I've cut-and-pasted some info
a
> NetCDF header dump:
>
> dimensions:
> lat = 1120 ;
> lon = 1620 ;
> threshold = 4 ;
> spatial_scale = 5 ;
> variables:
> float lat(lat, lon) ;
> float lon(lat, lon) ;
> float forecast_probability(spatial_scale, threshold, lat,
lon) ;
>
> The first dimension has size 5, so index values of 0, 1, 2, 3, and
4.
> The second dimension has size 4, so index value of 0, 1, 2, 3.
>
> I ran the following command to plot the "last" spatial scale and
threshold:
> met-6.0/bin/plot_data_plane \
> fcst_neighborhood_compref_2017050100f000.nc \
> forecast_probability_scale4_thresh3.ps \
> 'name="forecast_probability"; level="(4,3,*,*)";'
>
> A PNG version of that plot is attached.
>
> Running met-6.0 with any larger dimension values results in this
error:
> what(): NcInvalidCoords: Index exceeds dimension bound
> file: ncVar.cpp line:1513
> Abort
>
> When I run using MET version 5.2, I get the same error message you
> described:
> ERROR : MetNcFile::data(NcVar *, const LongArray &) const -> can't
set
> corner for variable "forecast_probability"
>
> Thanks,
> John
>
> On Sun, Aug 20, 2017 at 9:55 AM, Jeff Duda via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81676 >
> >
> > John,
> > I uploaded a file. As a note, this error message only appeared
when I
> tried
> > to use the following index values in the forecast_probability
array,
> which
> > has the structure below:
> >
> > float forecast_probability(spatial_scale, threshold, lat,
lon) ;
> >
> > Errors occurred for the following sets of
(spatial_scale,threshold):
> > (2,4)
> > (4,4)
> >
> > But the error has not occurred with any other pairs of those index
> values.
> > And I have at least attempted to run MODE using all possible pairs
of
> those
> > index values.
> >
> > Jeff
> >
> > On Fri, Aug 18, 2017 at 5:39 PM, John Halley Gotway via RT <
> > met_help at ucar.edu> wrote:
> >
> > > Hi Jeff,
> > >
> > > Can you please post a sample file to our anonymous ftp site
which
> > > demonstrates this behavior?
> > >
> > > http://www.dtcenter.org/met/users/support/met_help.php#ftp
> > >
> > > Thanks,
> > > John
> > >
> > > On Fri, Aug 18, 2017 at 12:35 PM, Jeff Duda via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > Fri Aug 18 12:35:54 2017: Request 81676 was acted upon.
> > > > Transaction: Ticket created by jeffduda319 at gmail.com
> > > > Queue: met_help
> > > > Subject: MODE error
> > > > Owner: Nobody
> > > > Requestors: jeffduda319 at gmail.com
> > > > Status: new
> > > > Ticket <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=81676
> > >
> > > >
> > > >
> > > > What does this error mean, and how can I fix it?
> > > >
> > > > ERROR : MetNcFile::data(NcVar *, const LongArray &) const ->
can't
> > set
> > > > corner for variable "forecast_probability"
> > > >
> > > > Jeff Duda
> > > >
> > > > --
> > > > Jeff Duda
> > > > Post-doctoral research fellow
> > > > University of Oklahoma School of Meteorology
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > Jeff Duda
> > Post-doctoral research fellow
> > University of Oklahoma School of Meteorology
> >
> >
>
>
--
Jeff Duda
Post-doctoral research fellow
University of Oklahoma School of Meteorology
------------------------------------------------
Subject: MODE error
From: John Halley Gotway
Time: Wed Aug 23 16:02:37 2017
No worries, Jeff. Just let us know what other issues or questions
arise in
your use of MET.
Thanks,
John
On Wed, Aug 23, 2017 at 1:14 PM, Jeff Duda via RT <met_help at ucar.edu>
wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81676 >
>
> John,
> Oh, well, duh. I should have thought of that. Sorry to have wasted
your
> time!
>
> Jeff
>
> On Tue, Aug 22, 2017 at 5:58 PM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
> > Jeff,
> >
> > Thanks for sending the sample data file. This one should be very
easy.
> > The indexes are 0-based, not 1-based. I've cut-and-pasted some
info a
> > NetCDF header dump:
> >
> > dimensions:
> > lat = 1120 ;
> > lon = 1620 ;
> > threshold = 4 ;
> > spatial_scale = 5 ;
> > variables:
> > float lat(lat, lon) ;
> > float lon(lat, lon) ;
> > float forecast_probability(spatial_scale, threshold, lat,
lon) ;
> >
> > The first dimension has size 5, so index values of 0, 1, 2, 3, and
4.
> > The second dimension has size 4, so index value of 0, 1, 2, 3.
> >
> > I ran the following command to plot the "last" spatial scale and
> threshold:
> > met-6.0/bin/plot_data_plane \
> > fcst_neighborhood_compref_2017050100f000.nc \
> > forecast_probability_scale4_thresh3.ps \
> > 'name="forecast_probability"; level="(4,3,*,*)";'
> >
> > A PNG version of that plot is attached.
> >
> > Running met-6.0 with any larger dimension values results in this
error:
> > what(): NcInvalidCoords: Index exceeds dimension bound
> > file: ncVar.cpp line:1513
> > Abort
> >
> > When I run using MET version 5.2, I get the same error message you
> > described:
> > ERROR : MetNcFile::data(NcVar *, const LongArray &) const ->
can't set
> > corner for variable "forecast_probability"
> >
> > Thanks,
> > John
> >
> > On Sun, Aug 20, 2017 at 9:55 AM, Jeff Duda via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=81676 >
> > >
> > > John,
> > > I uploaded a file. As a note, this error message only appeared
when I
> > tried
> > > to use the following index values in the forecast_probability
array,
> > which
> > > has the structure below:
> > >
> > > float forecast_probability(spatial_scale, threshold,
lat,
> lon) ;
> > >
> > > Errors occurred for the following sets of
(spatial_scale,threshold):
> > > (2,4)
> > > (4,4)
> > >
> > > But the error has not occurred with any other pairs of those
index
> > values.
> > > And I have at least attempted to run MODE using all possible
pairs of
> > those
> > > index values.
> > >
> > > Jeff
> > >
> > > On Fri, Aug 18, 2017 at 5:39 PM, John Halley Gotway via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > > Hi Jeff,
> > > >
> > > > Can you please post a sample file to our anonymous ftp site
which
> > > > demonstrates this behavior?
> > > >
> > > > http://www.dtcenter.org/met/users/support/met_help.php#ftp
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > > On Fri, Aug 18, 2017 at 12:35 PM, Jeff Duda via RT <
> met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > Fri Aug 18 12:35:54 2017: Request 81676 was acted upon.
> > > > > Transaction: Ticket created by jeffduda319 at gmail.com
> > > > > Queue: met_help
> > > > > Subject: MODE error
> > > > > Owner: Nobody
> > > > > Requestors: jeffduda319 at gmail.com
> > > > > Status: new
> > > > > Ticket <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=81676
> > > >
> > > > >
> > > > >
> > > > > What does this error mean, and how can I fix it?
> > > > >
> > > > > ERROR : MetNcFile::data(NcVar *, const LongArray &) const
->
> can't
> > > set
> > > > > corner for variable "forecast_probability"
> > > > >
> > > > > Jeff Duda
> > > > >
> > > > > --
> > > > > Jeff Duda
> > > > > Post-doctoral research fellow
> > > > > University of Oklahoma School of Meteorology
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Jeff Duda
> > > Post-doctoral research fellow
> > > University of Oklahoma School of Meteorology
> > >
> > >
> >
> >
>
>
> --
> Jeff Duda
> Post-doctoral research fellow
> University of Oklahoma School of Meteorology
>
>
------------------------------------------------
More information about the Met_help
mailing list