Skip to content

Commit c35f14a

Browse files
committed
Correcting upload path for clipping service.
RE:#186
1 parent 292801e commit c35f14a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clipping-service/app/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
from flask_cors import CORS
2424
from google.cloud import storage
2525
from osgeo import gdal
26-
from osgeo import osr
2726
from osgeo import ogr
27+
from osgeo import osr
2828

2929
app = flask.Flask(__name__, template_folder='templates')
3030

@@ -55,7 +55,7 @@
5555
SOURCE_LOGGER.setLevel(logging.DEBUG)
5656
GOOGLE_STORAGE_URL = 'https://storage.googleapis.com'
5757
TRUSTED_BUCKET = f'{GOOGLE_STORAGE_URL}/natcap-data-cache'
58-
TARGET_FILE_BUCKET = 'gs://jupyter-app-temp-storage'
58+
TARGET_FILE_BUCKET = 'gs://jupyter-app-temp-storage/clipped'
5959
TARGET_BUCKET_URL = f'{GOOGLE_STORAGE_URL}/jupyter-app-temp-storage'
6060
WORKSPACE_DIR = os.environ.get('WORKSPACE_DIR', os.getcwd())
6161
app.logger.info("WORKSPACE_DIR: %s", WORKSPACE_DIR)

0 commit comments

Comments
 (0)