Hi,
I used the following commands to extract a given period of the '
olr.day.mean.nc' file and write it out as a new NetCDF file
fi = addfile("olr.day.mean.nc","r")
fo = addfile("test.nc","c")
fo->testolr=fi->olr(200:400,:,:)
Even when the new file (test.nc) can be open with grads and with ncl as
well. When I used this new file as input of the
wkSpaceTime_cam() appears:
fatal: Assignment type mismatch, right hand side can't be coerced to type of
left hand side.
fatal:Execute:Error ocurred at or near line 626 in file
$NCARG_ROOT/lib/mcarg/nclscripts/csm/diagnostics_cam.ncl
fatal:Execute:Error ocurred at or near line 1459 in file
$NCARG_ROOT/lib/mcarg/nclscripts/csm/diagnostics_cam.ncl
When I do
print(fo->testolr&time)
the only thing that draw my attention is that the numbers in the
actual_range : (HERE,HERE)
continues to be the same as the olr.day.mean.nc
Does any body has an idea to solve this problem?
Enver
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jun 21 13:19:24 2010
This archive was generated by hypermail 2.1.8 : Thu Jun 24 2010 - 14:10:27 MDT