[ncl-talk] Blank graphics in ncl

Zilore Mumba zmumba at gmail.com
Tue Apr 4 23:36:41 MDT 2023


Rick,
I have attached to this mail, 1) the script which produces the graphics, 2)
the two png's by the same script but on different platforms and 3) the
.hluresfile which is on both machines. In the attached .hluresfile I have
removed the dot at the beginning of the file name, but the dot is there in
the running copy.
Thanks for your time.

On Tue, Apr 4, 2023 at 11:43 PM Rick Brownrigg <brownrig at ucar.edu> wrote:

> Zilore, is that wrf file too big to send via email?
>
>
>
> On Tue, Apr 4, 2023 at 3:11 PM Zilore Mumba <zmumba at gmail.com> wrote:
>
>> Rick,
>> The scripts are exactly the same except the data path. The same
>> .hluresfile is used for both scripts. There is no error message, but on
>> other scripts I get the error that the values are out of the range
>> specified by ExplcitLevels. I attach the script and the .hluresfile which
>> is the same as the on the link you gave
>>
>> On Tue, Apr 4, 2023 at 10:12 PM Rick Brownrigg <brownrig at ucar.edu> wrote:
>>
>>> Hi Zilore,
>>>
>>> As an aside -- the colorbars in the two plots appear to be different.
>>> Does this script in question explicitly specify a colormap, or is it just
>>> using the default?
>>>
>>> Is the .hluresfile on your 18.04 system substantially different from the
>>> one on the 20.04 system?  Is there even such a file on the new 20.04
>>> system?  Perhaps copy the one from 18.04 over to your new system?  No error
>>> messages from NCL about "can't find colormaps"?
>>>
>>> A sort of default .hluresfile can be found here; there's nothing in it
>>> that would account for the plot you are seeing:
>>>
>>> https://www.ncl.ucar.edu/Document/Graphics/hlures.shtml
>>>
>>> Rick
>>>
>>>
>>> On Tue, Apr 4, 2023 at 1:30 PM Zilore Mumba via ncl-talk <
>>> ncl-talk at mailman.ucar.edu> wrote:
>>>
>>>> Hello NCL users,
>>>> I have a peculiar problem which I have no clue where it might come
>>>> from. On my ubuntu 18.04 where I have run ncl for years, the graphics are
>>>> fine as shown in the attached image TTIMap2.png. On a newly installed
>>>> ubuntu 20.04 the very same script which produces TTIMap2.png produces
>>>> TTIMap.png which instead of shading produces contours. Other scripts
>>>> produce completely blank graphics on ubuntu-20.04 platform, whileas the the
>>>> graphics from the same script on ubuntu18 platform are just fine.
>>>> My only guess is that perhaps tinkering with the .hluresfile may
>>>> resolve my problem. However I have never worked with the .hluresfile.
>>>> I wii appreciate help on this.
>>>> _______________________________________________
>>>> ncl-talk mailing list
>>>> ncl-talk at mailman.ucar.edu
>>>> List instructions, subscriber options, unsubscribe:
>>>> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20230405/4702db66/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TotalTotals.ncl
Type: application/octet-stream
Size: 6401 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20230405/4702db66/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TTIMap.png
Type: image/png
Size: 80320 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20230405/4702db66/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TTIMap2.png
Type: image/png
Size: 70337 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20230405/4702db66/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hluresfile
Type: application/octet-stream
Size: 1668 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20230405/4702db66/attachment-0001.obj>


More information about the ncl-talk mailing list