[Thread Prev][Thread Next][Index]
Re: [FERRET]insufficient memory when using ZAXREPLACE
Hi Zhen,
On Mon, 13 Jun 2005 zhen.li@gsfc.nasa.gov wrote:
> Hi Ferret Users:
>
> I am trying to use ZAXREPLACE to convert salt from Z level to isopycnal
> surface.
> The example with levitus_climatology(3D) worked fine, but when I have a 4D
> temp and salt array ( [700 390 43 12]),
> I got an error message of
> "*ERROR: insufficient memory: 8797800 words were requested."
> I couldn't request more memory. So, does anyone know how to get around
> this problem?
How are you requesting more memory? I ran into the same problem when I was
setting up sigma depths in LAS. Originally I got:
**ERROR: insufficient memory: 10821600 words were requested.
so I put :
set MEMORY/SIZE=20.0
just before the ZAXREPLACE line and it works fine. What happens if you
did:
> Here is my script:
> use ocean_month_1985_01.nc
> repeat/l=1:12 (let sigma=rho_un(salt,temp,0)-1000;\
> define axis/z=18:28:0.5 axden;\
set MEMORY/SIZE=100.0
> let saltonsigma=ZAXREPLACE(salt, sigma, z[gz=axden]);\
> fill/y=35s:50n/x=120e:85w/z=24.5 saltonsigma;)
Good luck,
Steve
______________________________________________________________________
Steve Cousins, Ocean Modeling Group Email: cousins@umit.maine.edu
Marine Sciences, 208 Libby Hall http://rocky.umeoce.maine.edu
Univ. of Maine, Orono, ME 04469 Phone: (207) 581-4302
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement