Skip to content

Commit

Permalink
more println
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasia-popova committed Apr 3, 2024
1 parent 9a989a0 commit d8a19e9
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 @@ -681,13 +681,15 @@ function truncate_dataset(date0, time_start, time_end, datafile, datapath)
end
end

println(string(datapath))

file_name = string("truncated_data_", string(date_start), string(date_end), ".nc")
datafile_truncated = joinpath(datapath, file_name)
truncated_ds = NCDataset(datafile_truncated, "c")
truncated_ds = write(truncated_ds, view(ds, time = start_id:end_id))


println(path(truncated_ds))
#println(path(truncated_ds))


close(ds)
Expand Down

0 comments on commit d8a19e9

Please sign in to comment.