[Thread Prev][Thread Next][Index]

Re: [ferret_users] RE: Help in reading ascii data in ferret



Hi,
There seems to be something in the internal formatting of the file that means it isn't read correctly under Unix. Even  the unix "cat" command does not read the file.

   > cat tzclim.dat

returns nothing.  It sounds as if what Fisseha did was to do a "save as" text, from the email tool. I allowed the file to be opened by my text editor from the email attachment, and saved it as a text file from my editor. Then renamed it back to tzclim.dat.  That version of the file is attached.  Ferret does not pay attention to the file name for reading ascii files, so this has nothing to do with the naming.

   yes? FILE/VAR=height tzclim2.dat
   yes? plot height

(Sometimes a file that's written under Windows will have trouble being read under Linux.  That is not what happened here, but it seems to be something similar to that.)

Ansley

On 12/3/2012 1:21 PM, FISSEHA G. BERHANE wrote:
Hi there,

I tried it as it is (tzclim.dat) but did not work,I do not know why. I saved it as text and it is straight forward:

FILE/VAR=height tzclim2.txt
plot height

Thank you,
Fisseha


--- On Mon, 12/3/12, Ladislaus Chang'a <changa60@xxxxxxxxxxx> wrote:

From: Ladislaus Chang'a <changa60@xxxxxxxxxxx>
Subject: [ferret_users] RE: Help in reading ascii data in ferret
To: "ferret users" <ferret_users@xxxxxxxx>
Date: Monday, December 3, 2012, 3:10 PM


Dear ferret_users,

I am still new in Ferret, I am trying to read and plot ASCII data in ferret, but I havent been successfully.  The data I am trying to read is hereby attached.

Please help

Dr. Ladislaus Chang'a
Tanzania Meteorological Agency
P. O. Box 3056
Dar es Salaam, Tanzania

Tel: +255784597066
Email: changa60@xxxxxxxxxxx
       changa@xxxxxxxxxxx

    30.6
    29.6
    29.1
    24.1
    25.1
    25.4
    22.8
    22.3
    25.4
    26.6
    21.4
    24.6
    24.5
    27.8
    27.6
    28.7
    24.3
      20
    25.5
    20.6
    25.2
    27.7
    29.2
    24.2
    23.8
    28.4
    26.2
    25.7
    22.2
    22.8
    21.4
    20.8
    20.9
    26.2
    27.3
      25
    24.2
    29.4
      27
    25.3
    23.5
    20.9
      19
    19.5
    23.4
    26.6
    26.8
    28.4
    21.3
    30.7
    31.1
    28.1
    21.8
    24.4
    19.5
    21.4
    26.4
    23.8
    28.2
    29.3
      31
    27.7
    25.8
    23.9
    26.6
    19.7
    22.7
    22.6
    23.8
    25.2
      23
    27.8
    31.4
    31.3
    24.9
    28.2
    24.2
    20.4
    19.8
    21.2
      23
    22.2
      26
    26.3

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

Privacy Policy | Disclaimer | Accessibility Statement