NOC-MSM / SE-NEMO

Shelf Enabled Global NEMO
GNU General Public License v3.0
2 stars 1 forks source link

ln_closea in NEMO >=4.2 #149

Open jdha opened 8 months ago

jdha commented 8 months ago

The way ln_closea is defined in the NEMO >=4.2 has changed. The namelist_cfg_template needs to be updated to reflect this. Also the closed seas masks in the domain_cfg.nc will need to be redefined.

jdha commented 7 months ago

Quick fix for the time being (until domain_cfg is updated):

104,105c104
<       !CALL read_csmask( cn_domcfg, 'mask_opensea' , mask_opnsea  )
<       CALL read_csmask( cn_domcfg, 'closea_mask' , mask_opnsea  ) ! JDHA quick fix to use 4.0.4 closea_mask
---
>       CALL read_csmask( cn_domcfg, 'mask_opensea' , mask_opnsea  )
114,118d112
<          ! JDHA quick fix to use 4.0.4 closea_mask
<          WHERE( mask_opnsea(:,:) /= 0 )
<             mask_opnsea(:,:) = -1
<          END WHERE
<          mask_opnsea(:,:) = mask_opnsea(:,:) + 1
jdha commented 7 months ago

Keeping this open as PR was only a temporary work around to get 4.2.2 simulations up and running