NclMalloc Failed

From: H.Dang <danghy_at_nyahnyahspammersnyahnyah>
Date: Tue Jan 18 2011 - 11:22:59 MST

Hi dear all,

I need to read 8 variables from one nc file. But the NCL shows the following
error:

fatal:NclMalloc Failed:[errno=12]
ncl: putget.c:3705: getNCvx_float_float: Assertion `value != ((void *)0)'
failed.
Aborted

The code works when less than 6 variables are read at the same time. My
trial code is simply like:

  1 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
  2 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
  3 begin
  4
  5 ;*******************************************
  6 ; open file and read in data
  7 ;*******************************************
  8 f1 = addfile ("brosto2/WT100ppb69hr/cctm_wt100.nc", "r")
  9 P_par = f1->PAR
 10 P_ole = f1->OLE
 11 P_eth = f1->ETH
 12 P_ald2 = f1->ALD2
 13 P_tol = f1->TOL
 14 ; P_xyl = f1->XYL
 15 ; P_isop = f1->ISOP
 16 ; P_form = f1->FORM
 17
 18 end

Could anybody please tell me how to fix this problem? Thank you!

-- 
Cordially,
Hongyan(鸿雁)
Tel: 1-519-8884567ext36667

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jan 18 11:23:28 2011

This archive was generated by hypermail 2.1.8 : Tue Jan 25 2011 - 14:22:15 MST