Skip to content

Commit b53a19c

Browse files
committed
bug fix (?)
1 parent ea71aa0 commit b53a19c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gcmfaces_IO/read_nctiles.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,12 @@
193193
else;
194194
t0 = 1;
195195
t1 = lff;
196+
nt=t1-t0+1;
196197
end;
197198
for fft=t0:t1;
198199

199200
%read one tile
200-
fileIn=flist{fft+1};
201+
fileIn=flist{fft};
201202

202203
nc=netcdf.open(fileIn,0);
203204

0 commit comments

Comments
 (0)