geowatch.cli.extend_sc_sites module¶
- geowatch.cli.extend_sc_sites.extend_clone(bas_site, site)[source]¶
TODO does not handle phase_transition_days or enforce temporal consistency in phases.
- geowatch.cli.extend_sc_sites.main(region_models_pth, site_models_pth, out_region_models_pth, out_site_models_pth, modify_region_models_pth, modify_site_models_pth=None, create_missing=True, extend_existing=True)[source]¶
Modifies site models based on site summaries, and saves new site models and site summaries.
- Parameters:
modify_site_models_pth – If given, create/extend from site models
instead of site summaries
create_missing – Create a new site model for any site summary that
doesn’t have one
extend_existing – Extend the temporal duration of any site model smaller
than its site summary