CampbellGroup / common

Shared campbell lab code.
GNU Lesser General Public License v3.0
8 stars 5 forks source link

data vault saving values with arbitrary headers in .ini files #238

Closed fanmingyu212 closed 6 years ago

fanmingyu212 commented 6 years ago

Data vault can only save Independent, Dependent, Parameter, and Comment in the .ini file now. A function that saves a value under an arbitrary header name could be helpful to save measured values such as temperature, and wavemeter wavelength.

It will also enable general naming schemes to organize the values in the .ini files.

@aransfor could you take a look at this issue and let me know what you think before I start working on this issue?

aransfor commented 6 years ago

@fanmingyu212 can you not save an arbitrary heading for a parameter? such as parameter = (temperature, 20 deg) or paramter= (wavelength, 369nm). This is how we do this.

fanmingyu212 commented 6 years ago

@aransfor we would like to use a more flexible way to save data. Currently we can only save four types of headers, Independent, Dependent, Parameter, and Comment. We would like to save data in the .ini file depends on the use case, and also to save measurements that are not paramaters in the .ini file.

jayich commented 6 years ago

@fanmingyu212 is this issue addressed?

fanmingyu212 commented 6 years ago

@jayich Yes. It is addressed.