You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to doublecheck but I'm pretty sure that the initialsize and chunksize parameters are only used for classic files, and are ignored for netcdf4 files. So they should be removed.
The text was updated successfully, but these errors were encountered:
Correct: initialsize and chunksize in nf90_create() are holdovers from attempts to make classic files perform better. I don't think they really help much in any case, but certainly with NETCDF4 files they are not needed and will simply be ignored.
The chunksize here is not to be confused with the HDF5 chunksizes that netCDF-4 supports. The HDF5 chunksizes are set on a per-variable basis, and are multi-dimensional, with dimensions that match the variable. For example, a 3D variable needs 3 chunksizes, a 5D variable needs 5.
In netCDF-4 files, chunksizes can be optimized for faster reading and writing. If you don't select chunksizes for a variable, then netCDF picks them for you, doing the best it can.
in chgres_cube.fd/write_data.F90 we have:
I need to doublecheck but I'm pretty sure that the initialsize and chunksize parameters are only used for classic files, and are ignored for netcdf4 files. So they should be removed.
The text was updated successfully, but these errors were encountered: