Yi,
For the data you sent me, this works:
a = asciiread("data",(/8,4/),"float")
Mike
On Oct 4, 2006, at 12:35 PM, Yi Wang wrote:
> Here is a few lines:
>
> 1369.0 5.0 -3.62 0.2375E-03 0.28 0.81
> 0.00 0.00
> 1370.0 3.0 -2.52 0.2990E-02 0.08 0.57
> 9.98 0.00
> 1370.0 4.0 -2.52 0.2990E-02 0.08 0.57
> 187.15 0.00
> 1370.0 5.0 -2.84 0.1438E-02 0.36 0.79
> 0.00 0.00
>
> Yi
>
> On Oct 4, 2006, at 12:24 PM, Michael Notaro wrote:
>
>> Could you email me a few lines of the ascii data that you want to
>> read?
>>
>> On Oct 4, 2006, at 12:19 PM, Yi Wang wrote:
>>
>>> Hi There:
>>>
>>> Can "asciiread" take in different data types with one ascii
>>> file? For example, if I have integer, real, exponential and log,
>>> could asciiread take all together in one ascii file. Thanks
>>>
>>> Yi
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk_at_ucar.edu
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
> Yi Wang PhD
> Center for Climatic Research
> University of Wisconsin-Madison
> 1225 West Dayton Street
> Madison, WI 53706-1695
> USA
> Tel: (608) 263-0232
> Fax: (608) 263-4190
> wang29_at_wisc.edu
> http://ccr.aos.wisc.edu/contacts/yiwang.html
>
>
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Oct 04 2006 - 11:47:53 MDT
This archive was generated by hypermail 2.2.0 : Wed Oct 04 2006 - 17:49:24 MDT