[ncl-talk] SST plot showing a blank map on Ubuntu machine
Mary Haley
haley at ucar.edu
Wed Aug 15 09:36:59 MDT 2018
Hello Tan,
Did you ever get this resolved?
As Rick pointed out, the two different plots are using different contour
levels. I just downloaded the data and tried your script using the
30,35,40,45 contour levels, and got the attached plot, so that seems to be
working. I added the version of NCL as a title (using get_ncl_version) so
you could see I was using 6.4.0.
If you are having trouble on another machine, it could simply be an
environment issue. Also, as Rick said, you shouldn't be getting a SEGV.
When I run your script without the HighRes database, I just get the error:
fatal:MapRGDHDrawMapList: MDRGSF/MDRGOF - ERROR OPENING RANGS/GSHHS CAT FILE
fatal:PlotManagerDraw: error in plot draw
fatal:_NhlPlotManagerDraw: Draw error
If you are still having problems with this, then can you get on the system
that has the problem, and type the following commands on the UNIX command
line and email them back to ncl-talk:
env | grep NCARG
which ncl
ncl -V
ncargpath rangs
Thanks,
--Mary
On Wed, Aug 8, 2018 at 9:08 PM, Rick Brownrigg <brownrig at ucar.edu> wrote:
> Hi Tan,
>
> I don't know offhand what the issue is. Can you reproduce the exact same
> plot on your linux machine as the one produced on your Mac, ie., the first
> plot, without introducing *any* changes in color scale?
>
> I ask, because looking at the span of values between the first and seconds
> plots, virtually none of the values in the first plot would show up in the
> second (although I'd expect at least a small amount of color in the 30-35
> range).
>
> The RANGS issue would seem to be a different matter -- a SEGV is never
> good. Perhaps we can talk about this one offline if its important to you.
>
> Rick
>
> On Wed, Aug 8, 2018 at 8:37 PM, Tan Huiyin <tanhuiyin21 at gmail.com> wrote:
>
>> Hi all,
>>
>> I have a problem with generating a simple SST plot (the data is available
>> online at the NASA’s ocean color website and mentioned in the script but I
>> think it is not due to any particular dataset). I attach the script below.
>>
>> I can run the script on my Mac (Darwin Y Darwin Kernel Version 17.7.0:
>> Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64
>> x86_64NCL version 6.4.0) and got the following plot (first plot). But when
>> using the same script (after changing the directories of course) on my
>> Linux machine (Linux 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52
>> UTC 2018 x86_64 x86_64 x86_64 GNU/Linux; NCL version 6.4.0), I just get
>> this next plot (second plot). If I enable “cnLinesOn” then I do get to see
>> the contour lines.
>>
>> In the Linux machine, I did change the color scale setting but I don’t
>> think it causes the plot to become blank and I have used multiple color
>> scale values. There was also no error so I cannot figure out what is wrong.
>>
>> Another detail (might be unrelated) is that I cannot use the HiRes map
>> (rangs) on the Linux machine due to the error “segmented fault (core
>> dumped)” and so I disabled it.
>>
>> I have been working on it for so many hours and can’t solve it because
>> there was just no warning or error messages to point me to the right
>> direction. Please assist and thanks in advance for the help!
>>
>>
>>
>>
>>
>>
>>
>> Regards
>> Tan Hui Yin
>> 3rd Year Environmental Technology Student,
>> School of Industrial Technology,
>> Universiti Sains Malaysia.
>>
>>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> 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/20180815/411f25c2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sst_2.png
Type: image/png
Size: 85149 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180815/411f25c2/attachment.png>
More information about the ncl-talk
mailing list