ocean_merge  1.13.0
All Files Functions Pages
merge_lake_ocnmsk.F90 File Reference

Determines the water mask by merging the lake mask with the mapped ocean mask from MOM6. More...

Go to the source code of this file.

Functions/Subroutines

program merge_lake_ocnmsk
 Determine the water mask by merging the lake mask with the mapped ocean mask from MOM6, both are on the FV3 grid. More...
 

Detailed Description

Determines the water mask by merging the lake mask with the mapped ocean mask from MOM6.

Author
Shan Sun
Rahul Mahajan
Sanath Kumar

Definition in file merge_lake_ocnmsk.F90.

Function/Subroutine Documentation

◆ merge_lake_ocnmsk()

program merge_lake_ocnmsk ( )

Determine the water mask by merging the lake mask with the mapped ocean mask from MOM6, both are on the FV3 grid.

During merge, the ocean mask dominates the lake mask if there is a conflict. After the merge, the remaining non-water fraction is the land fraction.

Returns
0 for success, error code otherwise.
Author
Shan Sun
Rahul Mahajan
Sanath Kumar

Definition at line 17 of file merge_lake_ocnmsk.F90.