LinkedEarth / pylipd

Development repository for Python LiPD utilities
https://pylipd.readthedocs.io/en/latest/
Apache License 2.0
2 stars 0 forks source link

`get_all_variable_names()` function should be expanded to signal wether the name is controlled #60

Open khider opened 2 months ago

khider commented 2 months ago

Right now, this function returns a list. Should we expand it to let a user know that it is part of the controlled vocabulary and that it may have been changed upon loading. Could return a list of two arrays or two arrays.

varunratnakar commented 2 months ago

Hmm, we don't keep the original names. Do we want to keep them ?

varunratnakar commented 2 months ago

I've added an option "standardize" in the LiPD initialization functions, which indicates whether we want to standardize, or not. By default, it is True

khider commented 2 months ago

let me create a non-standard file and try it out.