[ncl-talk] Plotting station data as contour
MeteoBB
info at meteo-bb.de
Tue Feb 5 11:52:37 MST 2019
Thx Rick for your quick response.
Playing a little bit with the smooth-Parameter of the cn-resources
yields the plot attached.
*res at cnSmoothingOn = True**
**res at cnSmoothingDistanceF = 0.005 ;(usw 0.005 ... 0.03)*
An area left is getting colored. (there is no station!)
This is risky i think, if I set the parameter (hardcoded). I never know
what the graphics will look like.
Do you think i should try interpolate the station data from my
unstructured grid to a rectilinear grid using *natgrid*?
MeteoBB
Am 05.02.2019 um 19:04 schrieb Rick Brownrigg:
> You might take a look at the several resources associated with
> "*cnSmoothingOn"
> *
>
> HTH...Rick
> **
>
> On Tue, Feb 5, 2019 at 10:22 AM MeteoBB <info at meteo-bb.de
> <mailto:info at meteo-bb.de>> wrote:
>
> Hello,
>
> I tried to plot station data of surface temperature on a map as a
> contour plot. I'm not satisfied with the result (see attached
> picture AreaFill.png).
> It all seems so angular. My grid is not regular because of the
> station data.
>
> Switching from AreaFill to RasterFill results in a litte better
> plot (smooth contours) as you can see in the picture attached
> (RasterFill.png).
> *res at cnFillMode = "AreaFill"
> res at cnFillMode = "RasterFill"*
>
> I tried to regrid the triangular mesh (unstructured) station data
> to a structured grid using *natgrid*?
> But it fails ...
>
> Do you have any ideas for a better plot? Or what is the correct
> way to plot such station data as contour?
>
> Regards
> MeteoBB
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu <mailto:ncl-talk at ucar.edu>
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190205/04940dd5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smooth.png
Type: image/png
Size: 28778 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190205/04940dd5/attachment.png>
More information about the ncl-talk
mailing list