Skip to content

Commit 4f15ae3

Browse files
committed
Switch gauge binary file format order
1 parent ac5a54b commit 4f15ae3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/2d/shallow/gauges_module.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,10 +294,10 @@ subroutine set_gauges(restart, num_eqn, num_aux, fname)
294294
"# file format ascii, time series follow in this file"
295295
else if (gauges(i)%file_format == 2) then
296296
write(OUTGAUGEUNIT, '(a)') &
297-
"# file format binary64, time series in .bin file"
297+
"# file format binary32, time series in .bin file"
298298
else if (gauges(i)%file_format == 3) then
299299
write(OUTGAUGEUNIT, '(a)') &
300-
"# file format binary32, time series in .bin file"
300+
"# file format binary64, time series in .bin file"
301301
endif
302302

303303
close(OUTGAUGEUNIT)
@@ -756,7 +756,7 @@ subroutine print_gauges_and_reset_nextLoc(gauge_num)
756756
open(unit=myunit, file=gauges(gauge_num)%file_name_bin, &
757757
status='unknown', position='append',access='stream')
758758

759-
if (gauges(gauge_num)%file_format == 3) then
759+
if (gauges(gauge_num)%file_format == 2) then
760760
allocate(gdata4(nvals+1, ntimes))
761761
gdata4(1, 1:ntimes) = real(gauges(gauge_num)%level(1:ntimes), kind=4)
762762
gdata4(2:nvals+1, 1:ntimes) = &

0 commit comments

Comments
 (0)