[Thread Prev][Thread Next][Index]

Re: ??,?: save a cdf file in many ascii files






Hi Yiquan,

I think the problem is that, in your repeat statement, you are using 'l'.
Ferret wants `l`.  The correct quote is, on my keyboard, the one on the
same key as the tilde (~).  I hope this helps.

Cheers,

-Brent

On Thu, 24 May 2001, Yiquan QI wrote:

> Thanks for your reply.
> When I try the example you give me, I find I can't do, this is because ferret can't create different filenames changing with  time'L'. The following is the message after input REPEAT/L=1:12 (LIST/FORMAT=(F9.2)/FILE=time`L`.dat sst). How to replace 'l' in filename time'l'.dat. Thank you.
>
> ! -> repeat:l=1
> listing to file time'l'.dat
> ! ->repeat l=2
> **error: invalid command: /clobber not specified and file exists: time'l'.dat
> list/format=(f9.2)/file=time'l'.dat sst
> command file, command group, or repeat execution aborted
>
>
>
> -----????-----
> ???: Ansley Manke [mailto:ansley@pmel.noaa.gov]
> ????: 2001?5?24? 0:04
> ???: Yiquan QI
> ??: ferret_users@ferret.wrc.noaa.gov
> ??: Re: save a cdf file in many ascii files
>
>
> Hi Yiquan,
> Here's an example, which uses the L coordinate in the name of the files:
>
>      yes? USE coads_climatology
>      yes? SET REGION/X=180:200/Y=0
>      yes? REPEAT/L=1:12 (LIST/FORMAT=(F9.2)/FILE=time`L`.dat sst)
>
> Ansley Manke
>
> Yiquan QI wrote:
>
> > Hi, everyone,
> >
> > I want to split a cdf file into  ASCII files in which  the data are saved every time step(L). How to do? Thanks in advance.
> >
> > ---------------------------------------------------
> >  QI  Yiquan Ph. D.
> >  Lab for Remote Sensing Application,
> >  South China Sea Institute of Oceanology, Chinese Academy of Sciences.
> >  164 West Xingang Road, Guangzhou, China, 510301.
> >  Phone:84464727(H), 84450245(o),84451335-632(O)
> >  Fax: 84451672,84467170
> >   Email:yqqi@scsio.ac.cn <mailto:Email:yqqi@scsio.ac.cn> ,  qiyiquan@163.net <mailto:qiyiquan@163.net>
> >  ---------------------------------------------------------
>
> --
> Ansley Manke  Pacific Marine Environmental Laboratory  Seattle WA  (206)526-6246
>

-- 
Brent A. McDaniel

Dept of Earth and Atmospheric Sciences
Georgia Institute of Technology
Atlanta, Ga.  USA




[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement