Re: Re : ncl-talk post from appopson@yahoo.fr requires approval (fwd)

From: louis Vonder <appopson_at_nyahnyahspammersnyahnyah>
Date: Fri, 20 Feb 2009 06:53:50 +0000 (GMT)

Many thanks Mary,

Every thing is going very well now

cheers

--- En date de : Jeu 19.2.09, Mary Haley <haley_at_ucar.edu> a écrit :
De: Mary Haley <haley_at_ucar.edu>
Objet: Re: [ncl-talk] Re : ncl-talk post from appopson_at_yahoo.fr requires approval (fwd)
À: "louis Vonder" <appopson_at_yahoo.fr>
Cc: "ncl forum" <ncl-talk_at_ucar.edu>
Date: Jeudi 19 Février 2009, 17h43

Hi Louis,

Thanks for reposting the file. Using the original one that you gave
me, and the information about variable types, I was able to read it in
and convert it to a NetCDF file using the attached script.

The script is modified from the "ascii_delim.ncl" one at:

   http://www.ncl.ucar.edu/Applications/read_ascii.shtml

I had to fix the script because it wasn't dealing with numeric fields
that were blank.

Wei Huang, who joined the NCL development team in December, has
created a suite of string functions that will make reading in
delimited files even easier. We are in the process of testing that
suite of functions, and it won't make it into V5.1.0 unfortunately.

--Mary

On Thu, 19 Feb 2009, louis Vonder wrote:

>
> Hi Mary,
>
> You are right some column are character type.
> Let me give more precision to the dataset.
>
> Here the type of each column starting at line 2
>
> Column 1 ->  "integer"         =   64960
> Column 2 ->  "character"     =   WMO
> Column 3 ->  "character"     =   1984-03-13 06:00
> Column 4 ->  "character"     =   SYNOP
> Column 5 ->  "integer"         =   19823
> Column 6 ->  "integer"         =   1
> Column 7 ->  "integer"         =   1001
>
> Column 8--57 -> "float"
>
> I think that the description of the dataset is better.
>
> Cheers
>
>
> --- En date de : Mer 18.2.09, Mary Haley <haley_at_ucar.edu> a
écrit :
> De: Mary Haley <haley_at_ucar.edu>
> Objet: Re: Re : ncl-talk post from appopson_at_yahoo.fr requires approval
(fwd)
> À: "louis Vonder" <appopson_at_yahoo.fr>
> Date: Mercredi 18 Février 2009, 20h32
>
> Can you repost your message with the new data file to ncl-talk, so I
> can officially answer it there?
>
> Are you saying all 57 fields are float? I saw quite a few non-numeric
> characters in this file, like "WMO" and "1984-03-06
12:00".
> If you
> try to read these in as float, you will run into problems.
>
> --Mary
>
>
> On Wed, 18 Feb 2009, louis Vonder wrote:
>
>> Thanks Mary,
>> Sorry for the previous mesage.
>>
>> Here attached another file with less than 1Mb.
>>
>> The types of 57 field are "float"
>>
>> Cheers
>>
>> --- En date de : Mer 18.2.09, Mary Haley <haley_at_ucar.edu> a
> écrit :
>> De: Mary Haley <haley_at_ucar.edu>
>> Objet: Re: Re : ncl-talk post from appopson_at_yahoo.fr requires approval
> (fwd)
>> À: "louis Vonder" <appopson_at_yahoo.fr>
>> Date: Mercredi 18 Février 2009, 18h47
>>
>> Hi Louis,
>>
>> I got this message from you, I think, but didn't see anything in
>> it except your original message.
>>
>> --Mary
>>
>> On Wed, 18 Feb 2009, louis Vonder wrote:
>>
>>>
>>>
>>> --- En date de : Mer 18.2.09, Mary Haley <haley_at_ucar.edu> a
>> écrit :
>>> De: Mary Haley <haley_at_ucar.edu>
>>> Objet: ncl-talk post from appopson_at_yahoo.fr requires approval
(fwd)
>>> À: appopson_at_yahoo.fr
>>> Cc: ncl-talk-owner_at_ucar.edu
>>> Date: Mercredi 18 Février 2009, 18h07
>>>
>>> Hi,
>>>
>>> This message was rejected because of it's size.
>>> However, I think I have a solution for you, so hold on
>>> a bit...
>>>
>>> --Mary
>>>
>>>
>>> ---------- Forwarded message ----------
>>> Date: Wed, 18 Feb 2009 10:01:30 -0700
>>> From: ncl-talk-owner_at_ucar.edu
>>> To: ncl-talk-owner_at_ucar.edu
>>> Subject: ncl-talk post from appopson_at_yahoo.fr requires approval
>>>
>>> As list administrator, your authorization is requested for the
>>> following mailing list posting:
>>>
>>> List: ncl-talk_at_ucar.edu
>>> From: appopson_at_yahoo.fr
>>> Subject: reading WMO station data
>>> Reason: Message body is too big: 2863604 bytes with a limit of
> 1000 KB
>>>
>>> At your convenience, visit:
>>>
>>> http://mailman.ucar.edu/mailman/admindb/ncl-talk
>>>
>>> to approve or deny the request.Dear NCL users,
>>>
>>> Is there a script which can be used to read WMO station data, like
the
> one
>> attached.
>>> There is a way to convert this data in Netcdf file?
>>>
>>> Many thanks
>>>
>>>
>>>
>>>
>>>
>>> If you reply to this message, keeping the Subject: header
intact,
>>> Mailman will discard the held message. Do this if the message is
>>> spam. If you reply to this message and include an Approved:
header
>>> with the list password in it, the message will be approved for
posting
>>> to the list. The Approved: header can also appear in the first
line
>>> of the body of the reply.
Received on Thu Feb 19 2009 - 23:53:50 MST

This archive was generated by hypermail 2.2.0 : Mon Mar 02 2009 - 16:45:42 MST