[Thread Prev][Thread Next][Index]

ascii import



Hi ferreters,
I want to use an ascii file wich looks like the following:

# Meridional streamfunction (Sv)
# Depth level = 1
# latitude depth global ocean Atlantic Ocean Indo-Pacific Ocean
90.00 6.00 -999.999 -999.999 -999.999 88.20 6.00 0.00000 0.00000 -999.999
86.40 6.00 -0.409342E-001 -0.409342E-001 -999.999
...
# Depth level = 2
# latitude depth global ocean Atlantic Ocean Indo-Pacific Ocean
90.00 18.00 -999.999 -999.999 -999.999
88.20 18.00 0.00000 0.00000 -999.999
86.40 18.00 -0.409342E-001 -0.409342E-001 -999.999
84.60 18.00 -0.231117 -0.231117 -999.999 ...

I managed to read the data into 5 different variables (FILE/VAR="...) but of cause I only want the 3. - 5. column as a variable and the 1. column as y-coordinate (J-axis) and the 2. column as z-coordinate (k-axis). How can I import the data correctly.

Thanks in advance
Cheers
Jörg


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement