[Met_help] [rt.rap.ucar.edu #88771] History for ERROR message StringArray::operator[](int) const -> range check error

John Halley Gotway via RT met_help at ucar.edu
Tue Jul 9 12:07:03 MDT 2019


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

Hi
I am trying to run METv6.1 using the netcdf file for ensemble mean generated by ensemble_stat
as the forecast file and a GALWEM file as the truth. I cannot see any errors in the config file.

However I get the following error message in my MET LOG:
ERROR: StringArray::operator[](int) const -> range check error!

Obviously, it does not do any further grid_stat processing.

It doesn't give any further information. How do I figure out the cause for this error?

Thanks
suseela


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

Subject: ERROR message StringArray::operator[](int) const -> range check error
From: John Halley Gotway
Time: Mon Feb 04 14:49:50 2019

Suseela,

I see you're getting a runtime error from the ensemble_stat tool.  If
you're working at the Air Force, I suspect you haven't been able to
apply
the latest set of met-6.1 patches:
https://dtcenter.org/met/users/support/known_issues/METv6.1/index.php

So it's possible that it's related to that.  If you'd like, and are
able to
send me an example which demonstrates this, I'd be happy to try to
replicate this behavior here and debug.

Thanks,
John

On Mon, Feb 4, 2019 at 1:11 PM SARASAMMA, SUSEELA T CTR USAF AFMC
AFLCMC/HBAW-OL via RT <met_help at ucar.edu> wrote:

>
> Mon Feb 04 13:11:21 2019: Request 88771 was acted upon.
> Transaction: Ticket created by suseela.sarasamma.ctr at us.af.mil
>        Queue: met_help
>      Subject: ERROR message StringArray::operator[](int) const ->
range
> check error
>        Owner: Nobody
>   Requestors: suseela.sarasamma.ctr at us.af.mil
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=88771 >
>
>
> Hi
> I am trying to run METv6.1 using the netcdf file for ensemble mean
> generated by ensemble_stat
> as the forecast file and a GALWEM file as the truth. I cannot see
any
> errors in the config file.
>
> However I get the following error message in my MET LOG:
> ERROR: StringArray::operator[](int) const -> range check error!
>
> Obviously, it does not do any further grid_stat processing.
>
> It doesn't give any further information. How do I figure out the
cause for
> this error?
>
> Thanks
> suseela
>
>

------------------------------------------------
Subject: RE: [Non-DoD Source] Re: [rt.rap.ucar.edu #88771] ERROR message StringArray::operator[](int) const -> range check error
From: SARASAMMA, SUSEELA T CTR USAF AFMC AFLCMC/HBAW-OL
Time: Wed Feb 06 08:23:34 2019

Hi John,

Since the air-force email did not let me attach the files, Dr. Tim
Nobis put those
In a share folder and sent you the link. Hope you can download it from
there.
Thanks
suseela

-----Original Message-----
From: John Halley Gotway via RT <met_help at ucar.edu>
Sent: Monday, February 4, 2019 3:50 PM
To: SARASAMMA, SUSEELA T CTR USAF AFMC AFLCMC/HBAW-OL
<suseela.sarasamma.ctr at us.af.mil>
Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #88771] ERROR message
StringArray::operator[](int) const -> range check error

Suseela,

I see you're getting a runtime error from the ensemble_stat tool.  If
you're working at the Air Force, I suspect you haven't been able to
apply the latest set of met-6.1 patches:
https://dtcenter.org/met/users/support/known_issues/METv6.1/index.php

So it's possible that it's related to that.  If you'd like, and are
able to send me an example which demonstrates this, I'd be happy to
try to replicate this behavior here and debug.

Thanks,
John

On Mon, Feb 4, 2019 at 1:11 PM SARASAMMA, SUSEELA T CTR USAF AFMC
AFLCMC/HBAW-OL via RT <met_help at ucar.edu> wrote:

>
> Mon Feb 04 13:11:21 2019: Request 88771 was acted upon.
> Transaction: Ticket created by suseela.sarasamma.ctr at us.af.mil
>        Queue: met_help
>      Subject: ERROR message StringArray::operator[](int) const ->
> range check error
>        Owner: Nobody
>   Requestors: suseela.sarasamma.ctr at us.af.mil
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=88771
> >
>
>
> Hi
> I am trying to run METv6.1 using the netcdf file for ensemble mean
> generated by ensemble_stat as the forecast file and a GALWEM file as
> the truth. I cannot see any errors in the config file.
>
> However I get the following error message in my MET LOG:
> ERROR: StringArray::operator[](int) const -> range check error!
>
> Obviously, it does not do any further grid_stat processing.
>
> It doesn't give any further information. How do I figure out the
cause
> for this error?
>
> Thanks
> suseela
>
>



------------------------------------------------
Subject: ERROR message StringArray::operator[](int) const -> range check error
From: John Halley Gotway
Time: Fri Feb 08 11:36:55 2019

Suseela,

Sorry for the delay.  I did receive the files that Tim Nobis via ARL
SAFE,
and I picked them up this morning.

I just re-ran met-6.1 (as originally released with no patches) Grid-
Stat
with the data you sent, and it ran without error.  However, I did have
to
do 2 things to get it to run:

(1) I had to set the MODEL environment variable:
export MODEL="GALWEM"

(2) And I had to comment out the poly masks since I don't have those
files:
   poly = [];
   //poly = [ "${POLY_DIR}/NHEM_mask.nc",
   //         "${POLY_DIR}/SHEM_mask.nc",
   //         "${POLY_DIR}/20N20S_mask.nc",
   //         "${POLY_DIR}/20N80N_mask.nc",
   //         "${POLY_DIR}/20S80S_mask.nc" ];

That 2nd step made me suspicious.  Perhaps there's a problem with
those
mask files?   So I reran gen_vx_mask to generate a couple of mask
files and
pass them as input:

*met-6.1/bin/gen_vx_mask GALWEM_GD_GR.COP25DEG.20181205_CY.12.GR2
GALWEM_GD_GR.COP25DEG.20181205_CY.12.GR2 NH_mask.nc -type lat -thresh
ge0*

*met-6.1/bin/gen_vx_mask GALWEM_GD_GR.COP25DEG.20181205_CY.12.GR2
GALWEM_GD_GR.COP25DEG.20181205_CY.12.GR2 SH_mask.nc -type lat -thresh
le0*

But using those files in the "poly" setting worked fine.  For testing,
you
could try emptying out the "poly" setting (*poly = [];*) and
rerunning.  If
the problem goes away, then we know its related to those files.

John

On Wed, Feb 6, 2019 at 8:24 AM SARASAMMA, SUSEELA T CTR USAF AFMC
AFLCMC/HBAW-OL via RT <met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=88771 >
>
> Hi John,
>
> Since the air-force email did not let me attach the files, Dr. Tim
Nobis
> put those
> In a share folder and sent you the link. Hope you can download it
from
> there.
> Thanks
> suseela
>
> -----Original Message-----
> From: John Halley Gotway via RT <met_help at ucar.edu>
> Sent: Monday, February 4, 2019 3:50 PM
> To: SARASAMMA, SUSEELA T CTR USAF AFMC AFLCMC/HBAW-OL <
> suseela.sarasamma.ctr at us.af.mil>
> Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #88771] ERROR message
> StringArray::operator[](int) const -> range check error
>
> Suseela,
>
> I see you're getting a runtime error from the ensemble_stat tool.
If
> you're working at the Air Force, I suspect you haven't been able to
apply
> the latest set of met-6.1 patches:
>
https://dtcenter.org/met/users/support/known_issues/METv6.1/index.php
>
> So it's possible that it's related to that.  If you'd like, and are
able
> to send me an example which demonstrates this, I'd be happy to try
to
> replicate this behavior here and debug.
>
> Thanks,
> John
>
> On Mon, Feb 4, 2019 at 1:11 PM SARASAMMA, SUSEELA T CTR USAF AFMC
> AFLCMC/HBAW-OL via RT <met_help at ucar.edu> wrote:
>
> >
> > Mon Feb 04 13:11:21 2019: Request 88771 was acted upon.
> > Transaction: Ticket created by suseela.sarasamma.ctr at us.af.mil
> >        Queue: met_help
> >      Subject: ERROR message StringArray::operator[](int) const ->
> > range check error
> >        Owner: Nobody
> >   Requestors: suseela.sarasamma.ctr at us.af.mil
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=88771
> > >
> >
> >
> > Hi
> > I am trying to run METv6.1 using the netcdf file for ensemble mean
> > generated by ensemble_stat as the forecast file and a GALWEM file
as
> > the truth. I cannot see any errors in the config file.
> >
> > However I get the following error message in my MET LOG:
> > ERROR: StringArray::operator[](int) const -> range check error!
> >
> > Obviously, it does not do any further grid_stat processing.
> >
> > It doesn't give any further information. How do I figure out the
cause
> > for this error?
> >
> > Thanks
> > suseela
> >
> >
>
>
>
>

------------------------------------------------
Subject: ERROR message StringArray::operator[](int) const -> range check error
From: John Halley Gotway
Time: Fri Feb 08 11:59:21 2019

FYI, I should clarify, when you run gen_vx_mask, it chooses a default
output variable name.  Both of the gen_vx_mask commands I sent
resulted in
an output variable named "lat_mask".  But if you use both of them in
your
grid_stat run, you won't be able to distinguish the output.  They'll
both
have "lat_mask" in the "VX_MASK" output column.

So you should use the "-name" command line option to define a
descriptive
output variable name like this:

*met-6.1/bin/gen_vx_mask GALWEM_GD_GR.COP25DEG.20181205_CY.12.GR2
GALWEM_GD_GR.COP25DEG.20181205_CY.12.GR2 NH_mask.nc -type lat -thresh
ge0
-name NH*

*met-6.1/bin/gen_vx_mask GALWEM_GD_GR.COP25DEG.20181205_CY.12.GR2
GALWEM_GD_GR.COP25DEG.20181205_CY.12.GR2 SH_mask.nc -type lat -thresh
le0
-name SH*

That'll create output variables named "NH" and "SH", and you'll see NH
and
SH in the VX_MASK output column from Grid-Stat.

Thanks,
John

On Fri, Feb 8, 2019 at 11:36 AM John Halley Gotway <johnhg at ucar.edu>
wrote:

> Suseela,
>
> Sorry for the delay.  I did receive the files that Tim Nobis via ARL
SAFE,
> and I picked them up this morning.
>
> I just re-ran met-6.1 (as originally released with no patches) Grid-
Stat
> with the data you sent, and it ran without error.  However, I did
have to
> do 2 things to get it to run:
>
> (1) I had to set the MODEL environment variable:
> export MODEL="GALWEM"
>
> (2) And I had to comment out the poly masks since I don't have those
files:
>    poly = [];
>    //poly = [ "${POLY_DIR}/NHEM_mask.nc",
>    //         "${POLY_DIR}/SHEM_mask.nc",
>    //         "${POLY_DIR}/20N20S_mask.nc",
>    //         "${POLY_DIR}/20N80N_mask.nc",
>    //         "${POLY_DIR}/20S80S_mask.nc" ];
>
> That 2nd step made me suspicious.  Perhaps there's a problem with
those
> mask files?   So I reran gen_vx_mask to generate a couple of mask
files and
> pass them as input:
>
> *met-6.1/bin/gen_vx_mask GALWEM_GD_GR.COP25DEG.20181205_CY.12.GR2
> GALWEM_GD_GR.COP25DEG.20181205_CY.12.GR2 NH_mask.nc -type lat
-thresh ge0*
>
> *met-6.1/bin/gen_vx_mask GALWEM_GD_GR.COP25DEG.20181205_CY.12.GR2
> GALWEM_GD_GR.COP25DEG.20181205_CY.12.GR2 SH_mask.nc -type lat
-thresh le0*
>
> But using those files in the "poly" setting worked fine.  For
testing, you
> could try emptying out the "poly" setting (*poly = [];*) and
rerunning.
> If the problem goes away, then we know its related to those files.
>
> John
>
> On Wed, Feb 6, 2019 at 8:24 AM SARASAMMA, SUSEELA T CTR USAF AFMC
> AFLCMC/HBAW-OL via RT <met_help at ucar.edu> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=88771 >
>>
>> Hi John,
>>
>> Since the air-force email did not let me attach the files, Dr. Tim
Nobis
>> put those
>> In a share folder and sent you the link. Hope you can download it
from
>> there.
>> Thanks
>> suseela
>>
>> -----Original Message-----
>> From: John Halley Gotway via RT <met_help at ucar.edu>
>> Sent: Monday, February 4, 2019 3:50 PM
>> To: SARASAMMA, SUSEELA T CTR USAF AFMC AFLCMC/HBAW-OL <
>> suseela.sarasamma.ctr at us.af.mil>
>> Subject: [Non-DoD Source] Re: [rt.rap.ucar.edu #88771] ERROR
message
>> StringArray::operator[](int) const -> range check error
>>
>> Suseela,
>>
>> I see you're getting a runtime error from the ensemble_stat tool.
If
>> you're working at the Air Force, I suspect you haven't been able to
apply
>> the latest set of met-6.1 patches:
>>
https://dtcenter.org/met/users/support/known_issues/METv6.1/index.php
>>
>> So it's possible that it's related to that.  If you'd like, and are
able
>> to send me an example which demonstrates this, I'd be happy to try
to
>> replicate this behavior here and debug.
>>
>> Thanks,
>> John
>>
>> On Mon, Feb 4, 2019 at 1:11 PM SARASAMMA, SUSEELA T CTR USAF AFMC
>> AFLCMC/HBAW-OL via RT <met_help at ucar.edu> wrote:
>>
>> >
>> > Mon Feb 04 13:11:21 2019: Request 88771 was acted upon.
>> > Transaction: Ticket created by suseela.sarasamma.ctr at us.af.mil
>> >        Queue: met_help
>> >      Subject: ERROR message StringArray::operator[](int) const ->
>> > range check error
>> >        Owner: Nobody
>> >   Requestors: suseela.sarasamma.ctr at us.af.mil
>> >       Status: new
>> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=88771
>> > >
>> >
>> >
>> > Hi
>> > I am trying to run METv6.1 using the netcdf file for ensemble
mean
>> > generated by ensemble_stat as the forecast file and a GALWEM file
as
>> > the truth. I cannot see any errors in the config file.
>> >
>> > However I get the following error message in my MET LOG:
>> > ERROR: StringArray::operator[](int) const -> range check error!
>> >
>> > Obviously, it does not do any further grid_stat processing.
>> >
>> > It doesn't give any further information. How do I figure out the
cause
>> > for this error?
>> >
>> > Thanks
>> > suseela
>> >
>> >
>>
>>
>>
>>

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


More information about the Met_help mailing list