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

Rename date to `date_read`

parent 43d2eff6
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ contains ...@@ -35,7 +35,7 @@ contains
! Local: ! Local:
integer ishape, ishape_first integer ishape, ishape_first
integer date integer date_read
integer eddy_i ! eddy index integer eddy_i ! eddy index
type(eddy) e type(eddy) e
...@@ -52,12 +52,12 @@ contains ...@@ -52,12 +52,12 @@ contains
allocate(s%list(s%number_extr)) allocate(s%list(s%number_extr))
do ishape = ishape_first, ishape_last(k - d_init + 1) do ishape = ishape_first, ishape_last(k - d_init + 1)
call read_eddy(e, date, eddy_i, hshp, ishape) call read_eddy(e, date_read, eddy_i, hshp, ishape)
! Check that all the eddies have the same date index: ! Check that all the eddies have the same date index:
if (date /= k) then if (date_read /= k) then
print *, "read_snapshot: bad date index" print *, "read_snapshot: bad date index"
print *, "date = ", date print *, "date_read = ", date_read
print *, "k = ", k print *, "k = ", k
print *, "ishape = ", ishape print *, "ishape = ", ishape
print *, "eddy_i = ", eddy_i print *, "eddy_i = ", eddy_i
......
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