[Thread Prev][Thread Next][Index]

insufficient memory problems



Hello,
 
I'm having memory problems when I try to use Ferret 5.50 (win32) on a computer running Windows 2000.  When writing and listing the file c:\tmp\right_anom.cdf (see code below), I get the message "**ERROR:  insufficient memory:  12614400 words were requested."  I tried to increase the memory using SET MEMORY/SIZE, but the error still appears.  I also attempted to follow the instructions in the installation and update guide for increasing environment space, but the memory tab described in the guide does not exist in the properties gui that appears when I right click on the ferret icon.  Does anybody know why I might be getting this message, and how to rectify memory allocation problems in Windows 2000 version 5.0?  The computer I'm using has 392 mb of RAM.
 
Another problem I'm having relates to the coads_climatology data.  When I use these data in various tutorials and jnl files, I frequently get the message "aborted due to illegal limits" in reference to the time domain.  I know the commands I'm using should work because they are in the tutorials that come with the software.   
 
Any help would be greatly appreciated.  I'm pasting the code below.
 
CANCEL REGION/ALL
CANCEL VARIABLES/ALL
CANCEL DATA/ALL
CANCEL VIEWPORTS
 
set memory/size=28.2
 
def axis/x=1:96:1 lonin
def axis/y=1:73:1 latin
 
! Define the T axis for
define axis/t="15-jan-1950 12:00":"15-dec-2099 12:00":1/np=1800/units= month tax
 
! Define the GRID
define grid/x=lonin/y=latin/t=tax tstgrd
 
file/format="(8E13.6)"/ord=xyt/grid=tstgrd/var=tmaxk_inv/columns=96 C:\WorkSpace\Projects\China\e00&rawdata\dkrz\HADCM3_A2_tmax_1-1800nh.txt
 
save/clobber/file=c:\tmp\reverse.cdf tmaxk_inv
 
CANCEL REGION/ALL
CANCEL VARIABLES/ALL
CANCEL DATA/ALL
CANCEL VIEWPORTS
set memory/size=28.2
 
use/order=x-yt c:\tmp\reverse.cdf
 
! Assign real world coordinates to the new Y axis
def axis/edges/x=0:360:3.7/npoints=96/units=degrees_east long
def axis/y=-90:90:2.5/units=degrees_north lat
 
def grid/x=long/y=lat/t=tax gfer
let tmaxk=tmaxk_inv[g=gfer,gx=@asn,gy=@asn,gt=@asn]
 
let tmax = tmaxk - 273
set variable/title="TMAX" tmax
save/clobber/file=c:\tmp\right.cdf tmax
 
CANCEL REGION/ALL
CANCEL VARIABLES/ALL
CANCEL DATA/ALL
CANCEL VIEWPORTS
set memory/size=40.2
 
use/order=xyt c:\tmp\right.cdf
 
use climatological_axes
cancel data climatological_axes
 
let tmx = tmax[t=15-jan-1961:15-jan-1991]
 
let tmx_clim = tmx[gt=month_reg@mod]
 
let tmx_anomaly = tmax - tmx_clim[gt=tmax@asn]
 
save/clobber/rigid/heading=enhanced/file=c:\tmp\right_anom.cdf tmx_anomaly
 
CANCEL REGION/ALL
CANCEL VARIABLES/ALL
CANCEL DATA/ALL
CANCEL VIEWPORTS
 
set memory/size=20.0
 
use c:\tmp\right_anom.cdf
 
define axis/edges/x=180.00W:180.00E:3.75/modulo/units=degrees_longitude xax1
 
define grid/x=xax1/y=lat/t=tax1 newgrid
 
let tmx_r = tmx_anomaly[d=1,g=newgrid]
 
save/clobber/rigid/heading=enhanced/file=E:\Projects\ClimData\IPCC\CGCM1\cc01gs01stmx1-2400rgd.cdf tmx_r
Thanks, 

Jon Belak

GIS Specialist
Global Climate Change Initiative
The Nature Conservancy
2060 Broadway, Suite 230
Boulder, CO USA 80302

303-541-0324

http://nature.org 
 

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement