Giter Site home page Giter Site logo

eetasks's People

Contributors

lopezvoliver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lopezvoliver

eetasks's Issues

Some columns don't appear

It seems that the columns are determined by the first task in the list, i.e., the most recent one. If that task has the State as PENDING, FAILED, or RUNNING, then the EndTime and BatchEECU will not appear for any row.

EE script run failed: Error: Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.

I encountered this error when trying to create a Export.image.toAsset task:

EE script run failed: Error: Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.

In this context, I think it has to do with the region parameter (e.g., see source code here. This is the relevant piece of code in my export task:

var region = ee.FeatureCollection("FAO/GAUL/2015/level0")
.filter(ee.Filter.eq("ADM0_NAME","Saudi Arabia"))
.geometry().dissolve({maxError:500})

Export.image.toAsset({
      image: myEEimage,
      description:"myDescription",
      assetId:"myAssetId",
      crs:"EPSG:4326",
      crsTransform:[6/60,0,3/60,0,6/60,3/60],
      region:region
})

This script worked as is in the Code Editor.

After changing the code above to:

var region = ee.FeatureCollection("FAO/GAUL/2015/level0")
.filter(ee.Filter.eq("ADM0_NAME","Saudi Arabia"))
.geometry().dissolve({maxError:500})
.evaluate((r)=>{
    Export.image.toAsset({
      image: myEEimage,
      description:"myDescription",
      assetId:"myAssetId",
      crs:"EPSG:4326",
      crsTransform:[6/60,0,3/60,0,6/60,3/60],
      region:r
     })
}
)

then the script worked with EE Tasks: run GEE script and the task was submitted correctly.

Activation event issue TypeError: h is not a function

Testing in a new vscode installation in a Linux system without gcloud, i.e. only using persistent credentials. The extension failed to activate the eetasks.open command. Here's the error from the Extension Host output channel:

2023-11-14 09:59:17.557 [info] ExtensionService#_doActivateExtension gee-community.eetasks, startup: false, activationEvent: 'onCommand:eetasks.open'
2023-11-14 09:59:18.923 [error] TypeError: h is not a function
at DA (c:\Users\lopezom\.vscode\extensions\gee-community.eetasks-0.1.1\out\extension.js:145:106040)

Problem with authentication to run eetasks

The extension describes two ways of authenticate. The first one is with EE Tasks: Sign in, and the second one is with EE Tasks: update available accounts if we are registered with the python client library. I tried both of them. I think it is important to say that I have been running python scripts to run some tasks with ee.Authenticate(). I also seem to have no problem running scripts on the GEE editor.

However, I have been completely unable to the eetasks extension and I don't seem to figure out why this is the problem. The screenshot below is the error message that I have.

Screenshot 2024-04-01 at 10 49 32 AM

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.