I have been trying to run an inter-annual simulation over Bay of Bengal from 2016 to 2023 with mercator ocean boundary forcing. With DT= 300 and nd_avg=15, it shows 6440 time steps. It works fine till 6439, as you can see in the picture. But while finalising outputs, it fails due to some error in get_bry. I tried so many ways to solve it but no luck yet.
Their have to many people in our forum they may be potentially answer your question.
I suspected that OS or croco model library dependency is upgraded/downgraded.
For that also I don’t thing running few time step after model can Blow Up !.
I have NO idea. sorry.
I have run many times CROCO standalone to CPL in Indian Ocean region and my model never Blow Up !
Yesterday I also got a case like this. I suspect that you are using mercator in monthly intervals. So I replaced the mercator in the daily interval. Try using daily data in the mercator.
Yes, I used the daily data in make_OGCM_mercator. Also, I changed itolap_a and itolap_p from 1 to 2.
Can I know how you download the mercator data for OBC, since the motu_client is not working.
Yesterday, I modified the way of downloading and converting the data to produce a new toolbox.
did you manage to fix that ?
i got the same problem, it happened after updating to copernicusmarine library
ERROR in get_bry: cannot read variable 'bry_time'
MAIN - number of records written into history file(s): 159
number of records written into restart file(s): 159
number of records written into averages file(s): 159
ERROR: Abnormal termination: netCDF INPUT
Yes, I manage to fix it with daily mercator and GEBCO topographical data. You can try that too. If you still face any problem, email me in whoerfanul1@gmail.com.
for i=1:lh+1
time1(i)=rundate_dnum-(lh+1-i);
end
time2=rundate_dnum;
if lf > 0
for j=1:lf
time3(j)=rundate_dnum+j-2;
end
else
time3=[]; %(1)=rundate_dnum+1;
end
Hi, malateibi
can you upload your download_mercator_python.m and “ERROR in get_bry: cannot read variable 'bry_time” complete error.log file.
Cheers!
Subhadeep
for i=1:lh+1
time1(i)=datenum(rundate_str)-(lh+2-i);
end
time2=datenum(rundate_str);
for j=1:lf+2
time3(j)=datenum(rundate_str)+j-1;
end
time=cat(2,time1,time2,time3)
i am recommending you to use this branch and create your file:
git clone --branch dev_newcopernicus croco-ocean / croco_tools · GitLab
Cheers!
Subhadeep