-
Notifications
You must be signed in to change notification settings - Fork 6
Labels
✨ featureNew feature or requestNew feature or request
Description
Currently the export_roi_to_quicfire function in convience.py uses all default values. It would be great to give users to option to specify custom configurations for certain resources (e.g. set a different surface fuel moisture content)
Here is one option that could work:
def export_roi_to_quicfire(
roi: GeoDataFrame,
export_path: Path | str,
verbose: bool = False,
road_feature_config: dict = None,
water_feature_config: dict = None,
tree_inventory_config: dict = None,
topography_grid_config: dict = None,
surface_grid_config: dict = None,
tree_grid_config: dict = None,
feature_grid_config: dict = None,
) -> Export:Or another, less verbose option:
def export_roi_to_quicfire(
roi: GeoDataFrame,
export_path: Path | str,
verbose: bool = False,
**kwargs,
) -> Export:Maybe name it configuration or config instead?
Metadata
Metadata
Assignees
Labels
✨ featureNew feature or requestNew feature or request