Dear NCL Users,
Is anyone helping me to handle the problem given below? it will be great help.
Regards,
kalim
*********
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"
begin
f = addfile("precip.1999.nc","r")
z = short2flt(f->precip(120:124,:,:)) ; JUN(1-5)
printVarSummary(z)
zAvgTime = dim_avg_Wrap( z(lat|:, lon|:, time|:) )
************
fatal:Either file (f) isn't defined or variable (precip) is not a variable in the file
fatal:Execute: Error occurred at or near line 8 in file rai.ncl
************
ncdump -h precip.1999.nc
netcdf precip.1999 {
dimensions:
longitude = 144 ;
latitude = 73 ;
time = UNLIMITED ; // (365 currently)
variables:
float longitude(longitude) ;
longitude:units = "degrees_east" ;
longitude:long_name = "longitude" ;
float latitude(latitude) ;
latitude:units = "degrees_north" ;
latitude:long_name = "latitude" ;
int time(time) ;
time:units = "hours since 1900-01-01 00:00:0.0" ;
time:long_name = "time" ;
short lsp(time, latitude, longitude) ;
lsp:scale_factor = 1.08310695038839e-06 ;
lsp:add_offset = 0.0354879992294753 ;
lsp:_FillValue = -32767s ;
lsp:missing_value = -32767s ;
lsp:units = "m" ;
lsp:long_name = "Stratiform precipitation (Large-scale precipitation)" ;
// global attributes:
:Conventions = "CF-1.0" ;
:history = "2009-12-08 09:24:49 GMT by mars2netcdf-0.92" ;
}
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Dec 8 07:24:19 2009
This archive was generated by hypermail 2.1.8 : Thu Dec 10 2009 - 11:30:59 MST