329 Commits

Author SHA1 Message Date
Kurt Schwehr
60df52ebaf data.py: Fix missing f-string in getMapId
Found by @jhonyasv in df3cc8ed47 / https://github.com/google/earthengine-api/pull/611

Yanked https://pypi.org/project/earthengine-api/1.7.9

PiperOrigin-RevId: 856252503
2026-01-14 09:47:12 -08:00
Justin Braaten
15d86fda1a Add support for 'NUMPY' format in image export.
PiperOrigin-RevId: 855371487
2026-01-12 13:54:03 -08:00
Kurt Schwehr
4241f567b2 filter_tests.py: Improve coverage of __init__ and add coverage of predicateCount.
PiperOrigin-RevId: 855226624
2026-01-12 07:50:46 -08:00
Kurt Schwehr
4c702252ed image_test.py: Add coverage for rgb()
PiperOrigin-RevId: 855220665
2026-01-12 07:32:09 -08:00
Kurt Schwehr
23d98605cd imagecollection_test.py: Add coverage for fromImages()
PiperOrigin-RevId: 855216222
2026-01-12 07:15:16 -08:00
Kurt Schwehr
7deb08b59e filter_test.py: Test noop filter construction - this should not be used.
PiperOrigin-RevId: 853780771
2026-01-08 09:47:21 -08:00
Kurt Schwehr
834dc8e311 Revert remove filter __init__'s elif filter_ is None.
PiperOrigin-RevId: 852958902
2026-01-06 15:26:48 -08:00
Kurt Schwehr
122ad4340e Remove filter _append and __init__'s elif filter_ is None.
PiperOrigin-RevId: 852414660
2026-01-05 12:41:26 -08:00
Kurt Schwehr
c4c254ad25 imagecollection.py: Improve the error message for "Invalid format specified for thumbnail" in _getThumbURL
PiperOrigin-RevId: 852391669
2026-01-05 11:44:27 -08:00
Kurt Schwehr
f8ad161885 function_test.py: Add coverage
PiperOrigin-RevId: 852320554
2026-01-05 08:55:30 -08:00
Kurt Schwehr
0d42b01e6b image_test.py: Add coverage
PiperOrigin-RevId: 852320177
2026-01-05 08:54:05 -08:00
Kurt Schwehr
e627eca9b9 imagecollection_test.py: Improve test coverage
PiperOrigin-RevId: 852317943
2026-01-05 08:47:19 -08:00
Kurt Schwehr
96695befe9 join_test.py: Add test_join_type_error.
PiperOrigin-RevId: 852282531
2026-01-05 06:54:19 -08:00
Kurt Schwehr
9c8d4f27a1 feature: Add coverage and fix some lint complaints.
PiperOrigin-RevId: 847902018
2025-12-22 15:23:25 -08:00
Kurt Schwehr
8d1b55a6ff featurecollection: Add test coverage and fix lint.
PiperOrigin-RevId: 847901891
2025-12-22 15:22:10 -08:00
Kurt Schwehr
55d9358e97 Add test coverage for ee_types.py - isSubtype and isArray.
PiperOrigin-RevId: 847879507
2025-12-22 14:11:11 -08:00
Kurt Schwehr
22df74eba6 element_test.py: Improve test coverage.
PiperOrigin-RevId: 847843689
2025-12-22 12:10:54 -08:00
Kurt Schwehr
78a2b55d23 ee_list.py: Fix pytype error.
PiperOrigin-RevId: 847840471
2025-12-22 12:02:02 -08:00
Kurt Schwehr
a5db473f29 Add encodable_test.py.
PiperOrigin-RevId: 847837164
2025-12-22 11:50:48 -08:00
Kurt Schwehr
78719ffd93 ee_list: Improve test coverage and fix pylint warning on map()
PiperOrigin-RevId: 847779876
2025-12-22 08:48:11 -08:00
Kurt Schwehr
e86370112e data_test.py: Add test coverage for getMapId, getThumbnail, and makeThumbUrl
PiperOrigin-RevId: 846885890
2025-12-19 15:22:08 -08:00
Kurt Schwehr
e968ff94fe daterange_test.py: Add a test for unbounded.
PiperOrigin-RevId: 846835146
2025-12-19 12:52:49 -08:00
Kurt Schwehr
7bea5754bd Update algorithms.json: Collection.loadTable and Image.glcmTexture
PiperOrigin-RevId: 844853408
2025-12-15 11:28:07 -08:00
Kurt Schwehr
2f400297d4 Update algorithms.json: C2C, Image.loadMosaic, SLD Styling.
PiperOrigin-RevId: 842203336
2025-12-09 06:10:00 -08:00
Google Earth Engine Authors
d4f4312113 Add overwrite parameter for image/table toAsset methods.
PiperOrigin-RevId: 833854880
2025-11-18 09:51:28 -08:00
Kurt Schwehr
4884055c0a data.py: Lint and add test coverage
PiperOrigin-RevId: 833400162
2025-11-17 10:34:46 -08:00
Kurt Schwehr
354d951a23 oauth.py: Lint and add test coverage
PiperOrigin-RevId: 831579437
2025-11-12 16:14:12 -08:00
Kurt Schwehr
4c08ad24ac oauth_test.py: Use mock.patch.object
PiperOrigin-RevId: 831558756
2025-11-12 15:18:11 -08:00
Kurt Schwehr
0031df82a1 table_converter.py: Add test coverage
PiperOrigin-RevId: 831440907
2025-11-12 10:18:59 -08:00
Kurt Schwehr
96168e6c42 python/ee: pyupgrade --py310 *.py.
PiperOrigin-RevId: 826592749
2025-10-31 12:45:18 -07:00
Kurt Schwehr
ccd4180964 collection: Add test coverage for filter and loadTable.
PiperOrigin-RevId: 825607486
2025-10-29 10:28:40 -07:00
Kurt Schwehr
ea3fd5552b ee_number: Add test for expression().
PiperOrigin-RevId: 825587134
2025-10-29 09:44:00 -07:00
Kurt Schwehr
1c3d5a7a71 ee_number: Fix parse() and add a test.
PiperOrigin-RevId: 825580106
2025-10-29 09:25:20 -07:00
Kurt Schwehr
fc6443fa15 reducer_test.py: Improve test coverage of ridgeRegression.
PiperOrigin-RevId: 822278972
2025-10-21 14:30:28 -07:00
Kurt Schwehr
44a12d55a4 kernel_test.py: Add coverage for fixed.
PiperOrigin-RevId: 822274961
2025-10-21 14:21:31 -07:00
Kurt Schwehr
a24e3cb814 model_test.py: Improve coverage of __init__.
PiperOrigin-RevId: 822274841
2025-10-21 14:20:13 -07:00
Kurt Schwehr
a49a1bdcab deserializer: Improve test coverage.
PiperOrigin-RevId: 821812166
2025-10-20 14:39:36 -07:00
Kurt Schwehr
50fd00deb0 model_test.py: Improve test coverage.
PiperOrigin-RevId: 821723470
2025-10-20 11:12:26 -07:00
Kurt Schwehr
13b2660b48 terrain_test.py: Test use of __init__ that always raises a RuntimeError and test name()
PiperOrigin-RevId: 819907521
2025-10-15 14:10:40 -07:00
Kurt Schwehr
386529c81e serializer_test.py: Improve test coverage
PiperOrigin-RevId: 819820266
2025-10-15 10:39:57 -07:00
Google Earth Engine Authors
d2eef67942 Add the superseding dataset id to the Python client dataset deprecation warning.
PiperOrigin-RevId: 819250677
2025-10-14 09:07:51 -07:00
Kurt Schwehr
95891bb315 batch_test.py: Add test for State.success.
PiperOrigin-RevId: 818898751
2025-10-13 17:18:34 -07:00
Nate Schmitz
30a9a716c7 geometry: Fix assertion when using the Geometry constructor with a computed geometry and evenOdd, proj, or geodesic overrides.
PiperOrigin-RevId: 816239660
2025-10-07 09:15:19 -07:00
Nate Schmitz
f1d27e8b55 geometry: Add a test for the Geometry constructor with a computed geometry and evenOdd, proj, or geodesic overrides.
PiperOrigin-RevId: 816232377
2025-10-07 08:59:29 -07:00
Google Earth Engine Authors
3bfd68cbf7 oauth: Validate supported scopes in ee.Authenticate() when auth_mode='colab'.
PiperOrigin-RevId: 814799594
2025-10-03 13:01:04 -07:00
Kurt Schwehr
1277abe7ae ee_number_test.py: Fix test_init_invalid_arg pytype complaint
PiperOrigin-RevId: 814693219
2025-10-03 07:55:10 -07:00
Kurt Schwehr
48f77601a7 ee_string.py: Improve file
PiperOrigin-RevId: 813919811
2025-10-01 14:39:45 -07:00
Nate Schmitz
5f90acaa89 commands: Remove use of deprecated task methods from EE CLI.
PiperOrigin-RevId: 813846078
2025-10-01 11:47:57 -07:00
Kurt Schwehr
54f7bbf63b Use snake case for test names.
PiperOrigin-RevId: 813772945
2025-10-01 08:55:08 -07:00
Kurt Schwehr
698a8127b7 ee_number_test.py: Test invalid argument for __init__
PiperOrigin-RevId: 813480982
2025-09-30 16:44:48 -07:00