CharacteristicMappingMethod / cmm-turbulence

CMM Turbulence code
GNU General Public License v3.0
1 stars 0 forks source link

Save format of data - HDF? #20

Open Arcadia197 opened 2 years ago

Arcadia197 commented 2 years ago

Make data more usable and save them in different formats. HDF format would be desirable.

Arcadia197 commented 2 years ago

I have taken a first look into creation of hdf5 files and installed the library for me. However for usage, the makefile has to be adapted once more to enable or disable usage in case it is not installed on other systems. This should not be too hard but requires some work. Besides that the file structure of hdf5 seems very good to reduce the amount of files per simulation to at best just one.

Arcadia197 commented 2 years ago

It is for now again a bit proprietery, but I included some makefile and c header file switches, maybe there is a possibility to combine both, but for know it is able to include or exclude hdf5 individually, so i can begin with writing some functions

Arcadia197 commented 2 years ago

I came up with an idea to properly include or exclude hdf from the makefile here, we can enable or disable the inclusion of hdf5 and pass a flag to the compiler (-D option, which is similar to #define) the rest can be handled in the code itself automatically