You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While chasing a replay issue for a user, I was running an ERA5 replay and forgot to add
REPLAY_O3: NO
as did the user. The ERA5 files do not have an O3 analysis. This causes the handleInc_ procedure to throw an error.
The particular code is this:
if( .not.FOUND .and. L_REPLAY_O3 ) then
write(STRING,'(A)') "ANA Variable: O3 Not Found!"
call WRITE_PARALLEL( trim(STRING) )
RETURN_(ESMF_FAILURE)
endif
but if one looks when handleInc_ is called the return code is not checked, making any sort of error handling like this pointless. The error code should be check so the code dies if the user is trying to replay a variable that does not exist in the file. By returning early from handleInc_ clearly a lot of code in handleInc_ is skipped but we run along.
The text was updated successfully, but these errors were encountered:
While chasing a replay issue for a user, I was running an ERA5 replay and forgot to add
as did the user. The ERA5 files do not have an O3 analysis. This causes the handleInc_ procedure to throw an error.
The particular code is this:
but if one looks when handleInc_ is called the return code is not checked, making any sort of error handling like this pointless. The error code should be check so the code dies if the user is trying to replay a variable that does not exist in the file. By returning early from handleInc_ clearly a lot of code in handleInc_ is skipped but we run along.
The text was updated successfully, but these errors were encountered: