Hello all,
I am trying to compute monthly anomalies for the CRU data(~2.5GB) using NCL version 6.1.0. I am using NCL installed through cygwin. However, I get the error
"fatal:NclMalloc Failed: [errno=12]
fatal: Error allocating -90600955556656555 bytes to read variable ..."
I realize this is the NCL memory limit error but I do need to work on the entire dataset. Is there any workaround this issue?
Regards,
Prajjwal
Code snippet
-----------------------------------------------------------------------------------------
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl"
;*********************************************************************
; Read in input NetCDF files
;*********************************************************************
dir2 = "C:/Data/Documents/IBIS/reanalysis_data/cru/"
file2 = "cru_pre.nc"
cru_prec = addfile(dir2+file2,"r")
setfileoption("nc","SuppressClose",False)
cru_mon = cru_prec->pre(:,:,:)
printVarSummary(cru_mon)
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Dec 20 09:14:28 2012
This archive was generated by hypermail 2.1.8 : Fri Dec 21 2012 - 10:43:23 MST