Skip to content

Commit

Permalink
Test clipping and zfill behavior (#1848)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbowen-usds committed Sep 15, 2022
1 parent 875bff2 commit 2ad7a7d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ GEOID,count_properties,burnprob_year00_flag,burnprob_year30_flag
15009030800,4847,3268,3529
15003010201,2335,1949,2005
15007040604,5365,3984,4439
4003001402,1,1,1
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ GEOID10_TRACT,Count of properties eligible for wildfire risk calculation within
15009030800,4847,3268,3529,0.6742314834,0.7280792243
15003010201,2335,1949,2005,0.8346895075,0.8586723769
15007040604,5365,3984,4439,0.7425908667,0.8273998136
04003001402,250,1,1,0.0040000000,0.0040000000
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ GEOID,count_properties,Count of properties at risk of wildfire today,Count of pr
15009030800,4847,3268,3529,15009030800,4847,0.6742314834,0.7280792243
15003010201,2335,1949,2005,15003010201,2335,0.8346895075,0.8586723769
15007040604,5365,3984,4439,15007040604,5365,0.7425908667,0.8273998136
4003001402,1,1,1,04003001402,250,0.0040000000,0.0040000000
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ class TestWildfireRiskETL(TestETL):
_SAMPLE_DATA_FILE_NAME = "fsf_fire/fire-tract2010.csv"
_SAMPLE_DATA_ZIP_FILE_NAME = "fsf_fire.zip"
_EXTRACT_TMP_FOLDER_NAME = "WildfireRiskETL"
_FIXTURES_SHARED_TRACT_IDS = TestETL._FIXTURES_SHARED_TRACT_IDS + [
"04003001402" # A tract with 1 property, also missing a digit
]

def setup_method(self, _method, filename=__file__):
"""Invoke `setup_method` from Parent, but using the current file name.
Expand Down

0 comments on commit 2ad7a7d

Please sign in to comment.