[Thread Prev][Thread Next][Index]
Re: [ferret_users] list/precision
Hi Carol,
Try this example, I think it works as expected. If you don't see the
same results, then I need to know what version of Ferret you're running,
and on what operating system. The list command does do some automatic
formatting, in an attempt to fit the data on the lines. LIST/FORMAT=
will give you more control, but also less automatic output like the
line headers.
! list to files, first without /PREC= and then with.
yes? list/clobber/file=a1.dat rose[x=100:105,y=1:3]
LISTing to file a1.dat
yes? sp more a1.dat
VARIABLE : RELIEF OF THE SURFACE OF THE EARTH (METERS)
FILENAME : etopo60.cdf
FILEPATH : /home/porter/tmap/ferret/linux/fer_dsets/data/
SUBSET : 5 by 2 points (LONGITUDE-LATITUDE)
100.5E 101.5E 102.5E 103.5E 104.5E
81 82 83 84 85
2.5N / 93: -14.6 22.1 110.6 119.3 -43.1
1.5N / 92: 24.5 14.8 -15.1 17.6 -22.6
yes? list/clobber/file=a2.dat/prec=6 rose[x=100:105,y=1:3]
LISTing to file a2.dat
yes? sp more a2.dat
VARIABLE : RELIEF OF THE SURFACE OF THE EARTH (METERS)
FILENAME : etopo60.cdf
FILEPATH : /home/porter/tmap/ferret/linux/fer_dsets/data/
SUBSET : 5 by 2 points (LONGITUDE-LATITUDE)
100.5E 101.5E 102.5E 103.5E 104.5E
81 82 83 84 85
2.5N / 93: -14.625 22.146 110.604 119.347 -43.097
1.5N / 92: 24.451 14.812 -15.090 17.639 -22.562
yes?
Carol Ladd wrote:
I am trying to list some data to an ascii file using the precision option
list/precision=6/file=test.dat data
The precision option works when I list to the screen but not when I
list to a file. Is this a bug? What can I do about it?
Thanks.
Carol
--
~> ~> ~> ~> ~> ~> ~> ~> ~> ~> ~>
Ansley Manke, NOAA/PMEL ansley.b.manke@xxxxxxxx
7600 Sand Point Way NE, Seattle WA
Phone 206-526-6246, FAX 206-526-6744
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement