earthengine-api 1.7.4rc0__py3-none-any.whl → 1.7.5rc0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of earthengine-api might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: earthengine-api
3
- Version: 1.7.4rc0
3
+ Version: 1.7.5rc0
4
4
  Summary: Earth Engine Python API
5
5
  Author-email: Google LLC <noreply@google.com>
6
6
  License: Apache-2.0
@@ -1,12 +1,12 @@
1
- earthengine_api-1.7.4rc0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
2
- ee/__init__.py,sha256=cAFwasoE1dRv4xMWbngK9cNyli40GXPu9Qd1qPdvww0,16761
1
+ earthengine_api-1.7.5rc0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
2
+ ee/__init__.py,sha256=n9yCRibb5ht3VfKanGV44_ApU217_yj6uQ_07HcJNX4,16762
3
3
  ee/_arg_types.py,sha256=nrJrnPFnAS8fzMxAGmG3TbUOi_yFVrnSGW5IP8ATzDQ,2662
4
4
  ee/_cloud_api_utils.py,sha256=5WPzP5bcBIbjA7yYN-Cwmht_HU-XobbTrZvRiOEn0e0,32890
5
5
  ee/_helpers.py,sha256=afDDqoz1WESKE-lzqLtrCbvoQ1yVpfvJIgFcmUjO4L8,4821
6
6
  ee/_state.py,sha256=y2hdq_ZEgFkO9a-DbWFSthehlAyTbp--cz4C04XS058,2754
7
7
  ee/_utils.py,sha256=ciocjvlvR73G07IV_iZjLi1IGowpEbT53NzFqqwSbDU,1356
8
8
  ee/apifunction.py,sha256=mCCsLhBs_MofvMW49OFjT5psQGMbXWQSpAlhiqMEc4k,8732
9
- ee/apitestcase.py,sha256=8N5y2-Tw7c5GjedbSA_HRpSjVUiVLoyM_FI2g5b9Tpc,13992
9
+ ee/apitestcase.py,sha256=NjCqAcmM031zdFkBitLrJ4TbUV3lx1EKr8prZadzGKY,13614
10
10
  ee/batch.py,sha256=pyhSmwH6hApRgdA8x6qbFn-mMEM8G-zf3OHW5PMziQI,82694
11
11
  ee/blob.py,sha256=cnnqmrHl998U2zEmfKcxQglaGk14Ip6pjObk_Ody6Uk,3221
12
12
  ee/classifier.py,sha256=3STLrLT6Ddwzjs2324E02wRWM8VEpeifgOO81geTHJQ,23410
@@ -15,7 +15,7 @@ ee/collection.py,sha256=c8OFIX9OVLxTbu8HGYiHOS3Yg6QjnxaO_FAhDhDQpic,32588
15
15
  ee/computedobject.py,sha256=Cdlccd4vw2neeRQlo5Jn3Q5R-VpQcQufNuxOHfpd1FU,9186
16
16
  ee/confusionmatrix.py,sha256=e6vz-FcT6acWxk5pDEK0vLIN1pUjYMh5Gyn1QSGJT3I,4233
17
17
  ee/customfunction.py,sha256=Me_iHDnjkYR33JMttGA7pKJlPCjUk8rO_kgaIhDm27M,7408
18
- ee/data.py,sha256=TmtDZZXVJxKOVPNSabQ9DxtYALn1BXUHiZJKXzVL6w4,85371
18
+ ee/data.py,sha256=nuebPtBm3rBZMHGqxakSZmskDGFA52aip-9zOmXwBL0,85374
19
19
  ee/daterange.py,sha256=nrRYkR2M2aVU0ZJyG7yiZStFt-W2TvYVuazoZK_WZqM,4948
20
20
  ee/deprecation.py,sha256=mAFdO7fBjOu9TJd8CJB_M_NsZ6VNSxtSe820QKJx8fE,6243
21
21
  ee/deserializer.py,sha256=TjhQjcBnFpz8Kodoj74eSbvkJ2zLjpTTfUpcNEoQR2o,8357
@@ -35,7 +35,7 @@ ee/featurecollection.py,sha256=XbDgzYEEyhim0_y2AOD5Wi-TRIl90OnB1DHtAJXgvg8,14424
35
35
  ee/filter.py,sha256=GKz3IqeZSrK4X26TjWaw_uOE8KjZgSx1pS1zM07PXfI,35321
36
36
  ee/function.py,sha256=X-Mz0AvF_l809NZXK8RM6fa2h-nP7YU2sUFp6hvIbdU,7049
37
37
  ee/geometry.py,sha256=D__UeT72DDaJFakmyaPnmfHwxNtDxLJW7Vbze0Hh2Y4,59517
38
- ee/image.py,sha256=LDidnOBIQaZ1Rv9X8H6DcNUzClRYxXcy2lHGoe5L6pA,170921
38
+ ee/image.py,sha256=8ErloWEwLZZRHgwf5SHITnMvRAawPZtGC6Kfq-jCTK8,170923
39
39
  ee/image_converter.py,sha256=LblcmkWruE0BjItZ7ICv87XZlCCjZeX2HmGxf47HXyo,1469
40
40
  ee/imagecollection.py,sha256=5ZUUreU0iY23UC9sd8gh8fLapVZTruV3DGhsjmQF0xg,27102
41
41
  ee/join.py,sha256=idnuzRNFvKHRLHV5m9unp_xTsZb-E2kfgUCEYSg64ts,7578
@@ -102,8 +102,8 @@ ee/tests/reducer_test.py,sha256=vqXpgLZ7fPyfZ12srpREgMpfrKYLcFQod3Qn1Niv7VM,3197
102
102
  ee/tests/serializer_test.py,sha256=d6IEW_dt-G900IRfQnZftrwjpc1wJ-ouaQQwaLO0FxI,9834
103
103
  ee/tests/table_converter_test.py,sha256=t4yIfy40R3U17I_2nVtKm_Q2Tae-UifwZLz8qOmoC9A,5091
104
104
  ee/tests/terrain_test.py,sha256=inZ2sy807nDG_HMutzGHaqcTUaLnZQOMdWyf0NrQzV0,4561
105
- earthengine_api-1.7.4rc0.dist-info/METADATA,sha256=zPP40I_9hFvGlmzpvwPbkZIFk1M-EUL1kKlwECKMrLg,2147
106
- earthengine_api-1.7.4rc0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
107
- earthengine_api-1.7.4rc0.dist-info/entry_points.txt,sha256=-Ax4SCU-S474r8OD2LIxata6PRmkZoDrppQ4fP_exNc,50
108
- earthengine_api-1.7.4rc0.dist-info/top_level.txt,sha256=go5zOwCgm5lIS3yTR-Vsxp1gNI4qdS-MP5eY-7zMxVY,3
109
- earthengine_api-1.7.4rc0.dist-info/RECORD,,
105
+ earthengine_api-1.7.5rc0.dist-info/METADATA,sha256=RIPB9anHFzRXkFFqxYfWacsOJj9hQWTTSj5hj5d06sk,2147
106
+ earthengine_api-1.7.5rc0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
107
+ earthengine_api-1.7.5rc0.dist-info/entry_points.txt,sha256=-Ax4SCU-S474r8OD2LIxata6PRmkZoDrppQ4fP_exNc,50
108
+ earthengine_api-1.7.5rc0.dist-info/top_level.txt,sha256=go5zOwCgm5lIS3yTR-Vsxp1gNI4qdS-MP5eY-7zMxVY,3
109
+ earthengine_api-1.7.5rc0.dist-info/RECORD,,
ee/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  """The EE Python library."""
2
2
 
3
- __version__ = '1.7.4rc0'
3
+ __version__ = '1.7.5rc0'
4
4
 
5
5
  # Using lowercase function naming to match the JavaScript names.
6
6
  # pylint: disable=g-bad-name
@@ -179,7 +179,7 @@ def Initialize(
179
179
  credentials: OAuth2 credentials. 'persistent' (default) means use
180
180
  credentials already stored in the filesystem, or raise an explanatory
181
181
  exception guiding the user to create those credentials.
182
- url: The base url for the EarthEngine REST API to connect to.
182
+ url: The base url for the Earth Engine REST API to connect to.
183
183
  cloud_api_key: An optional API key to use the Cloud API.
184
184
  http_transport: The http transport method to use when making requests.
185
185
  project: The client project ID or number to use when making API calls.
ee/apitestcase.py CHANGED
@@ -89,7 +89,6 @@ class ApiTestCase(unittest.TestCase):
89
89
  ee.data.computeValue = lambda x: {'value': 'fakeValue'}
90
90
  ee.data.getMapId = self._MockMapId
91
91
  ee.data.getDownloadId = self._MockDownloadUrl
92
- ee.data.getThumbId = self._MockThumbUrl
93
92
  ee.data.getTableDownloadId = self._MockTableDownload
94
93
  # pylint: disable-next=protected-access
95
94
  ee.deprecation._FetchDataCatalogStac = self._MockFetchDataCatalogStac
@@ -104,17 +103,6 @@ class ApiTestCase(unittest.TestCase):
104
103
  self.last_download_call = {'url': '/download', 'data': params}
105
104
  return {'docid': '1', 'token': '2'}
106
105
 
107
- def _MockThumbUrl(
108
- self,
109
- params: dict[str, Any],
110
- # pylint: disable-next=invalid-name
111
- thumbType: str | None = None,
112
- ) -> dict[str, str]:
113
- del thumbType # Unused.
114
- # Hang on to the call arguments.
115
- self.last_thumb_call = {'url': '/thumb', 'data': params}
116
- return {'thumbid': '3', 'token': '4'}
117
-
118
106
  def _MockTableDownload(self, params: dict[str, Any]) -> dict[str, str]:
119
107
  self.last_table_call = {'url': '/table', 'data': params}
120
108
  return {'docid': '5', 'token': '6'}
ee/data.py CHANGED
@@ -143,9 +143,9 @@ def initialize(
143
143
 
144
144
  Args:
145
145
  credentials: The OAuth2 credentials.
146
- api_base_url: The EarthEngine REST API endpoint.
147
- tile_base_url: The EarthEngine REST tile endpoint.
148
- cloud_api_base_url: The EarthEngine Cloud API endpoint.
146
+ api_base_url: The Earth Engine REST API endpoint.
147
+ tile_base_url: The Earth Engine REST tile endpoint.
148
+ cloud_api_base_url: The Earth Engine Cloud API endpoint.
149
149
  cloud_api_key: The API key to use with the Cloud API.
150
150
  project: The client project ID or number to use when making API calls.
151
151
  http_transport: The http transport to use
ee/image.py CHANGED
@@ -57,8 +57,8 @@ class Image(element.Element):
57
57
 
58
58
  Args:
59
59
  args: This constructor accepts a variety of arguments:
60
- - A string - an EarthEngine asset id,
61
- - A string and a number - an EarthEngine asset id and version,
60
+ - A string - an Earth Engine asset id,
61
+ - A string and a number - an Earth Engine asset id and version,
62
62
  - A number - creates a constant image,
63
63
  - An ee.Array - creates a constant array image,
64
64
  - A list - creates an image out of each element of the array and