Skip to content

Commit 1c3ae10

Browse files
committed
Move line inside if-statement
1 parent d49f74d commit 1c3ae10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/histFileMod.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3443,8 +3443,8 @@ subroutine htape_timeconst(t, mode)
34433443
call ncd_defvar(nfid(t), 'time_bounds', ncd_double, 2, dim2id, varid, &
34443444
long_name = 'time interval endpoints', &
34453445
units = str)
3446+
call ncd_putatt(nfid(t), varid, 'calendar', caldesc)
34463447
end if
3447-
call ncd_putatt(nfid(t), varid, 'calendar', caldesc)
34483448

34493449
dim2id(1) = strlen_dimid; dim2id(2) = time_dimid
34503450
call ncd_defvar(nfid(t), 'date_written', ncd_char, 2, dim2id, varid)

0 commit comments

Comments
 (0)