Re: Bug in gsn_code.ncl fix_zero_contour

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 15 May 2008 14:12:00 -0600 (MDT)

Thanks Richard, I'll make sure this makes it in the next release.

--Mary

On Thu, 15 May 2008, Richard Carpenter wrote:

> 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 - 14:12:00 MDT

This archive was generated by hypermail 2.2.0 : Mon May 19 2008 - 08:42:48 MDT