geowatch.geoannots package¶
Submodules¶
- geowatch.geoannots.geococo_objects module
- geowatch.geoannots.geomodels module
_Model
_Model.type
_Model._header_type
_Model._body_type
_Model.pandas()
_Model.deepcopy()
_Model.dumps()
_Model.coerce_multiple()
_Model.coerce()
_Model.from_features()
_Model.from_dataframe()
_Model.from_dict()
_Model.start_date
_Model.end_date
_Model.geometry
_Model.load_schema()
_Model.body_features()
_Model.strip_body_features()
_Model.header
_Model._validate_quick_checks()
_Model._validate_schema()
_Model.validate()
_Model._validate_parts()
_Model._update_cache_key()
_Model.ensure_isodates()
_Model.fix_backwards_dates()
_Model.model_type
_Model.model_id
_report_jsonschema_error()
RegionModel
RegionModel._header_type
RegionModel._body_type
RegionModel.info()
RegionModel.load_schema()
RegionModel.site_summaries()
RegionModel.coerce()
RegionModel.pandas_summaries()
RegionModel.pandas_region()
RegionModel.random()
RegionModel.add_site_summary()
RegionModel.region_id
RegionModel.fixup()
RegionModel.remove_invalid_properties()
RegionModel.ensure_comments()
RegionModel.infer_header()
SiteModel
SiteModel._header_type
SiteModel._body_type
SiteModel.info()
SiteModel.load_schema()
SiteModel.header
SiteModel.observations()
SiteModel.pandas_observations()
SiteModel.pandas_site()
SiteModel.random()
SiteModel.as_summary()
SiteModel.region_id
SiteModel.site_id
SiteModel.status
SiteModel.fix_geom()
SiteModel.fix_sensor_names()
SiteModel.fix_current_phase_salient()
SiteModel.fixup()
SiteModel.fix_old_schema_properties()
SiteModel.ensure_isodates()
SiteModel.clamp_scores()
SiteModel.remove_invalid_properties()
SiteModel._manual_validation()
_Feature
_SiteOrSummaryMixin
RegionHeader
SiteSummary
SiteHeader
Observation
ModelCollection
SiteModelCollection
_infer_region_header_from_site_summaries()
_rectify_keys()
handle_error()
_update_propery_cache()
coerce_site_or_region_model()
Module contents¶
This submodule contains tools relating to:
the IARPA region and site model geojson formats.
geographic kwcoco extensions
At the time of creation we have many various tools scattered across the repo to deal with these, but we should work to consolidate the ones pertaining strictly to these specific types of geojsons into this submodule.
Location of existing tools that should likely be moved:
../demo/metrics_demo/__init__.py :: various
../cli/run_tracker.py :: various
../cli/reproject_annotations.py :: various
../cli/validate_annotation_schemas.py :: various
../cli/extend_sc_sites.py :: various
../cli/crop_sites_to_regions.py :: various
../cli/cluster_sites.py :: various
../utils/util_framework.py :: determine_region_id
~/code/watch/dev/poc/make_region_from_sitemodel.py
Related tool that should NOT be moved are related to general geojson:
../utils/util_gis.py :: coerce_geojson_datas