Skip to content

Commit

Permalink
Ensure types for tree attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Dec 2, 2023
1 parent c4a60a2 commit 6ebd9a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions operators/trees/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,10 @@ def main(local=False):
road_id='road_id',
)),
DF.set_type('attributes-canopy-area', type='number', on_error=DF.schema_validator.clear),
DF.set_type('attributes-canopy-diameter', type='number', on_error=DF.schema_validator.clear),
DF.set_type('attributes-height', type='number', on_error=DF.schema_validator.clear),
DF.set_type('attributes-bark-diameter', type='number', on_error=DF.schema_validator.clear),
DF.set_type('attributes-bark-circumference', type='number', on_error=DF.schema_validator.clear),
DF.checkpoint('tree-processing-clusters', CHECKPOINT_PATH)
).process()

Expand Down

0 comments on commit 6ebd9a1

Please sign in to comment.