Code Monkey home page Code Monkey logo

Comments (5)

ysubash avatar ysubash commented on August 20, 2024 1

Thanks @dugalh for taking time in finding the cause of the issue. The solutions you suggested worked.

from geedim.

dugalh avatar dugalh commented on August 20, 2024

Hello. What are the values of fc_df["ID"] and geom?

from geedim.

ysubash avatar ysubash commented on August 20, 2024

geom = {'type': 'Polygon', 'coordinates': [[[4.275583981624501, 51.20401018220516], [4.275583981624501, 51.7412925316889], [3.359677872973738, 51.7412925316889], [3.359677872973738, 51.20401018220516], [4.275583981624501, 51.20401018220516]]]}

and thefc_df["ID"]are

COPERNICUS/S2_SR/20191130T110319_20191130T110622_T31UET
COPERNICUS/S2_SR/20191130T110319_20191130T110622_T31UES
COPERNICUS/S2_SR/20191202T105421_20191202T105436_T31UET
COPERNICUS/S2_SR/20191202T105421_20191202T105436_T31UES

looped through

from geedim.

ysubash avatar ysubash commented on August 20, 2024

Hi Dugalh,

errror_1

download

This is the screenshot of the error. The download stops exactly at 66.7% with the error stated above in the thread

from geedim.

dugalh avatar dugalh commented on August 20, 2024

MaskedImage includes a computed mask band. GEE is running out of memory when computing this in tiles outside of the image footprint. You can work around it in one of two ways:

  1. Make sure the download region lies inside the image footprint e.g.
    import ee
    ...
    region = ee.Geometry(geom).intersection(collection.footprint)
    collection.download(ofilename, region=region, overwrite=True)
  1. Specify the max_tile_size parameter in the call to MaskedImage.download(). max_tile_size=8 works for me.

from geedim.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.