RE: [ncl-talk] missing data - interpolation

From: Debasish Pai Mazumder <debasish_at_nyahnyahspammersnyahnyah>
Date: Thu, 30 Oct 2008 15:50:12 -0800

Dear Micah

 

To interpolate the missing data, you can use the function "linmsg" or
"poisson_grid_fill"

Please check the webpage

 

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

 

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

 

http://www.ncl.ucar.edu/Document/Functions/Images/poisson_grid_fill.png

 

Thanks

 

Debasish

 

 

  _____

From: ncl-talk-bounces_at_ucar.edu [mailto:ncl-talk-bounces_at_ucar.edu] On Behalf
Of Micah Sklut
Sent: Thursday, October 30, 2008 2:40 PM
To: NCL_Talk
Subject: missing data - interpolation

 

Hi All,

I am working with ocean data, and when I use the cnFillMode=AreaFill for my
contour maps, I get a jagged boxed coastline around the coastlines, due to
the missing data.
When, I use cnFillMode=RasterFill, then the grids match up to the coastline
pretty well, but I would much rather have smooth contour lines with the
AreaFill.

The AreaFill jagged looking data around the coastline is not too
aesthetically pleasing, so I was wondering if you have thoughts about
working around this.

In the past I created my own interpolation function, but this required me to
manually hand pick out the missing data grids I wanted to interpolate so
that the contours would go all the way past the coastline. This is very time
consuming! The map draw is PostFill so it will cover up any data underneath
the land.

Is it possible to just be able to interpolate all the missing data?

Or, what if we could use AreaFill, but then RasterFill for areas that are
surrounded by missing dat?

Please let me know if you have any ideas.

Thanks!

Micah

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Oct 30 2008 - 17:50:12 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 31 2008 - 15:58:35 MDT