[Thread Prev][Thread Next][Index]

Re: [ferret_users] File output using LIST



Hi Matthew,
Yes, use

LIST/NOHEADER  makes the listing without any header lines and /NOROWLAB  removes the label from the start of each line.



On 5/5/2011 11:25 AM, Matthew Niznik wrote:
Hi all,

I'm trying to write a data file that, on each line, would just have a
string of numbers each offset by tab. I'm currently using the
following command:

list/nohead/format=tab/order=x/file=test.dat/append v2[d=4]

where v2[d=4] is simply the values I'm trying to print. However, when
I get the output I have two problems (output below):

coordinates     0       0.5     1       1.5     2       2.5     3       3.5    \
 4       4.5     5       5.5     6       6.5     7       7.5     8       8.5   \
  9       9.5     10      10.5    11      11.5    12      12.5    13      13.5 \
   14      14.5    15      15.5    16      16.5    17      17.5    18      18.5\
    19      19.5    20
row 1   1061    1351    816     601     365     213     128     119     79     \
 62      70      57      42      49      42      43      39      15      18    \
  18      17      12      8       12      5       7       5       14      5    \
   7       9       2       3       0       2       0       0       0       0   \
    0       0

So, (1) how would I eliminate the labels "coordinates" and "row 1"
from printing, and (2) could I eliminate the coordinates altogether
from being listed? I can have an outside program process the file, but
I'm curious if there are ways to get cleaner output in ferret.


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement