I've managed to uncover a bug in function fix_zero_contour in gsn_code.ncl, version 5.0.0. In a case where there are missing contour levels, the difference between contour levels can be undefined, causing an if test to fail. I fixed this by adding the following after line 1096:
if (ismissing(delta_levels)) then
return(levels)
end if
Richard Carpenter
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu May 15 2008 - 10:55:05 MDT
This archive was generated by hypermail 2.2.0 : Mon May 19 2008 - 08:42:48 MDT