NCPP / ocgis

OpenClimateGIS is a set of geoprocessing and calculation tools for CF-compliant climate datasets.
Other
70 stars 19 forks source link

Handle IDL subsets more smoothly #427

Closed bekozi closed 7 years ago

bekozi commented 8 years ago

Subsets such as [160, -20, -20, 20] must be split into multi-polygons for the subset to work correctly. This is cause by ocgis reducing everything to geometry objects before subsetting. This special case for wrapped coordinate systems should be handled explicitly by the grid subset.

Ping @nilshempelmann, @anafibastos.

bekozi commented 8 years ago

Example, workaround code available here: https://gist.github.com/bekozi/7a1c082f1ce5483a362534b0120e4571.

bekozi commented 7 years ago

I think this is working...closing.