[Thread Prev][Thread Next][Index]

Re: [ferret_users] It is a bug ?



Hi Peter,
Yes, this looks like a bit of a bug.  It also occurs in earlier versions of Ferret, so has been in the code all along.  It looks like it comes from the option to
SET LIST/FILE=AUTO  or
LIST/FILE=AUTO

which generates a filename from the input dataset and variable name. When Ferret parses command lines, options are generally just compared up to the first four characters; but here it might be a good idea to see if there's more after the letters "AUTO".  You would not run into this if you used, say,
list/noheader/file=tautocor_nino_INDO.dat/
Thank you for the report and the example.

Ansley

Seon Tae Kim wrote:
I am using Ferret V6.3 on a linux machine. 
I tried to save a variable using the commend "list" like

use wp_anomaly_INDO.nc
let r_nino = tauto_cor(nino34)
list//noheader/file=autocor_nino_INDO.dat/format=(f13.5) r_nino

After that I have a message, 
!-> list/noheader/file=autocor_nino_INDO.dat/format=(f13.5) r_nino
LISTing to file Wwp_anomaly_INDOR_NI.Z0T05673

So I had a file Wwp_anomaly_INDOR_NI.Z0T05673 instead of autocor_nino_INDO.dat


If I remove "auto" in the file name like autcor_nino_INDO.dat, the variable is listed in the autcor_nino_INDO.dat

Therefore, in Ferret 6.3, we do not use a file name with "AUTO".
Is it a bug of version 6.3 ?

-Peter 
  

[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement