Re: a question

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Sun, 17 Feb 2008 11:27:08 -0700 (MST)

The following was offline from ncl-talk.
Sent to ncl-talk on a "for-the-record" basis.

resolved

On Sat, 16 Feb 2008, Yinghui Liu wrote:

> Thanks, Dennis.
>
> I tried in another way:
> fbinrecread(fn1,0,(/5,7,9/),"float"), and it works.
>
> I guess the previous problem due to the format of
> the file.
>
> Thanks so much for your help and time.
>
> Yinghui
>
> On Sat, 16 Feb 2008 17:41:09 -0700
> Dennis Shea <shea_at_ucar.edu> wrote:
> > Offline
> >
> > Something is not right.
> >
> > [1] You can sen the file to
> >
> > ftp ftp.cgd.ucar.edu
> > anonymous
> > email
> > cd incoming
> > put test.dat
> > quit
> >
> > Then tell me when you have done it.
> >
> > [2] you can shape immediately
> >
> > x = fbinread(fn1,(/5,7,9/),"float")
> >
> > Yinghui Liu wrote:
> > > Hi All:
> > >
> > >I am trying to read in unformatted data, then resize it:
> > >
> > > First:
> > > begin
> > > fn1 = "test.dat" rec = 5*7*9
> > > x = fbinread(fn1,rec,"float")
> > > print(x) end There is no problem. Then,
> > >
> > > begin
> > > fn1 = "test.dat" rec = 5*7*9
> > > x = fbinread(fn1,rec,"float")
> > > print(x)
> > > xx = onedtond(x,(/5,7,9/))
> > > print(xx(:,0,0)) end Can not even read in the data, for "
> > > fatal:Execute:
> > >Error occurred at
> > > or near line 11 (reading line) "
> > >
> > > Any comments on this?
> > >
> > > Thanks,
> > >
> > > Yinghui
> > >
> > >
> >
> >
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Feb 17 2008 - 11:27:08 MST

This archive was generated by hypermail 2.2.0 : Wed Feb 20 2008 - 13:04:58 MST