[Thread Prev][Thread Next][Index]

Re: open file



On Thu, 10 Jul 2003, Boyin Huang wrote:
> I wondering whether ferret is capable to open a file located in 
> different directory:
> 
> SET DATA/EZ/format=stream/grid=yzgrid/var=arr1/col=2970  
> "/home/byh/fig.nwp/yz2d/tYZ.dat.p-c"
> 
> I got following message:
>  **ERROR: Can't open file tYZ.dat.p-c for reading
>
> If I copy that file to the local directory, and use
> 
> SET DATA/EZ/format=stream/grid=yzgrid/var=arr1/col=2970  tYZ.dat.p-c
> 
> It works.  Why?

Hi Boyin,

This problem was due to a bug in FILE/FORMAT=stream.  It has been fixed as
of version 5.53beta3, and if you're using Linux, you can get an updated
executable at

   ftp://www.ferret.noaa.gov/special_request/aw/ferret_v553beta3.gz

(Note that there remains a bug in the FILL command for irregularly-spaced
axes with this version...  the developers are working on this.)

If you're not using Linux, or don't want to update your executable, you
can work around the problem by creating a local symbolic link to the file:

ln -s /home/byh/fig.nwp/yz2d/tYZ.dat.p-c tYZ.dat.p-c 

Andrew

+--------------------------------------------------------+
|   Dr. Andrew T. Wittenberg   |        GFDL/NOAA        |
|  Andrew.Wittenberg@noaa.gov  |      Princeton, NJ      |
+--------------------------------------------------------+






[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement