When to allocate space |
When to write fill value |
What fill value to write |
Library create-write-close behavior |
early |
never |
----- |
Library allocates space when dataset is created, but never write
fill value to dataset. |
late |
never |
----- |
Library allocates space when dataset is written to, but never
write fill value to dataset. |
----- |
allocation |
undefined |
Error on creating dataset, dataset not created. |
early |
allocation |
default or user-defined |
Allocate space for dataset when dataset is created. Write fill
value(default or user-defined) to entire dataset. |
late |
allocation |
default or user-defined |
Doesn't allocate space for dataset until user's data value are
written to dataset. Write fill value to entire dataset before
writing user's data value.
|
----- stands for any value.