Questions tagged [google-earth-engine-python-api]

Filter by
Sorted by
Tagged with
1
vote
0answers
16 views

Google Earth Engine: Maintain area calculation accuracy while reducing resolution and exporting from

I am struggling to find a best practice for exporting data from Google Earth Engine at a reduced resolution for further analysis outside of GEE, while maintaining similar results analysis in the code ...
0
votes
0answers
31 views

Get Numpy arrays from Google Earth Engine

I would like to get the numpy arrays of some Google Earth Engine collection. For example here my intent would be to obtain a 4d numpy array with dimensions [timestamp, height, width, bands] (or ...
0
votes
2answers
161 views

Trouble plotting Earth Engine images with Folium using Python

I am trying to plot an earth engine image using Python and the Folium package as described in the Python docs for Earth Engine. I tried running the example code given and I can't seem get the image to ...
0
votes
1answer
51 views

Specifying region in export image in GEE Python API

When I export an image in GEE code editor I can pass a geometry to the 'region' parameter without problem. However, it doesn't work for Python API and I get below error for the shown code: task = ee....
5
votes
1answer
330 views

Google Earth Engine: Javascript to Python conversion: syntax error with `image1.and(image2)`

I need to convert my Earth Engine javascript code into the Python API. Most of it works, but when using the following in Python (2.7): mask = image1.and(image2) I get: File "<ipython-input-65-...
4
votes
1answer
958 views

Use Google Earth Engine to read MODIS NDVI into python

I'm trying to adapt this example for my needs: https://mygeoblog.com/2017/10/06/from-gee-to-numpy-to-geotiff/ The difference is that I'm using the MODIS NDVI image collection. # define the image img ...