MCPcopy
hub / github.com/google/earthengine-api / computeImages

Function computeImages

python/ee/data.py:916–939  ·  view source on GitHub ↗

Computes a list of images by applying a computation to features. Args: params: An object containing parameters with the following possible values: expression - The expression to compute. pageSize - The maximum number of results per page. The server may return fewer image

(params: dict[str, Any])

Source from the content-addressed store, hash-verified

914
915
916def computeImages(params: dict[str, Any]) -> Any:
917 """Computes a list of images by applying a computation to features.
918
919 Args:
920 params: An object containing parameters with the following possible values:
921 expression - The expression to compute.
922 pageSize - The maximum number of results per page. The server may return
923 fewer images than requested. If unspecified, the page size default is
924 1000 results per page.
925 pageToken - A token identifying a page of results the server should
926 return.
927 workloadTag - User supplied tag to track this computation.
928
929 Returns:
930 A list with the results of the computation.
931 """
932 params = params.copy()
933 params['expression'] = serializer.encode(params['expression'])
934 _maybe_populate_workload_tag(params)
935 return _execute_cloud_call(
936 _get_cloud_projects()
937 .imageCollection()
938 .computeImages(project=_get_projects_path(), body=params)
939 )
940
941
942def computeFeatures(params: dict[str, Any]) -> Any:

Callers

nothing calls this directly

Calls 5

_execute_cloud_callFunction · 0.85
_get_cloud_projectsFunction · 0.85
_get_projects_pathFunction · 0.85
encodeMethod · 0.45

Tested by

no test coverage detected