I was able to figure this out on my own. First, to eliminate the masked arrays, I used a combination of the where and compress functions to remove any missing data from my 1-D arrays. Then, I used the griddata function as described above. This did the trick.