Open aidanheerdegen opened 11 months ago
While I think it was a good idea, the CPU count problem was not really solvable. I would not miss it if you decide to remove it.
While I think it was a good idea, the CPU count problem was not really solvable
Would it work as a stand-alone utility?
Hard to say, I haven't looked at it in years! But I think most of it is just fetching the arguments from the input files and passing them to check_mask
. Even then, I think the main goal was to determine the number of land domains to be subtracted from the layout.
I don't think there's much here, I think it can go.
Should remove this as part of this clean-up
https://github.com/payu-org/payu/blob/master/payu/experiment.py#L133-L134
The
create_mask_table
function is never used so I don't know if it still works.https://github.com/payu-org/payu/blob/c8e74243dd27c42129901efbcc82916e8113da84/payu/models/mom.py#L130-L226
This comment suggests it isn't currently useable.
https://github.com/payu-org/payu/blob/c8e74243dd27c42129901efbcc82916e8113da84/payu/models/mom.py#L87-L90
Personally I find the creating mask tables to be a little fragile. Sometimes it just doesn't produce mask tables that work correctly, and so need a little hand editing to remove a masked cell.
From some old notes: