...
In the above example, the pulse file is created then closed. However no data have been yet saved to the pulse file (the file ids_150000001.datafilefile is empty).
Note |
---|
To use the HDF5 backend instead of the MDS+ backend, you need simply to replace imasdef.MDSPLUS_BACKEND by imasdef.HDF5_BACKEND in the code above. <g2lfleur@s52 ~>ls -alh ~/public/imasdb/data_access_tutorial/3/15000/1 Only the master.h5 is present. No IDS file has been yet created since no IDS data have been yet written (the master.h5 file is referencing the IDS files when present, please see the User Guide documentation on the HDF5 backend files organization for more details). |
open/close
The following code opens the existing MDS+ pulse file created previously for shot=15000, run=1, from the 'data_access_tutorial' database of the current user:
...