Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error opening SST file while running cmip6 cesm model data. #34

Open
jeevakir opened this issue Apr 28, 2023 · 0 comments
Open

Error opening SST file while running cmip6 cesm model data. #34

jeevakir opened this issue Apr 28, 2023 · 0 comments

Comments

@jeevakir
Copy link

jeevakir commented Apr 28, 2023

While running RegCM model with CESM model data. the SST files are switching over to the next files at the last time stamp and the model hangs. I looked through the code and modified it as below to get it working. Is this the right way or am I doing something wrong?. It would be grateful if you could check if anybody could recreate this and solve it.

when the time being processed is "2000010100", RegCM looks at the next file? this makes the model run in infinite loops or something?.
My solution was to remove remove '+12' from the 'irec' equation in this file - [PreProc/ICBC/cmip6/mod_cmip6_cesm.F90]

tdif = idate - v%first_date
irec = nint((tohours(tdif)+12)/24) + 1
if ( irec > v%nrec ) then

It worked for me but is that the right solution?. We encountered the issue about a month ago. thought i can share it here to get clarified and thought it may help others as well. Please let me know if you need any further details.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant