New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 14955 for utils/tools/DOMAINcfg – NEMO

Ignore:
Timestamp:
2021-06-04T18:02:36+02:00 (3 years ago)
Author:
jchanut
Message:

#2638, Updated python script to be compliant with previous commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/tools/DOMAINcfg/make_namelist.py

    r14952 r14955  
    6767    print(int(Ni0glo_parent), int(Nj0glo_parent)) 
    6868 
    69     if (int(grid[cnt-1][2]) == 2 ): 
     69    if (int(grid[cnt-1][2]) == 1 ): 
    7070        nbghostcells_y_s = 1  
    71     if int(grid[cnt-1][3]) == int(Nj0glo_parent) : 
     71    if int(grid[cnt-1][3]) == int(Nj0glo_parent)-1 : 
    7272        nbghostcells_y_n = 1  
    7373    if int(grid[cnt-1][1]) - int(grid[cnt-1][0]) == int(Ni0glo_parent) : 
Note: See TracChangeset for help on using the changeset viewer.