ERROR in nf_read_bry: nf_get_vara netCDF error code = -57

Dear All,

I am using recent release croco_tools-v2.1.0 to make boundary condition and I am able to download data and to make it on our grid by using make_OGCM_mercator.m. In the first month I am getting error like below:

Error termination. Backtrace:
#0 0x7f48cf023960 in ???
#1 0x7f48cf0244d9 in ???
#2 0x7f48cf02510f in ???
#3 0x7f48cf269ec3 in ???
#4 0x7f48cf2770e2 in ???
#5 0x7f48cf27a6d1 in ???
#6 0x7f48cf27ae05 in ???
#7 0x61d86fa27a37 in ???
#8 0x61d86f9c5e30 in ???
#9 0x61d86f9b652e in ???
#10 0x7f48cec29d8f in __libc_start_call_main
at …/sysdeps/nptl/libc_start_call_main.h:58
#11 0x7f48cec29e3f in __libc_start_main_impl
at …/csu/libc-start.c:392
#12 0x61d86f9b6554 in ???
#13 0xffffffffffffffff in ???
Test croco_Y2018M01.out
ERROR in nf_read_bry: nf_get_vara netCDF error code = -57
Cause of error: NetCDF: Start+count exceeds dimension bound
ERROR in get_bry: cannot read variable ‘vbar_east’

ERROR in nf_read_bry: nf_get_vara netCDF error code = -57
Cause of error: NetCDF: Start+count exceeds dimension bound
ERROR in get_bry: cannot read variable ‘u_east’

ERROR in nf_read_bry: nf_get_vara netCDF error code = -57
Cause of error: NetCDF: Start+count exceeds dimension bound
ERROR in get_bry: cannot read variable ‘v_east’

ERROR in nf_read_bry: nf_get_vara netCDF error code = -57
Cause of error: NetCDF: Start+count exceeds dimension bound
ERROR in get_bry: cannot read variable ‘trc_east’

ERROR in nf_read_bry: nf_get_vara netCDF error code = -57
Cause of error: NetCDF: Start+count exceeds dimension bound
ERROR in get_bry: cannot read variable ‘trc_east’

Month Y2018M01 did not work

Can any one help me to overcome with this problem?
Many thanks!

It has got to do with the writing out of the nc files.
As you see from the error message, the variables have a size say xi_rho * eta_rho. The values you are trying to write to the variable has the wrong size. Either because it is being sent with the wrong dimension order or simply the wrong dimension (say xi_rho in place of xi_v).
Have you made any changes to the files that came with the download?
I have documented by experience with this in this post.
That should hopefully help you