[Thread Prev][Thread Next][Index]

Fw: how can i read all my data from files?




----- Original Message ----- 
From: "weiq" <weiqwang@scsio.ac.cn>
To: "Mark Verschell" <markverschell@mindspring.com>
Sent: Saturday, July 28, 2001 9:41 AM
Subject: Re: how can i read all my data from files?


> I read it by file/format=stream/grid=gridxy/columns=64800/var=xx c:\tmp\sh2.dat 
> and this data file(sh2.dat) is writted by Visual Fortran  6.0. Pls see the below:
> 
>      parameter(mi=360,mj=180,msea=12)
>       real map1(mi,mj)
>        open(1,form='unformatted',file='sh2.dat',access='direct',recl=mi*mj)
> 
>        do is=1,msea
>         write(1,rel=is)  map1
>       enddo
> 
> thanks ur reply.
> 
>        weiq
> 
> ----- Original Message ----- 
> From: "Mark Verschell" <markverschell@mindspring.com>
> To: "weiq" <weiqwang@scsio.ac.cn>
> Cc: <ferret_users@ferret.wrc.noaa.gov>
> Sent: Friday, July 27, 2001 10:24 PM
> Subject: Re: how can i read all my data from files?
> 
> 
> > weiq, 
> > 
> > I need some more info to diagnose this. The grid is interesting, but I
> > need to know the file format and how you are reading this in ferret. 
> > 
> > Mark 
> > 
> > P.S. This isn't a memory problem (ferret is great at catching those),
> > but for future reference the way to change memory allocation is SET
> > MEMORY/SIZE=xxx (xxx is size in megabytes) 
> > 
> > On Friday, July 27, 2001, at 05:13 AM, weiq wrote: 
> > 
> > 
> > > Dear ferreters, 
> > >     I use the following grid to read data from files. When I display
> > > L=1, not any problem. 
> > >     def axis/x=0.5e:0.5W:1 x1 
> > >     def axis/y=89.5S:89.5N:1 y1 
> > >     def axis/t=1:1:1 t1 
> > >   
> > >   But the files incluse t=1:12, so I modify axis/t=1:12:1, and try
> > > again to display L=1, Something wrong with it. The wrong message is 
> > >       
> > >          0 [main] FERRET 1003 handle_exceptions: Exception:
> > > Status_Access_VIOLATIONS 
> > >       12288 [main] FERRET 1003 stackdump: Dumping stack trace to
> > > Ferret.exe.stackdump 
> > >       Segmentation fault (core dumped) 
> > >     
> > >   
> > >   Why? Because of memory? But I don't how to adjust it. 
> > >   I use ferret5.33 beta in PC. 
> > >   
> > >   Many thanks 
> > >   
> > >        weiq 
> > > 
> > 
> 


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement