Closed dpinney closed 9 years ago
Design sketch of the ultimate location chooser:
So climatename selection has been replaced with zipcode input for all models. I believe we agreed on taking out lat/lon.
Yeah, let's leave off lat/lon.
Code looks pretty good. We need a test for zipCodeToClimateName. Also, imports need to go at the top of the file and not in the function definition. It's a python convention.
Aha I didn't think where the import is would matter if it isn't used much. Imports have been moved, and a test case added under weather.py. With that this issue is closed.
This work had some problems: excess code that never ran (second return statement), print statements in non-test code (wrong data for server logs), _tests failed on the metamodel import. I fixed this in c2623dc1ecf6478ba452ec13a1dc7010b845e92b.
TODO
QUESTIONS