[ncl-talk] Plotting Reflectivity

Barry Lynn barry.h.lynn at gmail.com
Fri Jun 9 08:09:21 MDT 2017


Here is my example:

        res1 = res

        res1 at cnFillOn = True

;       res1 at ContourParameters = (/ 0., 60., 5. /)

        res1 at lbLabelBarOn = False       ; Turn off individual label bars so
we can

        res1 at cnLevelSelectionMode  = "ExplicitLevels"

        res1 at cnFillOn              = Trueres1 at cnFillMode            = "
RasterFill"     ; handles memory better, but can produce blocky contours


        res1 at cnLinesOn             = False

    res1 at cnLevels    = intervals



    res1 at cnFillColors = (/ 21,23,25,31,35,39,43,48,53,\

                           61,64,67,71,89,95,99,104,108,111,115,123,\

                           130,135,143,148,150,155,159,163,165,167,169,171/)

                         ; set the colors to be used

On Fri, Jun 9, 2017 at 5:08 PM, Barry Lynn <barry.h.lynn at gmail.com> wrote:

> Hi Forrest:
>
> As long as you are within the "res"of what you are trying to plot, it
> should solve your problem.
>
> (Or, at least it solved mine, when I had a similar message.)
>
> It is late in my neck of the woods, so I will have to leave it to someone
> else to comment.
>
> Have a nice weekend.
>
> Barry
>
> On Fri, Jun 9, 2017 at 4:46 PM, Black, Forrest (LARC-D318)[UNIVERSITIES
> SPACE RESEARCH ASSOCIATION] <forrest.black at nasa.gov> wrote:
>
>> Hi Barry,
>>
>>
>>
>> Do you mean “cnres at cnFilIMode”? I tried your suggestion, but I still
>> receive the same error about the maximum size being exceeded.
>>
>>
>>
>> Thanks,
>>
>>
>>
>> -        Forrest
>>
>>
>>
>> *From:* Barry Lynn [mailto:barry.h.lynn at gmail.com]
>> *Sent:* Friday, June 09, 2017 9:36 AM
>> *To:* Black, Forrest (LARC-D318)[UNIVERSITIES SPACE RESEARCH
>> ASSOCIATION] <forrest.black at nasa.gov>
>> *Cc:* ncl-talk at ucar.edu
>> *Subject:* Re: [ncl-talk] Plotting Reflectivity
>>
>>
>>
>> I think you can ignore the warnings.
>>
>>
>>
>> Try this, please.
>>
>>
>>
>>  res1 at cnFillMode            = "RasterFill"     ; handles memory better,
>> but can produce blocky contours
>>
>>
>>
>> On Fri, Jun 9, 2017 at 4:34 PM, Black, Forrest (LARC-D318)[UNIVERSITIES
>> SPACE RESEARCH ASSOCIATION] <forrest.black at nasa.gov> wrote:
>>
>> Hello all,
>>
>>
>>
>> I am using NCL version 6.3.0 and am having difficulty plotting a contour
>> map of reflectivity data. I receive the following errors when I run the
>> code.
>>
>>
>>
>> warning: Entry (250) not found in code table file
>> /usr/local/lib/ncarg/grib2_codetables/centers.table
>>
>> warning: Entry (15) not found in code table file
>> /usr/local/lib/ncarg/grib2_codetables/ncep/4/4.2.0.15.table
>>
>>
>>
>> fatal:ContourPlotDraw: Workspace reallocation would exceed maximum size
>> 100000000
>>
>> fatal:ContourPlotDraw: draw error
>>
>> fatal:ContourPlotDraw: draw error
>>
>> fatal:PlotManagerDraw: error in plot draw
>>
>> fatal:_NhlPlotManagerDraw: Draw error
>>
>>
>>
>> Attached is the script with the data file.
>>
>>
>>
>> Thank you for any suggestions.
>>
>>
>>
>> -        Forrest
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>>
>>
>>
>> --
>>
>> Barry H. Lynn, Ph.D
>>
>> Senior Lecturer,
>>
>> The Institute of the Earth Science,
>> The Hebrew University of Jerusalem,
>> Givat Ram, Jerusalem 91904, Israel
>>
>> Tel: 972 547 231 170
>> Fax: (972)-25662581
>>
>>
>>
>> C.E.O, Weather It Is, LTD
>> Weather and Climate Focus
>> http://weather-it-is.com
>> Jerusalem, Israel
>> Local: 02 930 9525
>> Cell: 054 7 231 170
>> Int-IS: x972 2 930 9525
>> US 914 432 3108 <(914)%20432-3108>
>>
>
>
>
> --
> Barry H. Lynn, Ph.D
> Senior Lecturer,
> The Institute of the Earth Science,
> The Hebrew University of Jerusalem,
> Givat Ram, Jerusalem 91904, Israel
> Tel: 972 547 231 170
> Fax: (972)-25662581
>
> C.E.O, Weather It Is, LTD
> Weather and Climate Focus
> http://weather-it-is.com
> Jerusalem, Israel
> Local: 02 930 9525
> Cell: 054 7 231 170
> Int-IS: x972 2 930 9525
> US 914 432 3108 <(914)%20432-3108>
>



-- 
Barry H. Lynn, Ph.D
Senior Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
US 914 432 3108
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170609/5f378255/attachment.html 


More information about the ncl-talk mailing list