[Met_help] [rt.rap.ucar.edu #82893] History for problem with using ascii2nc mode to convert multiple levels data

Julie Prestopnik via RT met_help at ucar.edu
Mon Nov 6 10:41:11 MST 2017


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

Zhang, Mandy has shared OneDrive for Business files with you. To view them, click the links below.


<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=1b7f505913ec94526889ca9e29fb7a525&authkey=AZ4kw6_bc8gNZzo6Q8BxKyw&expiration=2017-12-06T17%3a21%3a27.000Z>
[https://r1.res.office365.com/owa/prem/images/dc-txt_20.png]<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=1b7f505913ec94526889ca9e29fb7a525&authkey=AZ4kw6_bc8gNZzo6Q8BxKyw&expiration=2017-12-06T17%3a21%3a27.000Z>

201711012000_height_met.txt<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=1b7f505913ec94526889ca9e29fb7a525&authkey=AZ4kw6_bc8gNZzo6Q8BxKyw&expiration=2017-12-06T17%3a21%3a27.000Z>

<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=1b5245e287b65405f8a2b76d2c8d6470a&authkey=AU-cKhWPuBSgNKgYKwURDnM&expiration=2017-12-06T17%3a21%3a41.000Z>
[https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=1b5245e287b65405f8a2b76d2c8d6470a&authkey=AU-cKhWPuBSgNKgYKwURDnM&expiration=2017-12-06T17%3a21%3a41.000Z>

test_height_ascii2nc.sh<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=1b5245e287b65405f8a2b76d2c8d6470a&authkey=AU-cKhWPuBSgNKgYKwURDnM&expiration=2017-12-06T17%3a21%3a41.000Z>

<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=1feba7c72cab648418d742f9ba1ad9711&authkey=AUfGMr0mY25RyH9tSBxZBiE&expiration=2017-12-06T17%3a22%3a17.000Z>
[https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=1feba7c72cab648418d742f9ba1ad9711&authkey=AUfGMr0mY25RyH9tSBxZBiE&expiration=2017-12-06T17%3a22%3a17.000Z>

run_ascii2nc.log<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=1feba7c72cab648418d742f9ba1ad9711&authkey=AUfGMr0mY25RyH9tSBxZBiE&expiration=2017-12-06T17%3a22%3a17.000Z>




Hi John,

I want to use the ascii2nc to convert multiple levels data to netcdf format.

As you suggested, there's no need to modify the configure file, I run the test_ascii2nc.sh, but there's errors as:

*** Running ASCII2NC to reformat ASCII point observations into NetCDF ***

*** Running ASCII2NC to reformat ASCII rain gauge observations into NetCDF ***
DEBUG 1: Config File: /home1/04865/tg841649/tools/met/share/met/config/Ascii2NcConfig_default
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr: __pos (which is 11) > this->size() (which is 10)
./test_height_ascii2nc.sh: line 16: 164321 Aborted                 /home1/04865/tg841649/tools/met/bin/ascii2nc 201711012000_height_met.txt 201711012000_height_met.nc -log run_ascii2nc.log -v 2

************

 Do you what causes this issue?

please see my attaches!

Thank you very much!


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

Subject: problem with using ascii2nc mode to convert multiple levels data
From: Julie Prestopnik
Time: Mon Nov 06 10:34:31 2017

Hi Mandy.

I grabbed your 201711012000_height_met.txt and was able to reproduce
the
error you received.  Taking a look at the file I see that your
Valid_Time
is not in the format that MET expects (YYYYMMDD_HHMMSS).

Once I changed your valid times from 2017110120 to 20171101_200000, I
was
able to get a successful run.  I hope that helps.

Julie



On Mon, Nov 6, 2017 at 10:22 AM, Zhang, Mandy via RT
<met_help at ucar.edu>
wrote:

>
> Mon Nov 06 10:22:38 2017: Request 82893 was acted upon.
> Transaction: Ticket created by Man.Zhang-1 at ou.edu
>        Queue: met_help
>      Subject: problem with using ascii2nc mode to convert multiple
levels
> data
>        Owner: Nobody
>   Requestors: Man.Zhang-1 at ou.edu
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82893 >
>
>
> Zhang, Mandy has shared OneDrive for Business files with you. To
view
> them, click the links below.
>
>
> <https://sooners-my.sharepoint.com/personal/man_
> zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 1b7f505913ec94526889ca9e29fb7a525&authkey=AZ4kw6_
> bc8gNZzo6Q8BxKyw&expiration=2017-12-06T17%3a21%3a27.000Z>
> [https://r1.res.office365.com/owa/prem/images/dc-txt_20.png]<
> https://sooners-my.sharepoint.com/personal/man_zhang-
1_ou_edu/_layouts/15/
>
guestaccess.aspx?docid=1b7f505913ec94526889ca9e29fb7a525&authkey=AZ4kw6_
> bc8gNZzo6Q8BxKyw&expiration=2017-12-06T17%3a21%3a27.000Z>
>
> 201711012000_height_met.txt<https://sooners-my.sharepoint.
> com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 1b7f505913ec94526889ca9e29fb7a525&authkey=AZ4kw6_
> bc8gNZzo6Q8BxKyw&expiration=2017-12-06T17%3a21%3a27.000Z>
>
> <https://sooners-my.sharepoint.com/personal/man_
> zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 1b5245e287b65405f8a2b76d2c8d6470a&authkey=AU-cKhWPuBSgNKgYKwURDnM&
> expiration=2017-12-06T17%3a21%3a41.000Z>
> [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<
> https://sooners-my.sharepoint.com/personal/man_zhang-
1_ou_edu/_layouts/15/
> guestaccess.aspx?docid=1b5245e287b65405f8a2b76d2c8d6470a&authkey=AU-
> cKhWPuBSgNKgYKwURDnM&expiration=2017-12-06T17%3a21%3a41.000Z>
>
> test_height_ascii2nc.sh<https://sooners-my.sharepoint.com/
> personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 1b5245e287b65405f8a2b76d2c8d6470a&authkey=AU-cKhWPuBSgNKgYKwURDnM&
> expiration=2017-12-06T17%3a21%3a41.000Z>
>
> <https://sooners-my.sharepoint.com/personal/man_
> zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 1feba7c72cab648418d742f9ba1ad9711&authkey=AUfGMr0mY25RyH9tSBxZBiE&
> expiration=2017-12-06T17%3a22%3a17.000Z>
> [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<
> https://sooners-my.sharepoint.com/personal/man_zhang-
1_ou_edu/_layouts/15/
> guestaccess.aspx?docid=1feba7c72cab648418d742f9ba1ad9711&authkey=
> AUfGMr0mY25RyH9tSBxZBiE&expiration=2017-12-06T17%3a22%3a17.000Z>
>
> run_ascii2nc.log<https://sooners-my.sharepoint.com/
> personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 1feba7c72cab648418d742f9ba1ad9711&authkey=AUfGMr0mY25RyH9tSBxZBiE&
> expiration=2017-12-06T17%3a22%3a17.000Z>
>
>
>
>
> Hi John,
>
> I want to use the ascii2nc to convert multiple levels data to netcdf
> format.
>
> As you suggested, there's no need to modify the configure file, I
run the
> test_ascii2nc.sh, but there's errors as:
>
> *** Running ASCII2NC to reformat ASCII point observations into
NetCDF ***
>
> *** Running ASCII2NC to reformat ASCII rain gauge observations into
NetCDF
> ***
> DEBUG 1: Config File:
/home1/04865/tg841649/tools/met/share/met/config/
> Ascii2NcConfig_default
> terminate called after throwing an instance of 'std::out_of_range'
>   what():  basic_string::substr: __pos (which is 11) > this->size()
(which
> is 10)
> ./test_height_ascii2nc.sh: line 16: 164321 Aborted
>  /home1/04865/tg841649/tools/met/bin/ascii2nc
201711012000_height_met.txt
> 201711012000_height_met.nc -log run_ascii2nc.log -v 2
>
> ************
>
>  Do you what causes this issue?
>
> please see my attaches!
>
> Thank you very much!
>
>

------------------------------------------------
Subject: problem with using ascii2nc mode to convert multiple levels data
From: Zhang, Mandy
Time: Mon Nov 06 10:37:11 2017

Hi Julie,

Thank you very much!

I may mix the ascii_met format with prebugr format.

Mandy

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Monday, November 6, 2017 11:34:31 AM
To: Zhang, Mandy
Subject: Re: [rt.rap.ucar.edu #82893] problem with using ascii2nc mode
to convert multiple levels data

Hi Mandy.

I grabbed your 201711012000_height_met.txt and was able to reproduce
the
error you received.  Taking a look at the file I see that your
Valid_Time
is not in the format that MET expects (YYYYMMDD_HHMMSS).

Once I changed your valid times from 2017110120 to 20171101_200000, I
was
able to get a successful run.  I hope that helps.

Julie



On Mon, Nov 6, 2017 at 10:22 AM, Zhang, Mandy via RT
<met_help at ucar.edu>
wrote:

>
> Mon Nov 06 10:22:38 2017: Request 82893 was acted upon.
> Transaction: Ticket created by Man.Zhang-1 at ou.edu
>        Queue: met_help
>      Subject: problem with using ascii2nc mode to convert multiple
levels
> data
>        Owner: Nobody
>   Requestors: Man.Zhang-1 at ou.edu
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82893 >
>
>
> Zhang, Mandy has shared OneDrive for Business files with you. To
view
> them, click the links below.
>
>
> <https://sooners-my.sharepoint.com/personal/man_
> zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 1b7f505913ec94526889ca9e29fb7a525&authkey=AZ4kw6_
> bc8gNZzo6Q8BxKyw&expiration=2017-12-06T17%3a21%3a27.000Z>
> [https://r1.res.office365.com/owa/prem/images/dc-txt_20.png]<
> https://sooners-my.sharepoint.com/personal/man_zhang-
1_ou_edu/_layouts/15/
>
guestaccess.aspx?docid=1b7f505913ec94526889ca9e29fb7a525&authkey=AZ4kw6_
> bc8gNZzo6Q8BxKyw&expiration=2017-12-06T17%3a21%3a27.000Z>
>
> 201711012000_height_met.txt<https://sooners-my.sharepoint.
> com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 1b7f505913ec94526889ca9e29fb7a525&authkey=AZ4kw6_
> bc8gNZzo6Q8BxKyw&expiration=2017-12-06T17%3a21%3a27.000Z>
>
> <https://sooners-my.sharepoint.com/personal/man_
> zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 1b5245e287b65405f8a2b76d2c8d6470a&authkey=AU-cKhWPuBSgNKgYKwURDnM&
> expiration=2017-12-06T17%3a21%3a41.000Z>
> [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<
> https://sooners-my.sharepoint.com/personal/man_zhang-
1_ou_edu/_layouts/15/
> guestaccess.aspx?docid=1b5245e287b65405f8a2b76d2c8d6470a&authkey=AU-
> cKhWPuBSgNKgYKwURDnM&expiration=2017-12-06T17%3a21%3a41.000Z>
>
> test_height_ascii2nc.sh<https://sooners-my.sharepoint.com/
> personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 1b5245e287b65405f8a2b76d2c8d6470a&authkey=AU-cKhWPuBSgNKgYKwURDnM&
> expiration=2017-12-06T17%3a21%3a41.000Z>
>
> <https://sooners-my.sharepoint.com/personal/man_
> zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 1feba7c72cab648418d742f9ba1ad9711&authkey=AUfGMr0mY25RyH9tSBxZBiE&
> expiration=2017-12-06T17%3a22%3a17.000Z>
> [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<
> https://sooners-my.sharepoint.com/personal/man_zhang-
1_ou_edu/_layouts/15/
> guestaccess.aspx?docid=1feba7c72cab648418d742f9ba1ad9711&authkey=
> AUfGMr0mY25RyH9tSBxZBiE&expiration=2017-12-06T17%3a22%3a17.000Z>
>
> run_ascii2nc.log<https://sooners-my.sharepoint.com/
> personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 1feba7c72cab648418d742f9ba1ad9711&authkey=AUfGMr0mY25RyH9tSBxZBiE&
> expiration=2017-12-06T17%3a22%3a17.000Z>
>
>
>
>
> Hi John,
>
> I want to use the ascii2nc to convert multiple levels data to netcdf
> format.
>
> As you suggested, there's no need to modify the configure file, I
run the
> test_ascii2nc.sh, but there's errors as:
>
> *** Running ASCII2NC to reformat ASCII point observations into
NetCDF ***
>
> *** Running ASCII2NC to reformat ASCII rain gauge observations into
NetCDF
> ***
> DEBUG 1: Config File:
/home1/04865/tg841649/tools/met/share/met/config/
> Ascii2NcConfig_default
> terminate called after throwing an instance of 'std::out_of_range'
>   what():  basic_string::substr: __pos (which is 11) > this->size()
(which
> is 10)
> ./test_height_ascii2nc.sh: line 16: 164321 Aborted
>  /home1/04865/tg841649/tools/met/bin/ascii2nc
201711012000_height_met.txt
> 201711012000_height_met.nc -log run_ascii2nc.log -v 2
>
> ************
>
>  Do you what causes this issue?
>
> please see my attaches!
>
> Thank you very much!
>
>


------------------------------------------------
Subject: problem with using ascii2nc mode to convert multiple levels data
From: Julie Prestopnik
Time: Mon Nov 06 10:40:44 2017

You're welcome.  I'll go ahead and close this ticket, but please feel
free
start a new one with any other questions you may have.

Julie

On Mon, Nov 6, 2017 at 10:37 AM, Zhang, Mandy via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82893 >
>
> Hi Julie,
>
> Thank you very much!
>
> I may mix the ascii_met format with prebugr format.
>
> Mandy
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Monday, November 6, 2017 11:34:31 AM
> To: Zhang, Mandy
> Subject: Re: [rt.rap.ucar.edu #82893] problem with using ascii2nc
mode to
> convert multiple levels data
>
> Hi Mandy.
>
> I grabbed your 201711012000_height_met.txt and was able to reproduce
the
> error you received.  Taking a look at the file I see that your
Valid_Time
> is not in the format that MET expects (YYYYMMDD_HHMMSS).
>
> Once I changed your valid times from 2017110120 to 20171101_200000,
I was
> able to get a successful run.  I hope that helps.
>
> Julie
>
>
>
> On Mon, Nov 6, 2017 at 10:22 AM, Zhang, Mandy via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Mon Nov 06 10:22:38 2017: Request 82893 was acted upon.
> > Transaction: Ticket created by Man.Zhang-1 at ou.edu
> >        Queue: met_help
> >      Subject: problem with using ascii2nc mode to convert multiple
levels
> > data
> >        Owner: Nobody
> >   Requestors: Man.Zhang-1 at ou.edu
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82893 >
> >
> >
> > Zhang, Mandy has shared OneDrive for Business files with you. To
view
> > them, click the links below.
> >
> >
> > <https://sooners-my.sharepoint.com/personal/man_
> > zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> > 1b7f505913ec94526889ca9e29fb7a525&authkey=AZ4kw6_
> > bc8gNZzo6Q8BxKyw&expiration=2017-12-06T17%3a21%3a27.000Z>
> > [https://r1.res.office365.com/owa/prem/images/dc-txt_20.png]<
> > https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_
> edu/_layouts/15/
> >
guestaccess.aspx?docid=1b7f505913ec94526889ca9e29fb7a525&authkey=AZ4kw6_
> > bc8gNZzo6Q8BxKyw&expiration=2017-12-06T17%3a21%3a27.000Z>
> >
> > 201711012000_height_met.txt<https://sooners-my.sharepoint.
> > com/personal/man_zhang-
1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> > 1b7f505913ec94526889ca9e29fb7a525&authkey=AZ4kw6_
> > bc8gNZzo6Q8BxKyw&expiration=2017-12-06T17%3a21%3a27.000Z>
> >
> > <https://sooners-my.sharepoint.com/personal/man_
> > zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> > 1b5245e287b65405f8a2b76d2c8d6470a&authkey=AU-cKhWPuBSgNKgYKwURDnM&
> > expiration=2017-12-06T17%3a21%3a41.000Z>
> > [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<
> > https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_
> edu/_layouts/15/
> >
guestaccess.aspx?docid=1b5245e287b65405f8a2b76d2c8d6470a&authkey=AU-
> > cKhWPuBSgNKgYKwURDnM&expiration=2017-12-06T17%3a21%3a41.000Z>
> >
> > test_height_ascii2nc.sh<https://sooners-my.sharepoint.com/
> > personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> > 1b5245e287b65405f8a2b76d2c8d6470a&authkey=AU-cKhWPuBSgNKgYKwURDnM&
> > expiration=2017-12-06T17%3a21%3a41.000Z>
> >
> > <https://sooners-my.sharepoint.com/personal/man_
> > zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> > 1feba7c72cab648418d742f9ba1ad9711&authkey=AUfGMr0mY25RyH9tSBxZBiE&
> > expiration=2017-12-06T17%3a22%3a17.000Z>
> > [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<
> > https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_
> edu/_layouts/15/
> > guestaccess.aspx?docid=1feba7c72cab648418d742f9ba1ad9711&authkey=
> > AUfGMr0mY25RyH9tSBxZBiE&expiration=2017-12-06T17%3a22%3a17.000Z>
> >
> > run_ascii2nc.log<https://sooners-my.sharepoint.com/
> > personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> > 1feba7c72cab648418d742f9ba1ad9711&authkey=AUfGMr0mY25RyH9tSBxZBiE&
> > expiration=2017-12-06T17%3a22%3a17.000Z>
> >
> >
> >
> >
> > Hi John,
> >
> > I want to use the ascii2nc to convert multiple levels data to
netcdf
> > format.
> >
> > As you suggested, there's no need to modify the configure file, I
run the
> > test_ascii2nc.sh, but there's errors as:
> >
> > *** Running ASCII2NC to reformat ASCII point observations into
NetCDF ***
> >
> > *** Running ASCII2NC to reformat ASCII rain gauge observations
into
> NetCDF
> > ***
> > DEBUG 1: Config File:
/home1/04865/tg841649/tools/met/share/met/config/
> > Ascii2NcConfig_default
> > terminate called after throwing an instance of 'std::out_of_range'
> >   what():  basic_string::substr: __pos (which is 11) > this-
>size()
> (which
> > is 10)
> > ./test_height_ascii2nc.sh: line 16: 164321 Aborted
> >  /home1/04865/tg841649/tools/met/bin/ascii2nc
> 201711012000_height_met.txt
> > 201711012000_height_met.nc -log run_ascii2nc.log -v 2
> >
> > ************
> >
> >  Do you what causes this issue?
> >
> > please see my attaches!
> >
> > Thank you very much!
> >
> >
>
>
>

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


More information about the Met_help mailing list