Resolve "Refactor debrisflow data downloads into functions instead of classes."
Closes #36 (closed)
-
move debrisflow things to debrisflow module
-
update debrisflow search to use "fireid" instead of webfireid.
All fires I've checked follow the pattern fire id "XXXYYYY" -> web fire id "YYYYmmdd_XXXrestofname", which works using updated search pattern and simplifies download process for now until actual fire id attribute is added to gis service.
-
project buffered shape once
-
tests are in
tests/flowalert/debrisflow_test.py
, where other tests are slated to move.Path to test data will need to be updated when test data moves from
tests/src/flowalert/data
-
mock
requests.get
as needed for testing