You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/ia/iccs_repos/Spinup-NEMO/main_restart.py", line 70, in
restart=propagate_pred(restart,mask)
File "/home/ia/iccs_repos/Spinup-NEMO/lib/restart.py", line 225, in propagate_pred
e3t_new = update_e3t(restart,mask)
File "/home/ia/iccs_repos/Spinup-NEMO/lib/restart.py", line 257, in update_e3t
e3t_ini = restart.e3t_ini # initial z axis cell's thickness on grid T - (t,z,y,x)
File "/home/ia/anaconda3/envs/nemo1/lib/python3.9/site-packages/xarray/core/common.py", line 286, in getattr
raise AttributeError( AttributeError: 'Dataset' object has no attribute 'e3t_ini'
I printed the data variables in the DINO restart file and found the variable 'e3t_ini' is missing amoungst them.
It’s in the mesh_mask.nc though ! The name is not exactly the same, but it’s the same variable : e3t_0 . We can simply replace the line e3t_ini = restart.e3t_ini
by e3t_ini = mask.e3t_0
in the update_e3t function.
@isaacaka, please add to this.
The text was updated successfully, but these errors were encountered: