Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasia-popova committed Apr 5, 2024
1 parent f69477b commit b218dac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Regridder.jl
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,9 @@ function truncate_dataset(

truncated_ds = NCDataset(datafile_truncated, "c")
println("file made?")
truncated_ds = write(truncated_ds, view(ds, time = start_id:end_id))
c = view(ds, time = start_id:end_id)
println(c)
truncated_ds = write(truncated_ds, c) #view(ds, time = start_id:end_id))
println("truncated")

close(ds)
Expand Down

0 comments on commit b218dac

Please sign in to comment.