ellipsis 3.2.2__py3-none-any.whl → 3.2.3__py3-none-any.whl

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/__init__.py CHANGED
@@ -6,7 +6,7 @@ from ellipsis import user
6
6
  from ellipsis import path
7
7
  from ellipsis import util
8
8
  from ellipsis import compute
9
- __version__ = '3.2.2'
9
+ __version__ = '3.2.3'
10
10
 
11
11
 
12
12
 
@@ -1 +1 @@
1
- from ellipsis.compute.root import createCompute, listComputes, execute, terminatecompute, terminateAll, addToLayer
1
+ from ellipsis.compute.root import createCompute, listComputes, execute, terminateCompute, terminateAll, addToLayer
ellipsis/compute/root.py CHANGED
@@ -79,7 +79,7 @@ def parseResults(r):
79
79
 
80
80
  return results
81
81
 
82
- def terminatecompute(computeId, token, awaitTillTerminated = True):
82
+ def terminateCompute(computeId, token, awaitTillTerminated = True):
83
83
  computeId = sanitize.validUuid('computeId', computeId, True)
84
84
  token = sanitize.validString('token', token, True)
85
85
  sanitize.validBool('awaitTillTerminated',awaitTillTerminated, True)
@@ -381,6 +381,7 @@ def analyse(pathId, timestampIds, geometry, returnType= 'all', approximate=True,
381
381
  return r
382
382
 
383
383
 
384
+
384
385
  def add(pathId, token, description= None, date ={'from': datetime.datetime.now(), 'to': datetime.datetime.now()}):
385
386
 
386
387
 
ellipsis/util/root.py CHANGED
@@ -21,8 +21,8 @@ import multiprocessing
21
21
  import warnings
22
22
  import uuid
23
23
  import shapely
24
- from shapely.ops import cascaded_union
25
24
 
25
+ from io import BytesIO
26
26
 
27
27
  from ellipsis import sanitize
28
28
  from rasterio.warp import reproject as warp, Resampling, calculate_default_transform
@@ -487,7 +487,7 @@ def cut(sh, bounds, tile, chosen):
487
487
  collections = np.array(['collection' in str(type(x)) for x in sh_intersects['geometry']])
488
488
  geometryCollections = sh_intersects['geometry'][collections].values
489
489
 
490
- newGeometries = [ cascaded_union([geometry for geometry in collection if chosen in str(type(geometry))]) for collection in geometryCollections ]
490
+ newGeometries = [ shapely.ops.cascaded_union([geometry for geometry in collection if chosen in str(type(geometry))]) for collection in geometryCollections ]
491
491
 
492
492
  sh_intersects['geometry'][collections] = newGeometries
493
493
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ellipsis
3
- Version: 3.2.2
3
+ Version: 3.2.3
4
4
  Summary: Package to interact with the Ellipsis API
5
5
  Home-page: https://github.com/ellipsis-drive-internal/python-package
6
6
  Author: Daniel van der Maas
@@ -1,12 +1,12 @@
1
- ellipsis/__init__.py,sha256=PIgb_Pm9VSfWqIFVMyBucJ38UvtoI6fbdJXYptibSko,237
1
+ ellipsis/__init__.py,sha256=HIFPMdYQQE4ad73-VzjQhkZ-Xif4ByuPRfOxTCdrAws,237
2
2
  ellipsis/apiManager.py,sha256=iX6XFwilMfuCQYioAmgRgReL8W63FUBr3UC506ucIF4,5603
3
3
  ellipsis/sanitize.py,sha256=VuTPjHAUNCGUaOzKU2ojloiEN8kPhm53fIjbk6E9IEg,10597
4
4
  ellipsis/account/__init__.py,sha256=jTmwL9HVS27vAHPC_2a98RQJWbpSKBN4ptiXpY0qJgk,101
5
5
  ellipsis/account/root.py,sha256=p8AehZQizaPlpGdFB5RsMduyUF4ynN0cGDz41nIxjYM,1942
6
6
  ellipsis/account/accessToken/__init__.py,sha256=ivwhK1eC4g74PAKaeTReb1QhIpKXyvmfdqZV6wDY-EY,66
7
7
  ellipsis/account/accessToken/root.py,sha256=TYo8wTyWyzytaqOTsuQC-Vn3y7BhYMC88EItZafpISA,1281
8
- ellipsis/compute/__init__.py,sha256=D_PEEIfNar00N85LUF4m1p9R4icrnAktJP_26PoAPqA,115
9
- ellipsis/compute/root.py,sha256=wonw4CyScT8coJoBQiEFfl8vY_uCOdOvS1ooQHAMnVg,5324
8
+ ellipsis/compute/__init__.py,sha256=zcjm8GX1kSi5PEK5CXsR3wc2wxBdy3EIMo_y1sFEguQ,115
9
+ ellipsis/compute/root.py,sha256=4FTcMDQARJuRZgFvo3Sfk_3Z3rpy737JvH0fsxUG-E8,5324
10
10
  ellipsis/path/__init__.py,sha256=NzdcTpXpicdrBWLgsFP6WY7ARIBKUFnkwa5VuB1Qdpc,506
11
11
  ellipsis/path/root.py,sha256=GqiYjAkdSchkQf1NzcSFZvBrmoQir7K2fqmZosqghFM,7953
12
12
  ellipsis/path/bookmark/__init__.py,sha256=vNrqGcWl5MN_xVAiClP6W6NilmsV-fqYOnJukbYcNwc,56
@@ -35,7 +35,7 @@ ellipsis/path/raster/root.py,sha256=-y0SEukHEYUDvyJyDI1x7gtcDm-Wum_Ze7ekSYJr6O4,
35
35
  ellipsis/path/raster/style/__init__.py,sha256=mxlqVtSd2dsKai3DAVQjtNsh2KnTrZVyF8loRwUNT7E,61
36
36
  ellipsis/path/raster/style/root.py,sha256=YFQlGTdgjpwXn4h0ug7LrQZFLmRp2bdJN71A0iqZRFo,1627
37
37
  ellipsis/path/raster/timestamp/__init__.py,sha256=brmFXg69CKRcWaAfPbxWfsvHvnn5q8GBQhVzUTVb4_w,842
38
- ellipsis/path/raster/timestamp/root.py,sha256=3FiF_ls5iow96kDnSVqGQqCAl3Bj1DgFiF6sF6b-Ty0,17518
38
+ ellipsis/path/raster/timestamp/root.py,sha256=6fGels-BtxWpF6EarxWni-AHK-5r2kb7fqVUFEnLNY4,17519
39
39
  ellipsis/path/raster/timestamp/util.py,sha256=eupFFSBp5CaTDIRg6DYnZnfWY61h81JZ7c15NdJ-j5E,2580
40
40
  ellipsis/path/raster/timestamp/file/__init__.py,sha256=Ln9_dQ4-PMwb5VP--Qh09IV5zmr-47RShpe0-f_NVh4,97
41
41
  ellipsis/path/raster/timestamp/file/root.py,sha256=KD8E64eZtS62C-WCl3BTeVjsc08BaLXpuLwxfbmnTLI,4545
@@ -66,9 +66,9 @@ ellipsis/path/vector/timestamp/order/root.py,sha256=kknhHJSuj91WaRF-qzfovummHwpl
66
66
  ellipsis/user/__init__.py,sha256=um_b42pc2otFiQRGqMajcEtONQpC2ei4r-EY3j7bsfQ,43
67
67
  ellipsis/user/root.py,sha256=dsMK6wGBdeCmOd3YsbIv9cEcQ6tAiSGr0jmtBhQl5-0,484
68
68
  ellipsis/util/__init__.py,sha256=_sNBUXDKJVGffRyt93xdUrJ4gON651Sp-unr7LKVCEc,756
69
- ellipsis/util/root.py,sha256=Ts7DeaD_X7x-csmq5V2sa_hYrt1mCd59T7-NUQcWj3Y,23980
70
- ellipsis-3.2.2.dist-info/LICENSE,sha256=7EI8xVBu6h_7_JlVw-yPhhOZlpY9hP8wal7kHtqKT_E,1074
71
- ellipsis-3.2.2.dist-info/METADATA,sha256=rO9sYvY9--rfGTbMTNsObnAvjyqDxXFoH3d-Ivbee0o,1842
72
- ellipsis-3.2.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
73
- ellipsis-3.2.2.dist-info/top_level.txt,sha256=eG8gfaVDyprKdb-dsGSh_lFMSa3DiZCsJFqze239RjA,9
74
- ellipsis-3.2.2.dist-info/RECORD,,
69
+ ellipsis/util/root.py,sha256=3pw-tXGTQC5PMUtpReJEA9rgyJZNlTM3uUISPz2Sq6Q,23976
70
+ ellipsis-3.2.3.dist-info/LICENSE,sha256=7EI8xVBu6h_7_JlVw-yPhhOZlpY9hP8wal7kHtqKT_E,1074
71
+ ellipsis-3.2.3.dist-info/METADATA,sha256=hI6pIwOoWjIROT2Zbz3TEAsc8V-XhLvHKkZk4fEV-Ag,1842
72
+ ellipsis-3.2.3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
73
+ ellipsis-3.2.3.dist-info/top_level.txt,sha256=eG8gfaVDyprKdb-dsGSh_lFMSa3DiZCsJFqze239RjA,9
74
+ ellipsis-3.2.3.dist-info/RECORD,,