Hi Yogesh,
The error message is due to an internal buffer that is too short. We
have been working on making such buffers longer, and I will put this on
our list to increase as well, but for now you can define an axis to
read this data from an ascii file. The number of points on your axis
needs to be some number larger than the number in the file. The number
of columns to read in the FILE/COLUMNS= specifier needs to match the
number of columns in the file, or it could be a number smaller than the
number in the file to read fewer values.
define axis/x=1:100:1 xax
define grid/x=xax in_grid
file/columns=43/var=w1/grid=in_grid w1data.dat
list w1
Yogesh K. Tiwari wrote:
Hello
Ferret Users,
I have ASCII data and its variable values are in row, not in column.
Each variable has 43 values all set in row and there are total 18
variables.
Ferret reads first variable fine and when it reads seconds variable it
complaints
**ERROR: line too long: 00,0.000E+0000}
Here I have attched my exapmle ASCII data file which shows first two
variables.
Or can we read the row value variables by defining axis ?
Kindly advise, how to read all the variables.
Many thanks,
Regards,
Yogesh
let P= {0.100, 0.290, 0.690, 1.420, 2.611, 4.407, 6.950, 10.370, 14.810, 20.400\
27.260, 35.510, 45.290, 56.730, 69.970, 85.180, 102.050, 122.040, 143.840, 167.950,\
194.360, 222.940, 253.710, 286.600, 321.500, 358.280, 396.810, 436.950, 478.540, 521.460,\
565.540, 610.600, 656.430, 702.730, 749.120, 795.090, 839.950, 882.800, 922.460, 957.440,\
985.880, 1005.430, 1013.250}
let w1={0.244E+0002,0.601E+0002,0.935E+0002,0.952E+0002,0.119E+0003,0.151E+0003,0.147E+0003,0.125E+0003,0.896E+0002,0.309E+0002,\
-0.496E+0002,-0.172E+0003,-0.378E+0003,-0.693E+0003,-0.110E+0004,-0.150E+0004,-0.184E+0004,-0.212E+0004,-0.230E+0004,-0.233E+0004,\
-0.219E+0004,-0.194E+0004,-0.164E+0004,-0.130E+0004,-0.973E+0003,-0.685E+0003,-0.447E+0003,-0.267E+0003,-0.145E+0003,-0.705E+0002,\
-0.308E+0002,-0.119E+0002,-0.387E+0001,-0.995E+0000,-0.229E+0000,-0.580E-0001,-0.138E-0001,-0.317E-0002,-0.694E-0003,-0.623E-0004,\
0.000E+0000,0.000E+0000,0.000E+0000}
|