Re: opac polygon around a data field (rotated grid)

From: Rick Brownrigg <brownrig_at_nyahnyahspammersnyahnyah>
Date: Mon Jul 23 2012 - 09:57:08 MDT

Hi Karin,

I take it the lines of the polygon are along constant lines of lat/lon? One thing that comes to mind is to programmatically generate samples at intermediate points along the lines of lat/lon, to approximate the curved lines. I haven't tried this (I don't have your dataset handy), but it should work.

Hope that helps…
Rick

On Jul 23, 2012, at 8:11 AM, Karin Meier-Fleischer wrote:

> Hi,
>
> unfortunately, I have problems drawing an opac polygon on a the orography data field (on a rotated grid).
> It was not a problem to plot the map and the contour lines of the orography, but the polygon always
> has straight edges instead curved ones.
>
> I want to display different regions with different grid resolutions in one picture to have a nice overview
> of the different domains. I append the script and a small plot.
>
> Any help would be appreciated.
>
> Thanks,
> Karin
> --
> Karin Meier-Fleischer
>
> Department Data Management
> Deutsches Klimarechenzentrum GmbH
> Bundesstrasse 45a
> D-20146 Hamburg, Germany
> email: meier-fleischer@dkrz.de
> phone: +49 40 41173 288
> fax: +49 40 41173 476
> http://www.dkrz.de/
> <plot_rotated_HSURF_EUR-11_model_region_with_box.ksh><plot_HSURF_EUR-11_box_800_616.png>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jul 23 09:57:16 2012

This archive was generated by hypermail 2.1.8 : Tue Jul 24 2012 - 09:48:26 MDT