Commit 138943ef authored by Carsten Lemmen's avatar Carsten Lemmen
Browse files

Skip over attributes that cannot be retrieved

parent 27bd27b2
Pipeline #112273 failed with stages
in 57 seconds
......@@ -1233,8 +1233,7 @@ contains
do i=1, count
call ESMF_AttributeGet(gridComp, attributeIndex=i , name=attributeName, rc=localrc)
if (ESMF_LogFoundError(localrc, ESMF_ERR_PASSTHRU, ESMF_CONTEXT, rcToReturn=rc_)) &
call ESMF_Finalize(rc=localrc, endflag=ESMF_END_ABORT)
if (localrc /= ESMF_SUCCESS) cycle
write(message,'(A)') trim(name)//':'
call MOSSCO_MessageAdd(message,trim(attributeName)//' =')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment