Skip to content
Snippets Groups Projects
Commit 4dd42193 authored by RODIER Quentin's avatar RODIER Quentin
Browse files

Quentin 09/08/2024: update to MNHPy 0.3.2

parent 7f102a4f
No related branches found
No related tags found
No related merge requests found
...@@ -213,9 +213,11 @@ def comp_altitude2DVar(oneVar3D, orography, ztop, level, n_y, n_x): ...@@ -213,9 +213,11 @@ def comp_altitude2DVar(oneVar3D, orography, ztop, level, n_y, n_x):
n_x3D = copy.deepcopy(oneVar3D) n_x3D = copy.deepcopy(oneVar3D)
n_y3D = copy.deepcopy(oneVar3D) n_y3D = copy.deepcopy(oneVar3D)
altitude = copy.deepcopy(oneVar3D) altitude = copy.deepcopy(oneVar3D)
for i in range(len(level)): for k in range(len(level)):
n_y3D[i, :] = n_y for j in range(oneVar3D.shape[2]):
n_x3D[i, :] = n_x n_y3D[k,:,j] = n_y
for i in range(oneVar3D.shape[1]):
n_x3D[k,i,:] = n_x
for i in range(oneVar3D.shape[2]): for i in range(oneVar3D.shape[2]):
for j in range(oneVar3D.shape[1]): for j in range(oneVar3D.shape[1]):
if ztop == 0: if ztop == 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment