Page tree

The license could not be verified: License Certificate has expired!

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Specify property lists (or use the defaults).
  2. Create the file.
  3. Close the file (and property lists if needed).

Example:

This example creates The following Python and C examples create a file, file.h5, and then closes close it:

Following are examples to create a file file.h5 using Python and C.  

Python:

Calling h5py.File with ‘w’ for the file access flag will create a new HDF5 file and overwrite an existing file with the same name.  “file” is the file handle returned from opening the file.  When finished with the file, it must be closed. When not specifying property lists, the default property lists are used:

...