[ncl-talk] error using calculate_monthly_values
Alan Brammer
abrammer at albany.edu
Fri Sep 11 08:51:25 MDT 2015
TIME != time
NCL like most languages is case sensitive.
If you looked at the line the error tells you about in the contributed
file. You'll see
utc_date = cd_calendar(x&time, 0)
Your variable has TIME not time. This is the reason for the error. As
expressed in the error message.
Just rename the coordinate and you should be set.
sf = c->SF(:,:,:)
sf!0 = "time"
printVarSummary(sf)
Gd luck,
Alan.
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150911/1b8c5a25/attachment.html
More information about the ncl-talk
mailing list