eemont.extra.require
- eemont.extra.require(module)[source]
Loads and executes a JavaScript GEE module.
All modules must be first installed before requiring them. After requiring the module, it can be used in the same way as it is used in the Code Editor.
Warning
This method is highly
experimental. Please report any irregularities in the Issues Page of eeExtra.- Parameters
module (str) – Path to the module in the Code Editor (e.g. “users/dmlmont/spectral:spectral”).
- Returns
Loaded module. Methods and attributes can be accessed using dot notation.
- Return type
BoxDict
Examples
>>> import ee, eemont >>> ee.Authenticate() >>> ee.Initialize() >>> LandsatLST = ee.require("users/sofiaermida/landsat_smw_lst:modules/Landsat_LST.js")