236 Commits

Author SHA1 Message Date
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
Google Earth Engine Authors
74f2c9f7b1 Add a method to set the max number of retries.
PiperOrigin-RevId: 651875150
2024-07-12 13:43:01 -07:00
Kurt Schwehr
28af3ea5f5 reducer.py: Add static methods
PiperOrigin-RevId: 651870342
2024-07-12 13:26:46 -07:00
Kurt Schwehr
5f9a354acd clusterer.py: Add static methods
PiperOrigin-RevId: 651377278
2024-07-11 05:45:52 -07:00
Kurt Schwehr
f0ab77860a kernel.py: Add static methods.
PiperOrigin-RevId: 650974101
2024-07-10 05:19:48 -07:00
Kurt Schwehr
4166faea6a dictionary_test.py: Minor formatting cleanup.
PiperOrigin-RevId: 650695322
2024-07-09 11:18:00 -07:00
Kurt Schwehr
e03a00fa7c classifier.py: Add static methods.
PiperOrigin-RevId: 649055796
2024-07-03 06:44:55 -07:00
Kurt Schwehr
8c5a7aa786 reducer_test.py: Add tests for all methods.
PiperOrigin-RevId: 648512739
2024-07-01 16:03:58 -07:00
Kurt Schwehr
42f006bd4e classifier_test.py: Add tests for all methods.
PiperOrigin-RevId: 648505310
2024-07-01 15:35:27 -07:00
Kurt Schwehr
e31f05ff0f clusterer_test.py: Add tests for all methods.
PiperOrigin-RevId: 648504910
2024-07-01 15:33:13 -07:00
Kurt Schwehr
82f88ba4c3 kernel_test.py: Add tests for all methods.
PiperOrigin-RevId: 648400890
2024-07-01 09:51:46 -07:00
Kurt Schwehr
8b1cf47510 join_test.py: Add serialization tests.
PiperOrigin-RevId: 647762276
2024-06-28 12:20:36 -07:00
Kurt Schwehr
2794b56b39 join_test.py: Sort existing tests, but put test_join_no_args first.
PiperOrigin-RevId: 647740455
2024-06-28 11:11:47 -07:00
Kurt Schwehr
ca38b6b2a8 filter_test.py: Add serialize tests
PiperOrigin-RevId: 646579140
2024-06-25 13:05:04 -07:00
Kurt Schwehr
6aa4bb5f43 filter_test.py: Convert all test methods to snake case.
PiperOrigin-RevId: 645536958
2024-06-21 16:44:31 -07:00
Kurt Schwehr
d456058b8c ee_string.py: Add static constructor for encodeJSON.
PiperOrigin-RevId: 645179065
2024-06-20 15:43:01 -07:00
Kurt Schwehr
af57d92cd2 ee_array.py: Add bitsToArray @staticmethod constructor.
PiperOrigin-RevId: 645170744
2024-06-20 15:13:07 -07:00
Kurt Schwehr
0af18797db Fix typo in python testing: UsupportedUnsupported.
PiperOrigin-RevId: 645162022
2024-06-20 14:45:52 -07:00
Kurt Schwehr
54930b6f2e terrain.py: Add static methods.
PiperOrigin-RevId: 645017579
2024-06-20 07:05:13 -07:00
Kurt Schwehr
5d9e247563 pixeltype.py: Add static methods for constructors without args.
PiperOrigin-RevId: 644468693
2024-06-18 12:04:58 -07:00
Kurt Schwehr
74f0b0f6dd ee_list.py: Add staticmethod constructors for repeat and sequence
PiperOrigin-RevId: 644468483
2024-06-18 12:04:09 -07:00
Kurt Schwehr
6bf46ea22a pixeltype_test.py: Add unit tests for static methods for constructors without args.
PiperOrigin-RevId: 644382241
2024-06-18 07:43:29 -07:00
Kurt Schwehr
80e697c39b ee_array.py: Add cat and identity @staticmethod constructors.
PiperOrigin-RevId: 643364568
2024-06-14 09:12:12 -07:00
Kurt Schwehr
fd9ec8e4de Adds comma after e.g.
PiperOrigin-RevId: 642704081
2024-06-12 12:45:31 -07:00
Kurt Schwehr
7ad3890427 blob.py: Add static methods.
PiperOrigin-RevId: 642666458
2024-06-12 10:52:57 -07:00
Nate Schmitz
0eb49518f9 testing: Enable unit tests that don't pass on GitHub.
PiperOrigin-RevId: 642261309
2024-06-11 07:23:16 -07:00
Kurt Schwehr
ea9c23a7c3 Drop support for Python 3.7.
- https://groups.google.com/g/google-earth-engine-developers/c/POe3mMz9C38
- https://developers.google.com/earth-engine/guides/python_install#python-support

PiperOrigin-RevId: 641081549
2024-06-06 18:05:37 -07:00
Kurt Schwehr
fc2f3c8788 Feature, FeatureCollection, Image, and ImageCollection copyProperties: add testing
PiperOrigin-RevId: 636683995
2024-05-23 14:50:14 -07:00
Kurt Schwehr
49ee8b8bc5 featurecollection.py: Rename range to a_range to avoid redefining a reserved word
PiperOrigin-RevId: 636664471
2024-05-23 13:50:12 -07:00
Google Earth Engine Authors
39688b0b09 No public description
PiperOrigin-RevId: 635859242
2024-05-21 18:49:06 +00:00
Google Earth Engine Authors
e9cc3423fb v0.1.403
PiperOrigin-RevId: 632474175
2024-05-15 17:59:00 +00:00
Google Earth Engine Authors
5322d7c480 v0.1.402
PiperOrigin-RevId: 630164461
2024-05-09 15:32:23 +00:00
Google Earth Engine Authors
651fb1149d v0.1.401
PiperOrigin-RevId: 627843463
2024-05-02 17:16:42 +00:00
Google Earth Engine Authors
67e748b84b v0.1.400
PiperOrigin-RevId: 626030218
2024-04-24 18:48:35 +00:00