Hi, To answer the question about the syntax let var1_with_T = t[g=gg]*0 + wnd10[d=1]If a variable does not have any time axis at all, this is a way to give it a time axis. Your data has an axis in the time dimension, but it doesn't follow the standard for time attributes, so it won't be defined as a calendar axis, days in the year 1985, for instance; it'll just say t=1, 2, 3. In Ferret you will see error messages at different times depending on the type of error. Syntax errors, like the wrong qualifier on a command, or mismatched parentheses, are given when you enter the command. Errors having to do with the grids of variables, or various kinds of operations with variables, aren't detected until Ferret tries to load data and resolve the sets of definitions that have been made. I think that when you tried to use var1_with_T, you'd see an error about the time axes. So a LIST, or SAVE command using the variable would trigger an error. Try things with just one or two datasets to see what it looks like: use file1.ncand look at the ncdump header for test1.nc cancel data/all and check that. For your question about saving data, you can do a list command as I did above, but specify a file name LIST/file=test.dat, for instance, to write an ascii text file; or you can use SAVE/file=test.nc (which is an alias for LIST/format=cdf) to write a netCDF file. Once you have a time axis defined, the time axis information is automatically part of the file. Ansley On 4/5/2013 2:52 AM, Don DNA wrote:
|