Skip to content

Commit

Permalink
probably now it should work
Browse files Browse the repository at this point in the history
  • Loading branch information
simone-silvestri committed Apr 24, 2024
1 parent db6b8d4 commit 067c4a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DataWrangling/JRA55.jl
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ function JRA55_field_time_series(variable_name;
native_fts.times = new_times

# Re-compute data
new_data = ds[shortname][i₁:i₂, j₁:j₂, time_indices_in_memory]
new_data = ds[shortname][i₁:i₂, j₁:j₂, time_indices_in_memory]
fts.times = new_times

if !on_native_grid
Expand All @@ -548,7 +548,7 @@ function JRA55_field_time_series(variable_name;
m = 1 # reset
end

set!(on_disk_fts, fts[m], n, on_disk_fts.times[m])
set!(on_disk_fts, fts[m], n, fts.times[m])

n += 1
end
Expand Down

0 comments on commit 067c4a5

Please sign in to comment.