OxfordEcosystemsLab / gemdata

GEM database code, importers, and frontend
5 stars 1 forks source link

Refactor Leaf Part Code dependent code #25

Open ghost opened 9 years ago

ghost commented 9 years ago

Allie thinks that the translated leaf part codes should be in 3 columns: Type, Number, Simple/Compound But loads of existing code works with a single / concatenated leaf part code.

As a quick fix, we have both in the database. For a more elegant solution, we should refactor the code to work with the 3 column format and drop the single-code column.