-
Notifications
You must be signed in to change notification settings - Fork 791
Open
Description
Parameter DateStrLen is used to define a variable named "Times" in the output file.
Its value is currently set to 19. Below shows one of the places from a quick keyword search.
Line 251 in f52c197
| integer, parameter :: DateStrLen = 19 |
As a PnetCDF developer, I recommend to increase its size to 20, which is upward-aligned to the
next 4-byte boundary. In netCDF files, the file space occupied by variables all begin with
an offset aligned to a 4-byte boundary. Increasing DateStrLen from 19 to 20 can avoid
creating an non-contiguous I/O pattern, i.e, a single byte gap from the next variable, and
thus improve I/O performance.
Metadata
Metadata
Assignees
Labels
No labels