Re: filled spherical polygon problem

From: Li Dong <dongli_at_nyahnyahspammersnyahnyah>
Date: Thu Mar 24 2011 - 19:03:49 MDT

Dear Mary,

Thanks a lot! The order of the vertices of each polygon is counter-clockwise. And the range of the longitude is 0-360.

Best regards,

Li Dong

On Mar 25, 2011, at 4:57 AM, Mary Haley wrote:

> Hi Li,
>
> I'm looking into this. There's something odd about the ordering of the points that causes the problem in some cases and not others.
>
> In some situtations, the problem is due to big jumps in your longitude values, which can be solved by subtracting from 360.
>
> --Mary
>
> On Mar 24, 2011, at 3:43 AM, Li Dong wrote:
>
>> Dear all,
>>
>> I want to plot many spherical polygons filled with color that cover the whole sphere, but NCL fills some polygons wrongly, that is the entire map has been filled except the polygons. I have asked this question some time ago:
>>
>> http://www.ncl.ucar.edu/Support/talk_archives/2010/2644.html
>>
>> But the problem still exists. The attachment contains the scripts and data. Can anyone solve this problem? Thanks a lot!
>>
>> Best regards,
>>
>> Li Dong
>>
>> <ncl_polygon_problem.tar.gz>_______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
Received on Thu Mar 24 19:03:57 2011

This archive was generated by hypermail 2.1.8 : Mon Mar 28 2011 - 08:51:50 MDT