diff --git a/app/plugins/grass_engine.py b/app/plugins/grass_engine.py index 7ac08a98..81aaa87e 100644 --- a/app/plugins/grass_engine.py +++ b/app/plugins/grass_engine.py @@ -86,6 +86,7 @@ class GrassContext: f.write(tmpl.substitute(self.template_args)) # Execute it + logger.info("Executing grass script from {}: {} -c {} location --exec sh script.sh".format(self.get_cwd(), self.grass_binary, self.location)) p = subprocess.Popen([self.grass_binary, '-c', self.location, 'location', '--exec', 'sh', 'script.sh'], cwd=self.get_cwd(), stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = p.communicate() diff --git a/app/static/app/js/components/Map.jsx b/app/static/app/js/components/Map.jsx index 352c6cc3..d13a4b8b 100644 --- a/app/static/app/js/components/Map.jsx +++ b/app/static/app/js/components/Map.jsx @@ -67,7 +67,6 @@ class Map extends React.Component { loadImageryLayers(forceAddLayers = false){ const { tiles } = this.props, - assets = AssetDownloads.excludeSeparators(), layerId = layer => { const meta = layer[Symbol.for("meta")]; return meta.task.project + "_" + meta.task.id; @@ -132,10 +131,8 @@ class Map extends React.Component {
Bounds: [${layer.options.bounds.toBBoxString().split(",").join(", ")}]
-