masking ply file using grid
I have a coastline polygon file that I want to clip. I would like to clip all the values that are proximal to subduction zones.
My thinking was to create a subduction zone mask grid that contains NaN values at 300km around present day subduction zones and 1's everywhere else and use this to somehow clip my polygons. Is this a sensible approach? If so, can anyone help me. I have the ply file and the sz mask file, I just need help clipping the plys. I have attached a picture illustrating what I want to do.
Picture1.png - SzClip (418 KB)