webviz-subsurface 0.2.41__py3-none-any.whl → 0.2.42__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.
@@ -3,16 +3,15 @@ import io
3
3
  import json
4
4
  import logging
5
5
  import math
6
+ import tempfile
6
7
  from dataclasses import asdict, dataclass
7
8
  from typing import List, Optional, Tuple, Union
8
9
  from urllib.parse import quote
9
- from uuid import uuid4
10
10
 
11
11
  import flask
12
12
  import flask_caching
13
13
  import xtgeo
14
14
  from dash import Dash
15
- from webviz_config.webviz_instance_info import WEBVIZ_INSTANCE_INFO
16
15
 
17
16
  from webviz_subsurface._utils.perf_timer import PerfTimer
18
17
 
@@ -51,10 +50,7 @@ class SurfaceArrayMeta:
51
50
 
52
51
  class SurfaceArrayServer:
53
52
  def __init__(self, app: Dash) -> None:
54
- cache_dir = (
55
- WEBVIZ_INSTANCE_INFO.storage_folder
56
- / f"SurfaceArrayServer_filecache_{uuid4()}"
57
- )
53
+ cache_dir = tempfile.mkdtemp()
58
54
  LOGGER.debug(f"Setting up file cache in: {cache_dir}")
59
55
  self._array_cache = flask_caching.Cache(
60
56
  config={
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '0.2.41'
32
- __version_tuple__ = version_tuple = (0, 2, 41)
31
+ __version__ = version = '0.2.42'
32
+ __version_tuple__ = version_tuple = (0, 2, 42)
33
33
 
34
34
  __commit_id__ = commit_id = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: webviz-subsurface
3
- Version: 0.2.41
3
+ Version: 0.2.42
4
4
  Summary: Webviz config plugins for subsurface data
5
5
  Author: R&T Equinor
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -1,5 +1,5 @@
1
1
  webviz_subsurface/__init__.py,sha256=XUL8THCPZObkUsxDodKtE_wx-pYmQ4sATXgx5sdYa-A,3824
2
- webviz_subsurface/_version.py,sha256=SeNxUBwO4yf5cVcoi1R5Vd5n4qagR7-SSwcWu817oBE,706
2
+ webviz_subsurface/_version.py,sha256=nVCdUZpuvV7053YiiyLMdnFqPfN-gdcOv2QjZei9o0o,706
3
3
  webviz_subsurface/smry2arrow_batch.py,sha256=zTekRSgkUei6_DGT1ZWibd22PrFkkTQ_pnjZYvzMOL4,4129
4
4
  webviz_subsurface/_abbreviations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  webviz_subsurface/_abbreviations/number_formatting.py,sha256=zElrkv3j3H6i7nbeeyKG1oE6VfNtzfrSJQYrC08Bev0,3479
@@ -110,7 +110,7 @@ webviz_subsurface/_providers/ensemble_surface_provider/dev_experiments.py,sha256
110
110
  webviz_subsurface/_providers/ensemble_surface_provider/dev_surface_server_lazy.py,sha256=wlptCWbyYD07Wl4fZWh_LAjGfK3Ci5rGj_p1M_EniIw,7288
111
111
  webviz_subsurface/_providers/ensemble_surface_provider/ensemble_surface_provider.py,sha256=yz48Dk5hMcHAOpsbWpRwQxvw-xV6Hn-nDAEBPKxQtWY,2721
112
112
  webviz_subsurface/_providers/ensemble_surface_provider/ensemble_surface_provider_factory.py,sha256=b_fJZkPTaOnHmZYjQHidKSysueOj7lDAxpe7YDSFs1k,4738
113
- webviz_subsurface/_providers/ensemble_surface_provider/surface_array_server.py,sha256=BdOJW8eVCbA5qeiQmSlRHviC5SGA75iQYliA5sXzLCc,8950
113
+ webviz_subsurface/_providers/ensemble_surface_provider/surface_array_server.py,sha256=YfnK6Y-Vq7R4FIAam3d1PzjcVRWuig_AoirCm4FyLxw,8778
114
114
  webviz_subsurface/_providers/ensemble_surface_provider/surface_image_server.py,sha256=6N0ZUkgYX8ln6Ryaoms75y7AlAF-aS4N8Va6Gsm8SDE,8920
115
115
  webviz_subsurface/_providers/ensemble_table_provider/__init__.py,sha256=YxM91G6ilyHgXFb0jX4ODxnf_CkCtN70SZxWIeZArB4,228
116
116
  webviz_subsurface/_providers/ensemble_table_provider/_field_metadata.py,sha256=vd6EDP00LPIQHsSwXLNaxkUl_Dw8objE3krlGCmT84w,543
@@ -550,10 +550,10 @@ webviz_subsurface/plugins/_well_log_viewer/controllers/_well_controller.py,sha25
550
550
  webviz_subsurface/plugins/_well_log_viewer/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
551
551
  webviz_subsurface/plugins/_well_log_viewer/utils/default_color_tables.py,sha256=0UgrvygPGEAuC15vn73NCXJUQLt9Dpn5QZqqq1IJkfw,4872
552
552
  webviz_subsurface/plugins/_well_log_viewer/utils/xtgeo_well_log_to_json.py,sha256=T44-vFwvvjyo376yoL1QWDc98exG8N1cLTEzrGp-I7A,1608
553
- webviz_subsurface-0.2.41.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
554
- webviz_subsurface-0.2.41.dist-info/licenses/LICENSE.chromedriver,sha256=H5UWVvf6Y7Ul6i35mriz7071dWR01cR9G-5ypnZHnpM,326542
555
- webviz_subsurface-0.2.41.dist-info/METADATA,sha256=M-qtMzC9sMWUG782j-UIuxJ6e-qvPzSrirJnGMypaF4,46825
556
- webviz_subsurface-0.2.41.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
557
- webviz_subsurface-0.2.41.dist-info/entry_points.txt,sha256=Xdu_x9E_hJBueKfSYBFAAVFzKeUrenikc8lydm9C-6A,4135
558
- webviz_subsurface-0.2.41.dist-info/top_level.txt,sha256=ivY5svyqFD5YI8wdJHATxBrkxfcdU2Q6fDh5E_tDrl4,18
559
- webviz_subsurface-0.2.41.dist-info/RECORD,,
553
+ webviz_subsurface-0.2.42.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
554
+ webviz_subsurface-0.2.42.dist-info/licenses/LICENSE.chromedriver,sha256=H5UWVvf6Y7Ul6i35mriz7071dWR01cR9G-5ypnZHnpM,326542
555
+ webviz_subsurface-0.2.42.dist-info/METADATA,sha256=CzHRIcu9fI-b3GBg5LmvTyKYrlZS8ult8SCQzsWsvF4,46825
556
+ webviz_subsurface-0.2.42.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
557
+ webviz_subsurface-0.2.42.dist-info/entry_points.txt,sha256=Xdu_x9E_hJBueKfSYBFAAVFzKeUrenikc8lydm9C-6A,4135
558
+ webviz_subsurface-0.2.42.dist-info/top_level.txt,sha256=ivY5svyqFD5YI8wdJHATxBrkxfcdU2Q6fDh5E_tDrl4,18
559
+ webviz_subsurface-0.2.42.dist-info/RECORD,,