Skip to content

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

Open
@jeevakir

Description

@jeevakir

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions