I have coding in Gee and want to export, like this "Export.image.toDrive({ image:…
- User
I have coding in Gee and want to export, like this "Export.image.toDrive({ image: tcimam12, description: 'tcimam12', folder: 'skripsi2', region: SHP.geometry().bounds(), scale: 1000, crs: 'EPSG:4326', maxPixels: 1e10 });" but the export take a very long time, how to make it fast? Even though the size is very small, only 1 MB, but why is it taking so long? do you know how to fix the code or have a solution?
- Assistant
It's important to note that exporting images in Google Earth Engine can sometimes take time due to various factors like server load, processing requirements for the specific image, etc.
However, there are a few optimizations you can apply to your code:
-
Reduce the
scalevalue: Lowering the scale can help in reducing the processing time and file size. However, keep in mind that decreasing it will also reduce the resolution, so striking the right balance is important. -
Limit the
regionvalue: Instead of using the entire geometry bounds (SHP.geometry().bounds()), try to limit your exporting area by selecting a specific region of interest. This can reduce the required processing and export time.
-