Skip to content
Snippets Groups Projects
Commit 6150445f authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Polish

parent 8e9a2425
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,15 @@ contains ...@@ -55,7 +55,15 @@ contains
call read_eddy(e, d, i, hshp, ishape) call read_eddy(e, d, i, hshp, ishape)
! Check that all the eddies have the same date index: ! Check that all the eddies have the same date index:
call assert(d - d_init == k, "read_snapshot: date index") if (d - d_init /= k) then
print *, "read_snapshot: bad date index"
print *, "d = ", d
print *, "d_init = ", d_init
print *, "k = ", k
print *, "ishape = ", ishape
print *, "i = ", i
stop 1
end if
s%list(i) = e s%list(i) = e
end do end do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment