From b218dac8a60e154dbb7a6df238637fa7d778d54d Mon Sep 17 00:00:00 2001 From: Anastasia Popova Date: Fri, 5 Apr 2024 16:47:12 -0400 Subject: [PATCH] debugging --- src/Regridder.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Regridder.jl b/src/Regridder.jl index b99fcca784..05eb625739 100644 --- a/src/Regridder.jl +++ b/src/Regridder.jl @@ -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)