[ncl-talk] problem with ShadeGeLeContour
Mary Haley
haley at ucar.edu
Tue Aug 19 11:36:30 MDT 2014
Debasish,
Please respond back to ncl-talk with follow-up responses, if possible.
When you get an error like this, I need to see some code, or better, get
your full script and the data so I can run the problem here. It also helps
us to know which version of NCL you are using.
You can use our ftp to upload files if necessary:
http://ncl.ucar.edu/report_bug.shtml#HowToFTP
--Mary
On Mon, Aug 18, 2014 at 10:42 PM, debasish mazumder <debasish at ucar.edu>
wrote:
> Hi Mary,
> Thanks for your response. I have tried gsn_contour_shade but I am getting
> following error message
>
> fatal:Subscript out of range, error in subscript #0
> fatal:An error occurred reading ii
> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 12388 in
> file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
>
> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 337 in
> file tas_max_WRFG-CFSR_1995-1999_new.ncl
>
> with regards
> -Debasish
>
>
>
> On 8/17/14 10:35 PM, Mary Haley wrote:
>
> First, ShadeGeLeContour is deprecated, and you should be using
> gsn_contour_shade instead.
>
> When you use these routines, you need to be careful that the shading
> values you choose are in-line with the original contour levels.
>
> See:
>
>
> http://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_contour_shade.shtml
>
> See example "coneff_13.ncl" at:
>
> http://www.ncl.ucar.edu/Applications/coneff.shtml#ex13
>
> --Mary
>
>
>
> On Fri, Aug 15, 2014 at 1:09 PM, debasish mazumder <debasish at ucar.edu>
> wrote:
>
>> Hi All,
>> I am trying to use "ShadeGeLeContour" to shade the values between -0.5
>> and 0.5.
>> plot2 = ShadeGeLeContour(plot2,-0.5,0.5 , 11)
>> but it shades all the negative value instead of the values between -0.5
>> and 0.5.
>>
>> with regards
>> -Deb
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140819/94cc9f36/attachment.html
More information about the ncl-talk
mailing list