269 Commits

Author SHA1 Message Date
Kurt Schwehr
363d752df1 deserializer.py: Add type annotations and test coverage.
PiperOrigin-RevId: 772041150
2025-06-16 08:41:34 -07:00
Nate Schmitz
a83eb717f0 Update algorithms.json.
PiperOrigin-RevId: 768151168
2025-06-06 11:25:14 -07:00
Sufyan Abbasi
a099c2f71d Update algorithms.json
PiperOrigin-RevId: 748097766
2025-04-15 18:24:25 -07:00
Kurt Schwehr
9321b2be71 feature and geometry distance: Add spherical argument.
PiperOrigin-RevId: 746530232
2025-04-11 11:25:48 -07:00
Kurt Schwehr
f22ab10bc5 collections.py: Add bounds().
PiperOrigin-RevId: 746075469
2025-04-10 10:08:37 -07:00
Kurt Schwehr
4eb42bcb01 collection.py: Add rowKeys to randomCollection and update algorithms.json
PiperOrigin-RevId: 745556664
2025-04-09 06:08:14 -07:00
Kurt Schwehr
f3860e1d89 image.py: Add maxPixelsPerRegion argument to reduceRegions.
PiperOrigin-RevId: 745192562
2025-04-08 10:10:58 -07:00
Kurt Schwehr
d14bbade86 data_test.py: Fix order dependent testSetMaxRetries.
PiperOrigin-RevId: 745190243
2025-04-08 10:05:46 -07:00
Filip Domański
dab7a3d598 loadBigQueryTable() and runBigQuery(): Add static methods and unit tests.
PiperOrigin-RevId: 740773370
2025-03-26 08:16:12 -07:00
Nate Schmitz
cb85dd14c4 data: Update ee.data.create_assets to work with project-owned assets.
PiperOrigin-RevId: 740407354
2025-03-25 10:51:44 -07:00
Filip Domański
d1f320339d Update algorithms.json.
PiperOrigin-RevId: 740094907
2025-03-24 15:35:21 -07:00
Kurt Schwehr
16c2314290 Update algorithms.json for hidden algorithms/Image.parseExpression.
PiperOrigin-RevId: 730655749
2025-02-24 17:20:31 -08:00
Google Earth Engine Authors
3646b8ae25 more readable deprecation message
PiperOrigin-RevId: 721188638
2025-01-29 18:30:07 -08:00
Google Earth Engine Authors
ce379a2544 Modify error message when user relies on Earth Engine's OAuth project
PiperOrigin-RevId: 718036131
2025-01-21 12:58:57 -08:00
Nate Schmitz
016b82feb4 geometry_test: Update ee.Geometry tests for the new maxError parameter.
PiperOrigin-RevId: 717583940
2025-01-20 11:20:55 -08:00
Nate Schmitz
c284517b8b Update algorithms.json.
PiperOrigin-RevId: 716771521
2025-01-17 12:59:58 -08:00
Google Earth Engine Authors
e724bc3684 Require project when initializing the client library, and un-document gcloud-legacy
PiperOrigin-RevId: 716036285
2025-01-15 18:54:58 -08:00
Nate Schmitz
b215d92878 Update algorithms.json.
PiperOrigin-RevId: 715418727
2025-01-14 09:48:20 -08:00
Google Earth Engine Authors
7df8b93136 Require project when initializing the client library, and un-document gcloud-legacy
PiperOrigin-RevId: 714290427
2025-01-10 18:08:40 -08:00
Google Earth Engine Authors
350743ec70 Require project when initializing the client library, and un-document gcloud-legacy
PiperOrigin-RevId: 713849015
2025-01-09 17:25:30 -08:00
Google Earth Engine Authors
ab477a632e Fix processing of unspecified 'proj', 'geodesic', 'evenOdd' parameters in ee.Geometry constructors.
PiperOrigin-RevId: 713532849
2025-01-08 22:03:26 -08:00
Nate Schmitz
8504af53f2 geometry_test: Add missing test coverage to geometry_test.
PiperOrigin-RevId: 712656942
2025-01-06 14:21:45 -08:00
Nate Schmitz
442de1a4a6 geometry_test: Format geometry_test.
PiperOrigin-RevId: 711589124
2025-01-02 18:54:14 -08:00
Nate Schmitz
8d0fbb086d ee_test: Add project initialization tests.
PiperOrigin-RevId: 710741669
2024-12-30 10:08:32 -08:00
Nate Schmitz
099bbdf065 oauth_test: Import oauth module directly.
PiperOrigin-RevId: 708327929
2024-12-20 08:17:38 -08:00
Nate Schmitz
bfee256ca6 oauth_test: Simplify in_colab_shell unit tests.
PiperOrigin-RevId: 708326914
2024-12-20 08:13:24 -08:00
Nate Schmitz
f2c26c2457 Update algorithms.json.
PiperOrigin-RevId: 704767324
2024-12-10 10:46:22 -08:00
Kurt Schwehr
cc8a060975 imagecollection_test.py: Add test_count.
PiperOrigin-RevId: 686929368
2024-10-17 08:47:24 -07:00
Kurt Schwehr
b281501ad3 closetPoint(s): Add unit tests and static methods.
PiperOrigin-RevId: 686145682
2024-10-15 10:06:51 -07:00
Kurt Schwehr
6f0c45eeb7 algorithms.json: Manual update to the latest.
This contains a large number of changes, but it is primarily being
done for `closestPoint(s)`.
2024-10-15 08:46:36 -07:00
Nate Schmitz
63c5020e23 batch: Add client-side validation for the table parameter in toBigQuery.
PiperOrigin-RevId: 683193677
2024-10-07 08:31:29 -07:00
Nate Schmitz
6878dad753 oauth: Add project to saved credentials when using the notebook authenticator.
PiperOrigin-RevId: 668958408
2024-08-29 09:06:34 -07:00
Nate Schmitz
384cf51cf6 helpers: Add retries to ee.profilePrinting.
PiperOrigin-RevId: 666793764
2024-08-23 07:51:51 -07:00
Kurt Schwehr
d2a821534e image.py: Make the seed argument of random be optional.
https://issuetracker.google.com/issues/361535280

PiperOrigin-RevId: 666422196
2024-08-22 11:16:38 -07:00
Nate Schmitz
3960d206f2 element: Allow datetime objects as args on ee.Element.set.
PiperOrigin-RevId: 665383517
2024-08-20 08:51:49 -07:00
Kurt Schwehr
3b9f7ac158 daterange.py: Allow DateRange to take a datetime.
PiperOrigin-RevId: 659560094
2024-08-05 08:18:26 -07:00
Kurt Schwehr
1f28ca7aaa filter.py: Make sure that ee.Filter.date can take a datetime.
PiperOrigin-RevId: 659560085
2024-08-05 08:17:17 -07:00
Kurt Schwehr
530e80db46 image.py: Add clipToBoundsAndScale static method.
PiperOrigin-RevId: 658155557
2024-07-31 15:07:10 -07:00
Kurt Schwehr
82a71a39f9 model_test.py: Refactor test data.
PiperOrigin-RevId: 658104296
2024-07-31 12:35:17 -07:00
Kurt Schwehr
5142e16d72 model_test.py: Add more complete testing of fromVertexAi.
PiperOrigin-RevId: 658038937
2024-07-31 09:40:09 -07:00
Kurt Schwehr
864d62166b model_test.py: Add serialization test for fromAiPlatformPredictor.
PiperOrigin-RevId: 657769213
2024-07-30 16:27:22 -07:00
Kurt Schwehr
8f7d5c55e4 imagecollection.py: Add static methods for reduce.{And,max,mean,median,min,mode,Or,product,sum}
PiperOrigin-RevId: 657718086
2024-07-30 13:50:15 -07:00
Kurt Schwehr
59e3ce051c model_test.py: Add serialization tests for predictImage and predictProperties.
PiperOrigin-RevId: 657023477
2024-07-28 17:57:07 -07:00
Kurt Schwehr
0fc9a97d66 collection.py: Add methods inherited from collection.py.
PiperOrigin-RevId: 653778620
2024-07-18 15:42:07 -07:00
Kurt Schwehr
4256db3ee3 geometry_point_test.py: Add tests for ee.Geometry.Point methods.
PiperOrigin-RevId: 653658098
2024-07-18 09:50:07 -07:00
Kurt Schwehr
99655e5140 *collection_test.py: Add tests for aggregate_*
PiperOrigin-RevId: 653242746
2024-07-17 08:30:34 -07:00
Kurt Schwehr
fa8a0d1148 featurecollection_test.py: Add tests for methods inherited from collection.py.
PiperOrigin-RevId: 652965873
2024-07-16 13:54:09 -07:00
Kurt Schwehr
f24230d5e2 imagecollection_test.py: Add tests for methods inherited from collection.py.
PiperOrigin-RevId: 652951145
2024-07-16 13:11:18 -07:00
Google Earth Engine Authors
3e95c18250 Don't show removal date on deprecated assets if it has already passed.
PiperOrigin-RevId: 652560476
2024-07-15 12:15:25 -07:00
Kurt Schwehr
307efba839 Add Collection.distance.
PiperOrigin-RevId: 651917385
2024-07-12 16:30:10 -07:00