Hi, I have one suggestion for asking questions: If you're seeing an error message, say what that error is. Maybe there's a problem reading the text file, or maybe it's something else, but we can't tell from the question. You may already know all this from reading documentation, but here are some things people run into as new users. In using Ferret to access data files, Ferret itself can often help you know what's going on. When you open datasets, yes? use ....ncso far you've pointed to these files, but not yet read in any data. For a netCDF file, "use" will open the file and read the header, getting variable names, attributes, and grid information. For ascii files, the FILE command only checks that the file exists, and gets the number of records, but hasn't read in any data. So, get Ferret to tell you what you've got open: yes? show dataThis lists the information from the netCDF file, and will show the number of records in "input.dat". Now, read some data. yes? list/i=1:10 dpt,tmIs there any data? If not, then the error message will help. (Maybe you need a /SKIP= on the FILE command.) If dpt and tm are ok, then it looks to me as if you need grave accents to evaluate the numbers yes? fill/k=`dpt[i=1,d=1]`/l=`tm[i=1,d=1]`-Ansley On 10/13/2015 9:32 PM, Gayatri Vani
wrote:
|