lter / lterwg-som

Soil Organic Matter Synthesis working group
https://lter.github.io/som-website/
8 stars 6 forks source link

key-key consistency #63

Closed wwieder closed 4 years ago

wwieder commented 4 years ago

There seem to be several key-key files out there that are using slightly different variable names. e.g. some of the neon data have c_tot and soc instead of lyr_c_tot and lyr_soc, see example here. Is this common in many datasets? How can we check and throw an error when a dataset doesn't have the 'right' variable names that we're trying to align?

srearl commented 4 years ago

My thinking at this time is that this error is due to an incomplete update from key file version 1 to key file version 2. The history of the file suggests that the original key file (version 1) was manually enhanced with select version 2 features, and not updated with the key-file update script. This would cause a problem as some changes from key file v1 to v2, such as variable names, may not be updated. @wwieder does it seem plausible that it could have happened that way? If so, I think the solution in this case would be to revert the file to its original v1 state, update using the key file update script, add additional metadata as appropriate, then homog.

wwieder commented 4 years ago

Seems like this was only in NEON_initialChar. Hopefully we're good to go.