libpython: C:/Users/.../AppData/Local/r-miniconda/envs/rgee/python38.dll
pythonhome: C:/Users/.../AppData/Local/r-miniconda/envs/rgee
version: 3.8.20 | packaged by conda-forge | (default, Sep 30 2024, 17:44:03) [MSC v.1929 64 bit (AMD64)]
Architecture: 64bit
numpy: C:/Users/.../AppData/Local/r-miniconda/envs/rgee/Lib/site-packages/numpy
numpy_version: 1.24.4
ee: C:\Users\...\AppData\Local\R-MINI~1\envs\rgee\lib\site-packages\ee\__init__.p
NOTE: Python version was forced by RETICULATE_PYTHON
Description
Both ee_as_rast() and ee_imagecollection_to_local() return multiple .tif files that seem much smaller than are necessary.
Sure, ee_as_rast() warns us, NOTE: To avoid memory excess problems, ee_as_rast will not build Raster objects for large images., but the files returned with the script below returns 6 files ranging from 143KB to 853KB, which seems well below the threshold for "large images."
Is there any way to ensure/force files that would only be a few MB total to download as a single .tif?
rgee version: 1.1.7
R version: "R version 4.4.1 (2024-06-14 ucrt)"
Operating System: Windows 11
[x] You have the Python API installed (from terminal):
YES this runs fine
[x] You can find the credentials file on your system:
returns FALSE
[x] You can run a simple EE command from R:
YES I can initialize (although I use
ee$Initialize(project='ee-xxx'
) and the metadata comes through:Python (reticulate) configuration:
Results as follows:
Description
Both
ee_as_rast()
andee_imagecollection_to_local()
return multiple.tif
files that seem much smaller than are necessary. Sure,ee_as_rast()
warns us, NOTE: To avoid memory excess problems, ee_as_rast will not build Raster objects for large images., but the files returned with the script below returns 6 files ranging from 143KB to 853KB, which seems well below the threshold for "large images."Is there any way to ensure/force files that would only be a few MB total to download as a single
.tif
?What I Did
Returns:
Similar with export on the image collection (same as above but without
ee$ImageCollection$toBands()
):