Hi,
I am trying to write an netCDF file as follows:
ncdf = addfile(all_files(nf)+"_00.nc" ,"c") ; open output
netCDF file
filedimdef(ncdf,"time",-1,True)
; output variables directly
ncdf->RRATE = data1
Although it nicely writes the data when I do an "ncdump -h" to the netCDF file it shows o record:
dimensions:
time = UNLIMITED ; // (0 currently)
lat = 1649 ;
lon = 4948 ;
variables:
float RRATE(lat, lon) ;
RRATE:_FillValue = -1.f ;
I can plot from this file, but I want to average a couple of them using "ncea", and in such case it complains about the 0 record:
ncea: ERROR nco_lmt_sct_mk() reports record variable exists and is size
zero, i.e., has no records yet.
ncea: HINT: Perform record-oriented operations only after file has valid
records.
ncea: cnt < 0 in nco_lmt_sct_mk()
Can anybody help me?
Thanks,
Dorita
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Mar 22 2009 - 02:39:06 MDT
This archive was generated by hypermail 2.2.0 : Mon Mar 23 2009 - 12:30:31 MDT