[ncl-talk] Error: Input must have at least three input vertices

G.Monte at isac.cnr.it G.Monte at isac.cnr.it
Fri Jul 5 06:05:02 MDT 2019


I've just solved my problem by processing my data into another way. Now
there are no large gaps between data points, so my script can work
properly. I think it was the distance between some points that prevented
NCL from contouring them on the map.

Thanks again.
Giulio

> Also please show the single line in your program that generates this
> error.  I am looking for the name of the NCL function that produces the
> error.  Also please show the full text of the error messages produced, if
> there is more than a single message.
>
> I do not like to speculate without enough information.  However in this
> case, my guess is that you are using one of the NCL polygon drawing
> functions, and passing fewer than three data points to that function.  Or
> possibly it is one of the great circle (gc_) functions which needs enough
> points to compute valid spherical polygons.
>
>
> On Thu, Jul 4, 2019 at 9:11 AM Barry Lynn via ncl-talk <ncl-talk at ucar.edu>
> wrote:
>
>> Guilo:
>>
>> The last message I found about this on the web was from 2012.  So, this
>> isn't a typical error, and I believe that you need to define your data
>> better for those who can help.
>>
>> You could start by providing a PrintVarSummary of data in your file.
>>
>> Barry
>>
>> On Thu, Jul 4, 2019 at 5:04 PM G.Monte--- via ncl-talk
>> <ncl-talk at ucar.edu>
>> wrote:
>>
>>> Dears all,
>>> I have an issue with the plots of some ascii data on a contouring map.
>>> I
>>> often get the message:
>>>
>>> Error:  Input must have at least three input vertices.
>>>
>>> Generally, what does this error message mean?
>>>
>>> Thank you.
>>> Giulio
>>
>>
>




More information about the ncl-talk mailing list