- Timestamp:
- 2021-04-12T09:53:52+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/tools/DOMAINcfg/make_namelist.py
r14687 r14690 59 59 Ni0glo_parent=line.strip().split()[2] 60 60 f2.write(line) 61 if line.strip().startswith('Nj0glo'): 62 Nj0glo_parent=line.strip().split()[2] 63 f2.write(line) 61 64 cnt1 += 1 62 65 f2.close() … … 64 67 if int(grid[cnt-1][2]) == 1: 65 68 nbghostcells_y_s = 0 69 if int(grid[cnt-1][3]) == int(Nj0glo_parent) + 1: 70 nbghostcells_y_n = 0 66 71 if int(grid[cnt-1][1]) + int(grid[cnt-1][0]) == int(Ni0glo_parent) + 2 : 67 72 nbghostcells_x = 0 … … 83 88 line = " jperio = 0\n" 84 89 if line.strip().startswith('nn_bathy'): 85 line = " nn_bathy = 2\n"90 line = " nn_bathy = 2\n" 86 91 if line.strip().startswith('nn_interp'): 87 92 line = " nn_interp = 1\n"
Note: See TracChangeset
for help on using the changeset viewer.