[Thread Prev][Thread Next][Index]
[ferret_users] ASCII DATA
- To: Ferret_users@xxxxxxxx
- Subject: [ferret_users] ASCII DATA
- From: Ashley Watson <ashleywats@xxxxxxxxx>
- Date: Mon, 04 Dec 2006 16:39:45 +0100
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;h=received:message-id:date:from:to:subject:mime-version:content-type;b=buadfv2JG2w4e4CPlpN9oRtlt4UrUvA7Xd2KMOlXEWY49Lv7qIXq/2w3+5iInvpWzEliqrxfDZg9Wg36Je+NBVy/QEGRjZJUySmHwSpQc1GsSa3SwdhGSWI06bWQFufD66M3PXqp4wfSe0hPyo3IFB82BDY0RjxENDXOnD0Ja1o=
- Sender: owner-ferret_users@xxxxxxxxxxxxx
Hi everyone,
I'm trying to read an ASCII data file with 3 variables. The file looks like:
lon lat Pre(t=1) Pre(t=2) ............Pre(t=12)
....................................................................................
....................................................................................
...................................................................................
So there are 14 columns in datafile. The first two variables are lat, lon and the third one is variable with 12 timesteps.
I tried to read this data with commnds:
define axis/x=8.0833E:22.917E/npo=90 xaxis
define axis/y=48.083:53.917/npo=36 yaxis
define axis/t=15-SEP-1988:14-AUG-1989:`365.2425/12`/units=days/T0=15-SEP-1988 taxis
define grid/x=xaxis/y=yaxis/t=taxis mygrid
file/var=lat,lon,pre/grid=mygrid/col=14/order=xyt mydatafile.dat
It does'nt work. show data command shows:
I
J
K L
lon
1:90 1:36
... 1:12
lat
1:90 1:36
... 1:12
pre
1:90 1:36
... 1:12
The problem is L should be 1 for lat, lat variables. Whats wrong. Any suggestion
Ashley
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement