-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exporting a Collection into Local Computer Disk #27
Comments
Hi @KonstantinosF! There is a way to use from geetools import batch
import ee
geom = ee.Geometry.Point([-72,-42]).buffer(1000)
col = ee.ImageCollection.fromImages([ee.Image.random(1), ee.Image.random(2), ee.Image.random(3)])
size = col.size().getInfo()
clist = col.toList(size)
for i in range(size):
image = ee.Image(clist.get(i))
iid = image.id().getInfo()
name = 'test_'+iid
print('downloading '+name)
batch.Image.toLocal(image, name, scale=100, region=geom) |
Hi @KonstantinosF , how did it go? |
Hi @adriano, I couldn't find this message in GitHub.. I haven't made good
documentation yet, but I know I need to. Meanwhile you can do
`help(batch.Image.toFile)`
El jue., 23 de may. de 2019 a la(s) 19:24, Adriano Matos (
[email protected]) escribió:
… @fitoprincipe <https://github.com/fitoprincipe> I want to do the same. Is
there documentation on all the functions in geetools? I can't find it the
folder I downloaded, but I could easily be looking in the wrong spot. Also,
can you specify the directory to save the images to when exporting to a
local computer? Thanks in advance!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#27>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACSA4EJTFYYSBKG37UNFFFDPW4KSTANCNFSM4G6ZZBWA>
.
--
*Rodrigo E. Principe*
Forest Engineer
linkedin.com/in/rprincipe82 <http://www.linkedin.com/in/rprincipe82>
github.com/fitoprincipe
|
Hi @fitoprincipe ! I am trying to also download imagery to my local computer, but I keep getting this error: [example.zip] Thanks so much in advance! UPDATE: The script works when I select only one band in the image collection ("l8sr"), but it does not like it when I select 7 bands from the image collection to download. |
@fitoprincipe Oh sorry! I deleted the reply because I figured out the "toLocal" function myself. I did message you with an error message I am getting when using "toLocal." I will continue to look into this myself, unless you know of this error. |
@fitoprincipe I'm trying to do the same but match the outputs to what I do in google earth engine. I'm after a multi-band tif with named bands the same as the following, but saved to the local disk rather than google drive
I have seen your suggestions, but Any tips would be appreciated. |
You can try geemap. see https://geemap.org/notebooks/11_export_image |
I didn't see the |
HI!,
I would like to download an Image collection (more than 80 GB) into my personal computer, because google drive doesn't offer a lot of storage.
Is that possible? and if yes, How?
Thank you
The text was updated successfully, but these errors were encountered: