Re: interpolate data from observation stations to regular grid box

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu, 29 Dec 2005 18:09:03 -0700 (MST)

> I would like to interpolate some data from observation stations to regular
> grid box(2x2) and then plot it as contour lines. I found a function called
> "cssgrid" to do interpolation. But for those grid boxes which have no data
> nearby, I rather have missing value other than doing interpolation (It gave
> me very unreasonable data). Is there any way to put distance restriction for
> interpolation? Or NCL provides other functions which can do this?
>
> Attached is a plot with polymarkers on observation stations.

Try "triple2grid"

http://www.ncl.ucar.edu/Document/Functions/Built-in/triple2grid.shtml

example:

    opt = True
    opt_at_domain = 2.0
   ;opt_at_strict = True
    grid = triple2grid(xlon,ylat,zVal, lon,lat, opt)

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Dec 29 2005 - 18:09:03 MST

This archive was generated by hypermail 2.2.0 : Sat Dec 31 2005 - 15:17:46 MST