ellipsis 3.1.47__tar.gz → 3.1.48__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ellipsis might be problematic. Click here for more details.
- {ellipsis-3.1.47 → ellipsis-3.1.48}/PKG-INFO +1 -1
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/__init__.py +1 -1
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/apiManager.py +5 -2
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/raster/timestamp/root.py +2 -2
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis.egg-info/PKG-INFO +1 -1
- {ellipsis-3.1.47 → ellipsis-3.1.48}/setup.py +1 -1
- {ellipsis-3.1.47 → ellipsis-3.1.48}/test/test.py +1 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/LICENSE +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/README.md +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/account/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/account/accessToken/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/account/accessToken/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/account/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/bookmark/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/bookmark/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/file/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/file/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/folder/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/folder/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/hashtag/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/hashtag/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/invite/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/invite/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/member/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/member/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/pointCloud/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/pointCloud/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/pointCloud/timestamp/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/pointCloud/timestamp/file/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/pointCloud/timestamp/file/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/pointCloud/timestamp/order/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/pointCloud/timestamp/order/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/pointCloud/timestamp/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/pointCloud/timestamp/util.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/raster/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/raster/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/raster/style/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/raster/style/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/raster/timestamp/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/raster/timestamp/file/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/raster/timestamp/file/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/raster/timestamp/order/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/raster/timestamp/order/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/raster/timestamp/util.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/setUpTask/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/setUpTask/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/usage/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/usage/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/featureProperty/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/featureProperty/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/style/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/style/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/timestamp/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/timestamp/feature/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/timestamp/feature/message/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/timestamp/feature/message/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/timestamp/feature/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/timestamp/feature/series/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/timestamp/feature/series/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/timestamp/file/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/timestamp/file/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/timestamp/order/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/timestamp/order/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/timestamp/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/sanitize.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/user/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/user/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/util/__init__.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/util/root.py +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis.egg-info/SOURCES.txt +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis.egg-info/dependency_links.txt +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis.egg-info/requires.txt +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis.egg-info/top_level.txt +0 -0
- {ellipsis-3.1.47 → ellipsis-3.1.48}/setup.cfg +0 -0
|
@@ -74,8 +74,10 @@ def call(method, url, body = None, token = None, crash = True, parseJson = True)
|
|
|
74
74
|
try:
|
|
75
75
|
r = actualCall(method, url, body, token)
|
|
76
76
|
break
|
|
77
|
-
except:
|
|
77
|
+
except Exception as ex:
|
|
78
78
|
print('time out detected, retrying request')
|
|
79
|
+
print('url', url)
|
|
80
|
+
print('error',ex)
|
|
79
81
|
time.sleep(WAIT)
|
|
80
82
|
tried = tried +1
|
|
81
83
|
if tried >= RETRIES:
|
|
@@ -125,7 +127,8 @@ def upload(url, filePath, body, token, key = 'data', memfile= None):
|
|
|
125
127
|
conn_file = memfile
|
|
126
128
|
|
|
127
129
|
payload = MultipartEncoder(fields = {**body, key: (fileName, conn_file, 'application/octet-stream')})
|
|
128
|
-
|
|
130
|
+
if not 'Bearer' in token:
|
|
131
|
+
token = 'Bearer ' + token
|
|
129
132
|
|
|
130
133
|
r = requests.post(baseUrl + url, headers = {"Authorization":token, "Content-Type": payload.content_type}, data=payload, verify=False)
|
|
131
134
|
|
|
@@ -179,7 +179,7 @@ def getRaster(pathId, timestampId, extent, token = None, showProgress = True, ep
|
|
|
179
179
|
as_jpg = info['raster']['asJpg']
|
|
180
180
|
num_bands = len(bands)
|
|
181
181
|
dtype = info['raster']['format']
|
|
182
|
-
|
|
182
|
+
accessLevel = info['yourAccess']['accessLevel']
|
|
183
183
|
timestamps = info['raster']['timestamps']
|
|
184
184
|
all_timestamps = [item['id'] for item in timestamps]
|
|
185
185
|
if not timestampId in all_timestamps:
|
|
@@ -212,7 +212,7 @@ def getRaster(pathId, timestampId, extent, token = None, showProgress = True, ep
|
|
|
212
212
|
|
|
213
213
|
N=0
|
|
214
214
|
w = 256
|
|
215
|
-
if not skipTar and ((x2_osm - x1_osm) * (y2_osm - y1_osm) > 50 or forceTar):
|
|
215
|
+
if not skipTar and ((x2_osm - x1_osm) * (y2_osm - y1_osm) > 50 and accessLevel > 100 or forceTar):
|
|
216
216
|
tarZoom = next(item for item in timestamps if item["id"] == timestampId)['tarZoom']
|
|
217
217
|
|
|
218
218
|
if type(tarZoom) != type(None):
|
|
@@ -577,3 +577,4 @@ seriesData = pd.DataFrame({'date':date, 'featureId': featureId, 'x':x })
|
|
|
577
577
|
seriesData['x'].values[4] = np.nan
|
|
578
578
|
el.path.vector.timestamp.feature.series.add(pathId = layerId, timestampId = timestampId, uploadAsFile = True, seriesData=seriesData, token=token)
|
|
579
579
|
|
|
580
|
+
t = pd.read_csv('/home/daniel/Downloads/test.csv')
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/timestamp/feature/message/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ellipsis-3.1.47 → ellipsis-3.1.48}/ellipsis/path/vector/timestamp/feature/series/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|