This repo is not active anymore.
https://github.com/nikizadehgfdl/ocean_model_grid_generator
There is a newer active version of this project atA collection of tools and documents for creating finite element tripolar grids for MOM based ocean models.