-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Running run_rapidmoc.py on output from various models on their native grids, for some models the program fails and returns:
`
thetao: using mask information from {DATA_LOC}/thetao_RAW.nc.
so: using mask information from {DATA_LOC}/so_RAW.nc.
tauuo: using mask information from {DATA_LOC}/tauuo_RAW.nc.
vo: using mask information from {DATA_LOC}/vo_RAW.nc.
Traceback (most recent call last):
File "{CODE_LOC}/RapidMoc/run_rapidmoc.py", line 16, in <module>
main()
File "{CODE_LOC}/RapidMoc/rapidmoc/rapidmoc.py", line 112, in main
t_on_v = sections.interpolate(t, v)
File "{CODE_LOC}RapidMoc/rapidmoc/sections.py", line 446, in interpolate
sinterp.data = np.ma.MaskedArray(s1.interp_along_section(dist, x0, y0), mask=mask)
File "{PYTHON_LOC}/lib/python3.9/site-packages/numpy/ma/core.py", line 2909, in __new__
raise MaskError(msg % (nd, nm))
numpy.ma.core.MaskError: Mask and data not compatible: data size is 3061620, mask size is 1270200.
`
Has anyone had experience with this error? It works on some models and not others, but it's not clear why.
Thank you for your help in advance!
Metadata
Metadata
Assignees
Labels
No labels