Closed tomas19 closed 1 year ago
Hi Tomas, could you please rebase with the latest master branch before we start testing things?
One high level suggestion, not everyone knows what a "fort14" file is. Perhaps it makes sense to name these functions with the word "mesh" since they perform operations on a mesh?
Done! I opened a new pull request with the updated scripts, so I'll close this one.
I added a new Python script,
oceanmesh/subset_fort14.py
. It contains 11 functions, but for doing the subset of a fort.14 you only need to callfort14Subset
. This last function calls the rest. I didn't provide a conda yml file, but the versions of the main packages are:The workflow follows the next steps:
readNodes_fort14
reaSubDomain
(polygon covering the area we want to remove)subsetMeshGdf
readBCfort14
renumOceanBC
renumClosedBCs
renumMainlandBC
writeFort14
Thanks, Tomas