a question

From: Yinghui Liu <yinghuil_at_nyahnyahspammersnyahnyah>
Date: Sat, 16 Feb 2008 16:54:01 -0600

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 Sat Feb 16 2008 - 15:54:01 MST

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