[Thread Prev][Thread Next][Index]
Re: file names start with a number
Hallo Prasad,
Just give the path to the file in double quotes like :
if it is in the pwd, then
yes? file/grid=xxyytt/var=u/format=stream/swap "./092004_06h_dir.d"
in general, you can give the full path
yes? file/grid=xxyytt/var=u/format=stream/swap "/home/data/092004_06h_dir.d"
Hope This Helps
With Regards
Jaison
On Thu, 24 Mar 2005, Thoppil, Prasad IND wrote:
> Hello Everyone:
>
> When I try to read a binary file "092004_06hrly_ieee_uwnd_strs_dir.d", I get the following error. however, if i rename the same file to say "xx" it works fine (see the following script). Does anyone know why can't I use the file name starting with a number?
>
> Thanks
>
> Prasad
>
>
> ---------
> NOAA/PMEL TMAP
> FERRET v5.80
> Linux(g77) 2.4.20 - 01/03/05
> 24-Mar-05 17:09
>
> yes? go plot_wnd_month.jnl
> define axis/x=-120.0:-60.0:0.2/unit=degrees_east xx
> define axis/y=0.0:32:0.2/unit=degrees_north yy
> define axis/t="1-sep-2004:00":"30-sep-2004:21":3/unit=hours tt
> define grid/x=xx/y=yy/t=tt xxyytt
> file/grid=xxyytt/var=u/format=stream/swap 092004_06hrly_ieee_uwnd_strs_dir.d
> **ERROR: unknown data set: invalid data set number for SET DATA/EZ
> SET DATA/EZ/grid=xxyytt/var=u/format=stream/swap 092004_06hrly_ieee_uwnd_strs_dir.d
> Command file, command group, or REPEAT execution aborted
> yes? sp cp 092004_06hrly_ieee_uwnd_strs_dir.d xx
> yes? file/grid=xxyytt/var=u/format=stream/swap xx
> yes? show da
> currently SET data sets:
> 1> ./xx (default)
> name title I J K L
> U U 1:301 1:161 ... 1:240
>
>
>
>
>
--
___________________________________________________
Jaison Kurian
Centre for Atmospheric and Oceanic Sciences
Indian Institute of Science
B A N G A L O R E 560 012
Ph: +91-80-3942505
+91-80-3600450
Fax:+91-80-3600865
___________________________________________________
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement