[gradsusr] Basemap with polar projection in circle frame
Jennifer M Adams
jadams21 at gmu.edu
Tue Sep 11 06:42:18 EDT 2018
Yeah, when I was creating the polygons for the basemap script ~18 years ago, I was unaware of the consequences if some of them crossed latitude circles. The polygons that extend outside your specified domain don’t get clipped because of the circular frame — clipping only works with the square frame. —Jennifer
> On Sep 11, 2018, at 5:45 AM, David Nielsen <davidnielsen at id.uff.br> wrote:
>
> Dear Grads users,
>
> I am trying to use a north polar stereographic projection with basemap to cover land areas in Grads.
>
> Using the combination of set lat/lon and mproj suggested in basemap's script, I get a nice map framed with a square:
>
> 'set lat 0 90'
> 'set lon -180 180'
> 'set mproj nps'
> 'set mpvals -180 180 50 90'
> ...
> 'set rgb 88 200 200 200'
> 'basemap L 88 1 L'
>
> <image.png>
>
> No problem there. Now, I would like to get rid of the corners of the square, setting the minumin latitude to 50 and using the "set frame" command, aiming to get a circle-shaped figure:
>
> 'set lat 50 90'
> 'set lon -180 180'
> 'set mproj nps'
> 'set mpvals -180 180 50 90'
> 'set frame circle'
> ...
> 'set rgb 88 200 200 200'
> 'basemap L 88 1 L'
>
> But then I get some pieces of land streching out of the circle:
>
> <image.png>
>
> Trying other mpdset and basemap resolutions doesn't solve the problem.
>
> It can get even more messy with different map domains:
>
> <image.png>
>
>
> Has someone run into this or found a solution to this bug?
>
> Many thanks in advance,
> David
>
>
>
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://secure-web.cisco.com/1jNQoSyezhFn6t607v0SApVzZHKVbZ0F87j1vUGFCPHk3wArpvjOOi5Ud5OJvJh8xzbPwINhcOsQcyGOsSk79Z2lD3omc3riAa-eq1t1tnNZcsn0zR9BNcp_0nNPyFZw6ToaokNseYnyu8PF9d58TzRFWKUyfCDvGLBwX09yCvWYC0KM5C-eWkLlGHqJswhwbp2htcwrN4g721s2xEnu2BIPJN_JDq33-6_Vkmtfb4DUdc5riXkMNtazcq1AKOB-axKTpu4KjmefPVpWF3f1KWnowSMTCY_kcu-F4zpdKF3IVn3V1ywarttH-xxm8vtL-2FWUXLXVanL4Ap1nV4QQkxh7p8YBh7Xb8RC-sZzh2uR89EGUQHFPQj4Fk6WmMA4oCo3jhldfFGP471xQ79SFDDxXTrykj5TWdSsPjIFaM7TUIWIk2QuQ8MGDAg0DxNAd/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr
--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University
More information about the gradsusr
mailing list