Re: ascii read

From: Caspar Ammann <ammann_at_nyahnyahspammersnyahnyah>
Date: Tue, 19 Sep 2006 12:48:15 -0600

Karen,
I think you have a missing carriage-return at the end of your input
file. Load it in an editor, go all the way down and make a line break. I
believe that will solve your problem.
Caspar

Karen A. Kosiba wrote:
> Hello,
>
> I am having problems reading in an ascii file. It is a 125x125 array, and when
> I read it in using vel = asciiread(fin,(/125,125/),"float"), I keep getting the
> message:
>
> "warning: asciiread: End of file reached and only (15624) elements were read
> from the file, filling remaining elements with the default missing value for the
> requested type"
>
> So for some reason, it is not reading in the last value. It is ordered
> columns=5, rows=3125.
>
> Thanks in advance!
>
> Sincerely,
> Karen Kosiba
>
>
> ********************************
> Karen A. Kosiba
> PhD Candidate
> Purdue University, Dept. of EAS
> http://www.purdue.edu/eas/severe/
> ********************************
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>

-- 
Caspar M. Ammann
National Center for Atmospheric Research
Climate and Global Dynamics Division - Paleoclimatology
1850 Table Mesa Drive
Boulder, CO 80307-3000
email: ammann_at_ucar.edu    tel: 303-497-1705     fax: 303-497-1348
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Sep 19 2006 - 12:48:15 MDT

This archive was generated by hypermail 2.2.0 : Mon Sep 25 2006 - 11:45:06 MDT