swtools/WOFpy — Issue #17: address numerous method descriptions in barebones example
Author: twhiteaker
Created: 2011-12-16 16:56:03+00:00
State: open

Barebones example assigns a new methodID for each valueID in GetValues responses. This means if I download 2600 values, I get 2600 method descriptions, making for a very bulky WaterML file. The unique method descriptions should be compiled either in memory or as an additional table in the example (or maybe removed from the example to keep it simple). It would be cool if there was a SQLAlchemy way to do that in memory, but I’m not familiar with it. It’s like SELECT DISTINCT METHOD FROM DATAVALUES…AND PUT IT IN THIS DICTIONARY.