MPAS-Dev / MPAS-Tools

MPAS Tools Repository
Other
37 stars 63 forks source link

Small fix to python mask creation #456

Closed xylar closed 2 years ago

xylar commented 2 years ago

This fix avoids a deprecation warning from Shapely but explicitly getting the list of geometries in a MultiPolygon object with the .geoms property.

xylar commented 2 years ago

Testing

I have run the QU240 mesh in compass through the files_for_e3sm test case, which uses the python masking. With an mpas_tools package built from this branch, I no longer see the deprecation warnings that I was seeing in previous runs.