MCPcopy
hub / github.com/google/earthengine-api / create

Method create

javascript/src/batch.js:56–68  ·  view source on GitHub ↗

* Creates a task. * * @param {!Object} exportArgs The export task arguments. * @return {!ExportTask} * @package

(exportArgs)

Source from the content-addressed store, hash-verified

54 * @package
55 */
56 static create(exportArgs) {
57 // Extract the EE element from the exportArgs.
58
59 const eeElement = Export.extractElement(exportArgs);
60 // Construct a configuration object for the server.
61 let config = {'element': eeElement};
62 Object.assign(config, exportArgs);
63 // The config is some kind of task configuration.
64 config = /** @type {!data.AbstractTaskConfig} */ (
65 googObject.filter(config, x => x != null));
66
67 return new ExportTask(config);
68 }
69
70 /**
71 * Starts processing of the task.

Callers 8

image.jsFile · 0.45
constructorMethod · 0.45
clearAndDropMethod · 0.45
batch.jsFile · 0.45
data.jsFile · 0.45
function.jsFile · 0.45
ee.jsFile · 0.45

Calls 1

filterMethod · 0.45

Tested by

no test coverage detected