NOAA-ORR-ERD / gridded

A single API for accessing / working with gridded model results on multiple grid types
https://noaa-orr-erd.github.io/gridded/index.html
The Unlicense
64 stars 14 forks source link

Grid_X.locate_faces Inconsistent API #36

Open jay-hennen opened 5 years ago

jay-hennen commented 5 years ago

Getting a fully masked array for your indices happens when you are using a Grid_S and when all your points are discovered to be off-grid. This is an inconsistent bit of API. Grid_U and Grid_R do not return a masked array for the same locate_faces function.