[ncl-talk] Issue with ploting of irregular txt/nc file

Amit Kumar amitkumar.777 at hotmail.com
Thu Sep 8 21:54:35 MDT 2016


Hi All,

The text file is attached here along with script. Please suggest what to do next.

Regards
Amit


________________________________
From: Guido Cioni <guidocioni at gmail.com>
Sent: Wednesday, September 7, 2016 6:16:54 PM
To: Amit Kumar
Cc: ncl-talk at ucar.edu
Subject: Re: [ncl-talk] Issue with ploting of irregular txt/nc file

Post the text file that you are using here, if is not too big. Otherwise use the FTP and I will take a look

http://www.ncl.ucar.edu/report_bug.shtml

Guido Cioni
http://guidocioni.altervista.org

On 07 Sep 2016, at 12:34, Amit Kumar <amitkumar.777 at hotmail.com<mailto:amitkumar.777 at hotmail.com>> wrote:

Hi All,

I performed the test, and i've triangle package inbuilt in ncl & I'm using NCAR Command Language Version 6.3.0.

$nm /usr/share/ncarg/bin/ncl | grep triangle


09609c95 t _cairo_traps_tessellate_triangle
096a6696 t convert_triangles
0a0aac00 D icostriangles
09508dbf t isea_triangle_xy
087d14e2 T maketriangle
096a67ae T pixman_add_triangles
096a6723 T pixman_composite_triangles
087cff93 T printtriangle
087ed848 T splittriangle
087df1f9 T testtriangle
087d1118 T triangledealloc
087d1406 T triangledeinit
087de152 T triangleinit
096a64b3 t triangle_to_trapezoids
087d115a T triangletraverse

Any other suggestions.

Regards
Amit
________________________________
From: Guido Cioni <guidocioni at gmail.com<mailto:guidocioni at gmail.com>>
Sent: Wednesday, September 7, 2016 3:26:02 PM
To: Amit Kumar
Cc: ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>
Subject: Re: [ncl-talk] Issue with ploting of irregular txt/nc file

Amit did you read the discussion that I posted yesterday?

http://mailman.ucar.edu/pipermail/ncl-talk/2015-November/004454.html

It appears that you have a version of NCL built without the Triangle package. Follow the instructions on that link to troubleshoot this problem. You have to exclude any other reason before trying to fix the NCL script itself.


Guido Cioni
http://guidocioni.altervista.org<http://guidocioni.altervista.org/>

On 07 Sep 2016, at 11:29, Amit Kumar <amitkumar.777 at hotmail.com<mailto:amitkumar.777 at hotmail.com>> wrote:


Hi All,

After commenting those lines also I'm getting those errors:


fatal:Cannot create triangular mesh: supply additional resources or build with Triangle package
fatal:ContourPlotDraw: draw error
fatal:ContourPlotDraw: draw error
fatal:ContourPlotDraw: draw error
fatal:PlotManagerDraw: error in plot draw
fatal:_NhlPlotManagerDraw: Draw error


Please suggest what to do now. I'm attaching my data (text file) along with this which will be available after being evaluated by moderator.

Regards
Amit

________________________________

From: Guido Cioni <guidocioni at gmail.com<mailto:guidocioni at gmail.com>>
Sent: Tuesday, September 6, 2016 6:42:14 PM
To: Amit Kumar
Cc: ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>
Subject: Re: [ncl-talk] Issue with ploting of irregular txt/nc file

Before adding particular resources try with the minimum number needed to plot. I would suggest you to comment the following lines and try again:

  res at trGridType = "TriangularMesh"
  res at cnRasterSmoothingOn = False
  res at mpOutlineOn   = True

Guido Cioni
http://guidocioni.altervista.org<http://guidocioni.altervista.org/>

On 06 Sep 2016, at 14:25, Amit Kumar <amitkumar.777 at hotmail.com<mailto:amitkumar.777 at hotmail.com>> wrote:

  res at trGridType = "TriangularMesh"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160909/943b657f/attachment-0001.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tir1.txt
Url: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160909/943b657f/attachment-0001.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ir1_ascii.ncl
Type: application/octet-stream
Size: 1823 bytes
Desc: ir1_ascii.ncl
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160909/943b657f/attachment-0001.obj 


More information about the ncl-talk mailing list