73 name =
"Example-01-python.hdf5",
74 mode = ioda.Engines.BackendCreateModes.Truncate_If_Exists)
86 g1 = grpFromFile.create(
'g1')
87 g2 = grpFromFile.create(
"g2")
94 g8 = g6.create(
"g7/g8")
107 if g1.exists(
'g3') !=
True:
108 raise Exception(
"g3 does not exist in /g1")
112 if g1.exists(
'g3/g4') !=
True:
113 raise Exception(
"g1/g3/g4 does not exist")
124 if len(g3.list()) != 1:
125 raise Exception(
"Wrong size for g3!")
127 if len(g4.list()) != 2:
128 raise Exception(
"Wrong number of children in g4!")
136 opened_g3 = g1.open(
"g3")
137 opened_g6 = opened_g3.open(
"g4/g6")
IODA_DL Group createFile(const std::string &filename, BackendCreateModes mode, HDF5_Version_Range compat=defaultVersionRange())
Create a ioda::Group backed by an HDF5 file.