[Thread Prev][Thread Next][Index]
Re: character data reading
Hi Namba,
Please see the "COLUMNS" command (an alias for "SET DATA/FORMAT=delimited")
in the Ferret documentation.
For the file you have shown, you'll probably want to use a command like
yes? columns/delimiter="
"/skip=1/variable="dumy,dumy1,lon,lat,dumy2,depth,tem" test.txt
- steve
P.S. offline from ferret_users (to minimize needless traffic) please let us
know what operating system you were running on. On Solaris the commands
that you show give the error message "**TMAP ERR: incomprehensible list
input"
=======================================
Namba Takaya wrote:
> Dear Sir
>
> I have ascii data file(test.txt) and I would like to input it.
> (test.txt)
> id sn lon lat date depth temperature
> wod0000001 1234567 99.5 6.7 3/8/1956 0 27.6
> woe0000002 1234568 97.9 9.2 11/7/1972 10 29.7
>
> file /variable="dumy,dumy1,lon,lat,dumy2,depth,tem" test.txt
>
> But error says "character device ..."
> I quess that means taht we can not get(read) character data by this way.
>
> Could you tell me how to read the character data from ascii file?
>
> Thank you in advance.
>
> Takaya Namba
>
> _________________________________________________________________
> $B:G?7$N%U%!%$%J%s%9>pJs$H%i%$%U%W%i%s$N%"%I%P%$%9(B MSN $B%^%M!<(B
> http://money.msn.co.jp/
--
Steve Hankin
NOAA/PMEL, 7600 Sand Point Way NE, Seattle, WA 98115-0070
ph. (206) 526-6080 -- FAX (206) 526-6744
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement