|
From: Eric F. <ef...@ha...> - 2014-01-29 17:17:53
|
On 2014/01/28 11:40 PM, Ian Thomas wrote: > On 29 January 2014 03:21, Eric Firing <ef...@ha... > <mailto:ef...@ha...>> wrote: > > On 2014/01/28 10:01 AM, A Short wrote: > > Hi - Ive now improved my code and confirmed the use of the right > grib file > > but i cant for the life of me figure out the missing data near the > > coastline..? Could anyone help? > > The present contouring algorithm works with rectangular blocks, and if > any corner has missing data, nothing is filled for that block. > > > This will improve shortly, cutting off the corners of some of those > empty blocks. I am currently testing the new algorithm for this prior to > submitting it for others' approval. Ian, I'm glad to hear that! One possibility would be to use a temporary rcParam (temporary in that it might be phased out after a couple releases) to allow switching between the two algorithms. This would make it much easier to test, and it would also allow a transition during which people could reproduce results obtained with earlier mpl. It would also be a safety measure, in case someone hits a corner case which the new algorithm doesn't handle but the old one does--not that I'm expecting such cases to arise. Eric > > Ian |