dopa_workflow
In QGIS
erase (multiple) from LL grid (-180,180,-90,90) both land_geom and marine_geom
Multipart to singlepart
dissolve
The result is imported in PostGIS.