[ncl-talk] issue when writing netCDF4
Laura Fowler
laura at ucar.edu
Fri Oct 27 14:02:00 MDT 2017
Hello:
I am not understanding why the content of a netCDF4 file remains
empty, but one in a while. I wrote an ncl script that reads an array
from a history file (in a cdf5 format), interpolates the data on
fixed pressure levels, and writes the interpolated data to a separate
netCDF4 file. It happens that my output netCDF4 file is empty (the
output data is all missing), but not all the times. I do print the max
value of the interpolated data before writing the data to the output
file, so that I know that the output data is not garbage. I am really
puzzled because sometimes it works and sometimes it does. It does not
matter if I run the script in a batch job or interactively.
The only error I got once is:
(0) itime = 22 max diag = 1 max diag_pFixed = 1
(0) itime = 23 max diag = 1 max diag_pFixed = 1
(0) max diag_pFixed = 1
(0) fname = qc_cu
fatal:NclMalloc Failed:[errno=12]
ncl: putget.c:6833: getNCvx_float_float: Assertion `value != ((void*)0)' failed.
Has anybody got this error message before? If interested, my script is in
/glade2/scratch2/laura/MPAS.PacificOcean/run.centeredPacificOceanMesh.15-3km.20151129-20151231/3Dfields/test/ncl
Thanks,
Laura
--
!-------------------------------------------------------------------------------------------------------------
Laura D. Fowler
Mesoscale and Microscale Meteorology Division (MMM)
National Center for Atmospheric Research
P.O. Box 3000, Boulder CO 80307-3000
e-mail: laura at ucar.edu
phone: 303-497-1628
!-------------------------------------------------------------------------------------------------------------
More information about the ncl-talk
mailing list