USEPA / harmonize-wq

Standardize, clean, and wrangle Water Quality Portal data into more analytic-ready formats
https://usepa.github.io/harmonize-wq/
MIT License
12 stars 5 forks source link

Capitalization in units #40

Open jbousquin opened 12 months ago

jbousquin commented 12 months ago

e.g., mg/l vs mg/L is handled fine by pint, but any pre-processing that updates unit-string to fix it before pint works with it have to recognize/fix both. Planned solution is either (A) upper()/lower() and make sure it doesn't change the meaning to pint, OR (B) use upper lower to build out the dict/list (not preferable because string may be longer than char that is problematic and could require many combinations). TADA uses all caps for this and other fields.

jbousquin commented 12 months ago

Sometimes it doesn't matter: l & L = liter Sometimes it does matter: m = meter, M = molar