Re: Bug in skewt_func.ncl

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu Jun 16 2011 - 14:05:59 MDT

THX ... this will be fixed in the next release.

On 06/16/2011 01:47 PM, Huber, David wrote:
> Hello,
> I am running NCL 5.2.0, and I'm not certain whether this issue has been fixed in later issues of NCL, but I haven't seen any information in the bug fix sections of the 5.2.1 or 6.0.0 release information. When attempting to show the CAPE parcel line, I noticed that no matter what value I assigned to dataOpts@linePatternCape, the dash pattern remains the same (1). Upon investigation of the code for skewt_func.ncl, I found the if...then block responsible for assigning the dash pattern [note, this is V6.0.0 code, lines 833-835 (identical to lines 1910-1912)]:
> if (isatt(localOpts,"gsLineDashPatternCape")) then
> gsOpts@gsLineDashPattern = localOpts@linePatternCape
> end if
> By changing the if statement to read
> if (isatt(localOpts, "linePatternCape")) then
> the issue is resolved. I suppose the other possibility to fixing this issue would be to update the documentation on the website to reflect that the proper dataOpts attribute would be gsLineDashPatternCape. HTH if anyone else has run into this issue.
> -Dave
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Thu Jun 16 14:06:08 2011

This archive was generated by hypermail 2.1.8 : Mon Jun 20 2011 - 12:30:20 MDT