Skip to content

Commit

Permalink
Disable compression for NetCDF files
Browse files Browse the repository at this point in the history
By default, NetCDF files were compressed on the fly. This had no
measurable performance impact when the file was synced immediately (or
maybe compression happened at sync?). Now that the sync is decoupled
from output, the io benchmark seems to be much closer to the theoretical
limit set by NCDatasets
  • Loading branch information
Sbozzolo committed Mar 28, 2024
1 parent 62c9be2 commit ff4630c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diagnostics/netcdf_writer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ function NetCDFWriter(;
cspace,
num_points = (180, 90, 50),
disable_vertical_interpolation = false,
compression_level = 9,
compression_level = 0,
)
space = cspace
horizontal_space = Spaces.horizontal_space(space)
Expand Down

0 comments on commit ff4630c

Please sign in to comment.