gee-community / eetasks Goto Github PK
View Code? Open in Web Editor NEWEarth Engine tasks monitoring in vscode
License: MIT License
Earth Engine tasks monitoring in vscode
License: MIT License
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.
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.
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)
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.