XIOS error: `Data array does not have the right size! Grid = grid_U_2D`

Dear All,

My Nemo4 simulation that used to work fine now produces the following error:

Error [void CGrid::inputField(const  CArray<double,n>& field, CArray<double,1>& stored) const] : 
In file '/cluster/home/robinson/xios-2.5/inc/grid.hpp', line 381 -> [ Await
ing data of size = 525, Received data size = 39375 ] 
The data array does not have the right size! Grid = grid_U_2D

I have absolutely no idea of where this comes from, perhaps a change of environment in the system. Has anyone had a similar experience ?

Thanks for your help,

Robinson

39375 / 525 = 75… Which I guess is you number of vertical levels?
It looks like you are sending to XIOS a 3D array but XIOS is expecting a 2D array (Grid = grid_U_2D).

Bonjour Sébastien,

I just found the problem, and indeed i was sending a 3D variable into a 2D field. What is strange is that it used to work fine a few weeks ago…

Thanks for your help,

Robinson