earthengine-api 1.7.10rc1__py3-none-any.whl → 1.7.11rc0__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.10rc1
3
+ Version: 1.7.11rc0
4
4
  Summary: Earth Engine Python API
5
5
  Author-email: Google LLC <noreply@google.com>
6
6
  License: Apache-2.0
@@ -1,7 +1,7 @@
1
- earthengine_api-1.7.10rc1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
2
- ee/__init__.py,sha256=2JgEeOTScwG1pgdzS3-Og7HUX4xmKFStihNq8jq_lRQ,16763
1
+ earthengine_api-1.7.11rc0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
2
+ ee/__init__.py,sha256=VGno8Hzf8lCda86Nv79jKgxD-j-GTyZhbJi1eF6NJ10,16763
3
3
  ee/_arg_types.py,sha256=nrJrnPFnAS8fzMxAGmG3TbUOi_yFVrnSGW5IP8ATzDQ,2662
4
- ee/_cloud_api_utils.py,sha256=5WPzP5bcBIbjA7yYN-Cwmht_HU-XobbTrZvRiOEn0e0,32890
4
+ ee/_cloud_api_utils.py,sha256=3aXO2f8O2OQXl3ul_Wevm725FHALtx7SjS8_F2GEGl8,32937
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
@@ -55,7 +55,7 @@ ee/cli/commands.py,sha256=-Quo-cq0MRIpVmGt5xpAgNS0oVU6JJTXpg3npbYmyPw,73444
55
55
  ee/cli/eecli.py,sha256=1yDyingkwurai13F_PF91RYsBev6jGJ9WEoZaT2Dgy8,3043
56
56
  ee/cli/eecli_wrapper.py,sha256=Z7R3IJcht2uG1h57oY7BSrkPiwQzNmmYlyCSX1_7L7c,1089
57
57
  ee/cli/utils.py,sha256=OcGKS8fe26aXReYVSswv3n1DQlG4FcQEfHqBIHF3AOs,14233
58
- ee/tests/_cloud_api_utils_test.py,sha256=p8kwehArlj_j4HWsx6vNEk2Dw17MlxYw0XtzupsDWdY,19493
58
+ ee/tests/_cloud_api_utils_test.py,sha256=hQW7RKOH4Yg7tv5s6OQXA5hs6XD_GQBhXFkX1On2foI,19591
59
59
  ee/tests/_helpers_test.py,sha256=vyhbY9hE_zcSI692eAdjtM36P2vVXScDj_ENA-0tces,3991
60
60
  ee/tests/_state_test.py,sha256=AKe5Vopzt24FJPiPcEce_oOT861gOkd6mUOAWZr6C0g,1175
61
61
  ee/tests/_utils_test.py,sha256=bOarVj3U-VFo9Prog8WQN_hAOMwJOiWKJxevUbdFPBQ,2753
@@ -103,8 +103,8 @@ ee/tests/reducer_test.py,sha256=vqXpgLZ7fPyfZ12srpREgMpfrKYLcFQod3Qn1Niv7VM,3197
103
103
  ee/tests/serializer_test.py,sha256=d6IEW_dt-G900IRfQnZftrwjpc1wJ-ouaQQwaLO0FxI,9834
104
104
  ee/tests/table_converter_test.py,sha256=t4yIfy40R3U17I_2nVtKm_Q2Tae-UifwZLz8qOmoC9A,5091
105
105
  ee/tests/terrain_test.py,sha256=inZ2sy807nDG_HMutzGHaqcTUaLnZQOMdWyf0NrQzV0,4561
106
- earthengine_api-1.7.10rc1.dist-info/METADATA,sha256=NS2_fYKjRZv2xCB19s3GCc-SkKsBRcLU0LlcE_souGQ,2199
107
- earthengine_api-1.7.10rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
108
- earthengine_api-1.7.10rc1.dist-info/entry_points.txt,sha256=-Ax4SCU-S474r8OD2LIxata6PRmkZoDrppQ4fP_exNc,50
109
- earthengine_api-1.7.10rc1.dist-info/top_level.txt,sha256=go5zOwCgm5lIS3yTR-Vsxp1gNI4qdS-MP5eY-7zMxVY,3
110
- earthengine_api-1.7.10rc1.dist-info/RECORD,,
106
+ earthengine_api-1.7.11rc0.dist-info/METADATA,sha256=VR6-C-gKsKVbB9bL-p4wVyxA1awrf4QxM--QDZ1ce7I,2199
107
+ earthengine_api-1.7.11rc0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
108
+ earthengine_api-1.7.11rc0.dist-info/entry_points.txt,sha256=-Ax4SCU-S474r8OD2LIxata6PRmkZoDrppQ4fP_exNc,50
109
+ earthengine_api-1.7.11rc0.dist-info/top_level.txt,sha256=go5zOwCgm5lIS3yTR-Vsxp1gNI4qdS-MP5eY-7zMxVY,3
110
+ earthengine_api-1.7.11rc0.dist-info/RECORD,,
ee/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  """The EE Python library."""
2
2
 
3
- __version__ = '1.7.10rc1'
3
+ __version__ = '1.7.11rc0'
4
4
 
5
5
  # Using lowercase function naming to match the JavaScript names.
6
6
  # pylint: disable=g-bad-name
ee/_cloud_api_utils.py CHANGED
@@ -721,6 +721,8 @@ def convert_to_image_file_format(format_str: str | None) -> str:
721
721
  return 'GEO_TIFF'
722
722
  elif format_str == 'TFRECORD':
723
723
  return 'TF_RECORD_IMAGE'
724
+ elif format_str == 'NUMPY':
725
+ return 'NPY'
724
726
  else:
725
727
  # It's probably "JPEG" or "PNG", but might be some other supported format.
726
728
  # Let the server validate it.
@@ -289,6 +289,9 @@ class CloudApiUtilsTest(unittest.TestCase):
289
289
  _cloud_api_utils.convert_to_image_file_format('GeoTIFF'))
290
290
  self.assertEqual('TF_RECORD_IMAGE',
291
291
  _cloud_api_utils.convert_to_image_file_format('TFRecord'))
292
+ self.assertEqual(
293
+ 'NPY', _cloud_api_utils.convert_to_image_file_format('numpy')
294
+ )
292
295
 
293
296
  def test_convert_to_table_file_format(self):
294
297
  self.assertEqual('CSV',