fatal:NclMalloc Failed:[errno=12] ... assertion "value !=NULL"

From: Andrew Tredennick <atredenn_at_nyahnyahspammersnyahnyah>
Date: Thu, 9 Jul 2009 21:02:36 -0600

Hello all,

I am trying to write a netCDF file to an ascii file with the code below:

f=addfile("C:\Shoshone_Climate_Study\MC1_800m\SNF_MC1_800m_RAWDATA
\Historical_Climate\tmp.nc","r")
x=f->tmp(:,:)
asciiwrite("c:\Shoshone_Climate_Study\mc1domain_historical_tmp",x)

In the netCDF file, tmp attributes are as follows: tmp (grid,
month). This same exact code has worked for other (even larger)
netCDF files; and it works if I do 'x=f->tmp(1:2,1:2)' to get 4 data
points. However, when trying to get all data points via ':,:' I am
getting the following error message followed by a termination of my
code:

fatal:NclMalloc Failed:[errno=12]
assertion "value !=NULL" failed: file "putget.c", line 3009
Aborted (core dumped)

It seems other people have received a similar error message, but with
'Segment Fault', which I am not getting here. Any help would be much
appreciated. Thanks in advance.

Cheers,

Andrew

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jul 09 2009 - 21:02:36 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 13 2009 - 20:56:19 MDT