|
From: klo uo <kl...@gm...> - 2014-01-29 23:53:44
|
IMHO that's the most straightforward approach. He can use masked array for empty blocks (if contour data doesn't already contain the holes as masked array) and apply inpainting, then draw the land. For more details about inpainting: http://stackoverflow.com/a/17125125/992005 On Wed, Jan 29, 2014 at 6:22 PM, Eric Firing <ef...@ha...> wrote: > On 2014/01/29 5:41 AM, A Short wrote: >> Is there any work around so it looks like the below image? > > It looks like with any reasonable contouring algorithm, this would > require interpolating into land regions, contouring, and then plotting > the land on top. The key is the interpolation, not the plotting. The > example you show might have been interpolated to a finer grid > everywhere, not just in the missing value regions. |