[Met_help] [rt.rap.ucar.edu #72752] History for ascii2nc error

Julie Prestopnik via RT met_help at ucar.edu
Tue Jul 28 09:16:54 MDT 2015


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

Hi John. 
I was trying to convert my ascii file into NC using ascii2nc tool. 

aditya at agniilap:~/Downloads$  ~/geeta/installs/met/bin/ascii2nc -v 2 ./precip24_final_20110423.ascii precip24.nc 
DEBUG 1: Config File: /home/aditya/geeta/installs/met/share/met/config/Ascii2NcConfig_default
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr
Aborted (core dumped)
aditya at agniilap:~/Downloads$ 


got this error. 
sending you my ascii file. I am using MET5.0 now. 
Geeta
 		 	   		  

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

Subject: ascii2nc error
From: Julie Prestopnik
Time: Mon Jul 27 09:16:14 2015

Hi Geeta.  Thank you for sending us your input ASCII file.

The problem is on this line (line #424):

ADPSFC TN178.20110423_030000    10.46    0079.39   -9999.00  61  24
-9999.00  NA       5.4

Please note that there is a period "." between the Station Id, TN178,
and
the Valid Time, 20110423_030000.  Once you remove this period, you
should
get a successful run.  Please let us know how it goes.

Thanks,
Julie

On Sun, Jul 26, 2015 at 11:00 AM, Geeta Geeta via RT
<met_help at ucar.edu>
wrote:

>
> Sun Jul 26 11:00:12 2015: Request 72752 was acted upon.
> Transaction: Ticket created by geeta124 at hotmail.com
>        Queue: met_help
>      Subject: ascii2nc error
>        Owner: Nobody
>   Requestors: geeta124 at hotmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=72752 >
>
>
> Hi John.
> I was trying to convert my ascii file into NC using ascii2nc tool.
>
> aditya at agniilap:~/Downloads$  ~/geeta/installs/met/bin/ascii2nc -v 2
> ./precip24_final_20110423.ascii precip24.nc
> DEBUG 1: Config File:
>
/home/aditya/geeta/installs/met/share/met/config/Ascii2NcConfig_default
> terminate called after throwing an instance of 'std::out_of_range'
>   what():  basic_string::substr
> Aborted (core dumped)
> aditya at agniilap:~/Downloads$
>
>
> got this error.
> sending you my ascii file. I am using MET5.0 now.
> Geeta
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: ascii2nc error
From: Geeta Geeta
Time: Tue Jul 28 01:46:41 2015

thanks Julie it worked.

> Subject: Re: [rt.rap.ucar.edu #72752] ascii2nc error
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Mon, 27 Jul 2015 09:16:14 -0600
>
> Hi Geeta.  Thank you for sending us your input ASCII file.
>
> The problem is on this line (line #424):
>
> ADPSFC TN178.20110423_030000    10.46    0079.39   -9999.00  61  24
> -9999.00  NA       5.4
>
> Please note that there is a period "." between the Station Id,
TN178, and
> the Valid Time, 20110423_030000.  Once you remove this period, you
should
> get a successful run.  Please let us know how it goes.
>
> Thanks,
> Julie
>
> On Sun, Jul 26, 2015 at 11:00 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Sun Jul 26 11:00:12 2015: Request 72752 was acted upon.
> > Transaction: Ticket created by geeta124 at hotmail.com
> >        Queue: met_help
> >      Subject: ascii2nc error
> >        Owner: Nobody
> >   Requestors: geeta124 at hotmail.com
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=72752 >
> >
> >
> > Hi John.
> > I was trying to convert my ascii file into NC using ascii2nc tool.
> >
> > aditya at agniilap:~/Downloads$  ~/geeta/installs/met/bin/ascii2nc -v
2
> > ./precip24_final_20110423.ascii precip24.nc
> > DEBUG 1: Config File:
> >
/home/aditya/geeta/installs/met/share/met/config/Ascii2NcConfig_default
> > terminate called after throwing an instance of 'std::out_of_range'
> >   what():  basic_string::substr
> > Aborted (core dumped)
> > aditya at agniilap:~/Downloads$
> >
> >
> > got this error.
> > sending you my ascii file. I am using MET5.0 now.
> > Geeta
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>

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


More information about the Met_help mailing list