[Thread Prev][Thread Next][Index]

[ferret_users] Re: Read value from text file



Hi ferreters,
Could solve the problem with the help of suggestions from Ryo and Paulo..

Regards,


On Tue, Oct 13, 2015 at 4:25 PM, Gayatri Vani <dgayatrivani@xxxxxxxxx> wrote:
Dear Ferreters,
I am new to ferret and am stuck with a doubt in reading the value from a text file. Let me go in detail. The latitude longitude time and depth levels will be mentioned in a word document and my ferret script should read those specifications and plot accordingly.

At present this is what i am doing
fill/l=($1)/k=($2)/...... or plot/l=($1):($2)/k=($3)
 
​where in i give the value of argument while running script
go script.jnl (value of $1) (value of $2) .....

​But ​now i want my script to take the values from a text file which contains the ascii values of the specifications (like lat, lon, time, level and so).The ascii file is attached

Thanks in advance

--
Gayatri Vani K
Project Engineer
Computational Earth Sciences (CES) Group
Centre for Development of Advanced Computing (CDAC), Pune
Mobile: +91-9527615716
Email: gayatrivanik@xxxxxxx



--
Gayatri Vani K
Project Engineer
Computational Earth Sciences (CES) Group
Centre for Development of Advanced Computing (CDAC), Pune
Mobile: +91-9527615716
Email: gayatrivanik@xxxxxxx

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

Privacy Policy | Disclaimer | Accessibility Statement