Changeset 5942


Ignore:
Timestamp:
10/11/21 14:52:46 (2 years ago)
Author:
snguyen
Message:

add nperio condition for bathymetry southernmost boundary mask

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/MOSAIX/Build_coordinates_mask.py

    r5940 r5942  
    199199 
    200200Bathymetry = nemo.lbc (Bathymetry, nperio=nperio, cd_type='T') 
    201 #Suppress ocean points at southernmost position 
    202 Bathymetry[0,:] = 0.0  
     201#Suppress ocean points at southernmost position only if nperio in {3, 4, 5, 6} 
     202if nperio in (3, 4, 5, 6) : 
     203    Bathymetry[0,:] = 0.0  
    203204 
    204205# Creation of mask_T 
Note: See TracChangeset for help on using the changeset viewer.