Config Tasks¶
ecoscope.platform.tasks.config ¶
Classes¶
WorkflowDetails
dataclass
¶
Functions:¶
call_etd_from_combined_params ¶
call_etd_from_combined_params(trajectory_gdf: TrajectoryAnnotation, combined_params: EtdArgsWithOpacity) -> DataFrame[TimeDensityReturnGDFSchema]
Source code in ecoscope/platform/tasks/config/_meta_tasks.py
call_ltd_from_combined_params ¶
call_ltd_from_combined_params(trajectory_gdf: TrajectoryAnnotation, meshgrid: MeshGridAnnotation, combined_params: LtdArgsWithOpacity) -> AnyGeoDataFrame
Source code in ecoscope/platform/tasks/config/_meta_tasks.py
call_meshgrid_from_combined_params ¶
call_meshgrid_from_combined_params(aoi: AoiAnnotation, combined_params: LtdArgsWithOpacity) -> AnyGeoDataFrame
Source code in ecoscope/platform/tasks/config/_meta_tasks.py
concat_string_vars ¶
concat_string_vars(values: Annotated[list[str | SkipSentinel], Field(description='The values to concatenate')]) -> str
Source code in ecoscope/platform/tasks/config/_set_vars.py
default_if_string_is_empty ¶
default_if_string_is_empty(value: Annotated[str, Field(description='The value to passthrough')], default: Annotated[str | None | SkipSentinel, Field(description='Default if `value` is None')]) -> str | None | SkipSentinel
Source code in ecoscope/platform/tasks/config/_set_vars.py
default_if_string_is_none_or_skip ¶
default_if_string_is_none_or_skip(value: Annotated[str | None | SkipSentinel, Field(description='The value to passthrough')], default: Annotated[str, Field(description='Default if `value` is None or Skip')]) -> str
Source code in ecoscope/platform/tasks/config/_set_vars.py
get_column_names_from_dataframe ¶
get_column_names_from_dataframe(df: Annotated[AnyDataFrame, Field(...)], exclude_column_names: Annotated[list[str] | None, Field(...)]) -> list[str]
Source code in ecoscope/platform/tasks/config/_set_vars.py
get_opacity_from_combined_params ¶
prefix_string_var ¶
set_bool_var ¶
set_etd_args_with_opacity ¶
set_etd_args_with_opacity(opacity: OpacityAnnotation, auto_scale_or_custom_cell_size: AutoScaleOrCustomAnnotation = None, crs: CrsAnnotation = 'EPSG:3857', nodata_value: NoDataAnnotation = 'nan', band_count: BandCountAnnotation = 1, max_speed_factor: MaxSpeedFactorAnnotation = 1.05, expansion_factor: ExpansionFactorAnnotation = 1.3, percentiles: EtdPercentileAnnotation = None) -> EtdArgsWithOpacity
Source code in ecoscope/platform/tasks/config/_meta_tasks.py
set_list_of_string_vars ¶
set_ltd_args_with_opacity ¶
set_ltd_args_with_opacity(opacity: OpacityAnnotation, auto_scale_or_custom_cell_size: AutoScaleOrCustomAnnotation = None, crs: CrsAnnotation = 'EPSG:3857', intersecting_only: IntersectingOnlyAnnotation = False, percentiles: LtdPercentileAnnotation = None) -> LtdArgsWithOpacity
Source code in ecoscope/platform/tasks/config/_meta_tasks.py
set_string_var ¶
set_workflow_details ¶
set_workflow_details(name: Annotated[str, Field(title='Workflow Name')], description: Annotated[str, Field(title='Workflow Description', default='')] = '', image_url: Annotated[str, Field(description='An image url', default='', exclude=True)] = '') -> WorkflowDetails