foxes 0.8__py3-none-any.whl → 0.8.2__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 foxes might be problematic. Click here for more details.
- foxes/VERSION +1 -1
- foxes/utils/runners/runners.py +2 -2
- foxes/utils/xarray_utils.py +2 -0
- {foxes-0.8.dist-info → foxes-0.8.2.dist-info}/METADATA +2 -2
- {foxes-0.8.dist-info → foxes-0.8.2.dist-info}/RECORD +9 -10
- foxes/utils/plotly_helpers.py +0 -19
- {foxes-0.8.dist-info → foxes-0.8.2.dist-info}/LICENSE +0 -0
- {foxes-0.8.dist-info → foxes-0.8.2.dist-info}/WHEEL +0 -0
- {foxes-0.8.dist-info → foxes-0.8.2.dist-info}/top_level.txt +0 -0
- {foxes-0.8.dist-info → foxes-0.8.2.dist-info}/zip-safe +0 -0
foxes/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.8
|
|
1
|
+
0.8.2
|
foxes/utils/runners/runners.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import dask
|
|
2
2
|
from abc import abstractmethod, ABCMeta
|
|
3
3
|
from copy import deepcopy
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from distributed import Client, LocalCluster
|
|
5
|
+
from distributed import get_client
|
|
6
6
|
from dask.diagnostics import ProgressBar
|
|
7
7
|
|
|
8
8
|
|
foxes/utils/xarray_utils.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: foxes
|
|
3
|
-
Version: 0.8
|
|
3
|
+
Version: 0.8.2
|
|
4
4
|
Summary: Farm Optimization and eXtended yield Evaluation Software
|
|
5
5
|
Author: Fraunhofer IWES
|
|
6
6
|
Author-email: jonas.schulte@iwes.fraunhofer.de
|
|
@@ -33,7 +33,7 @@ Requires-Dist: distributed
|
|
|
33
33
|
Requires-Dist: scipy
|
|
34
34
|
Requires-Dist: netcdf4
|
|
35
35
|
Requires-Dist: windrose
|
|
36
|
-
Requires-Dist:
|
|
36
|
+
Requires-Dist: cycler
|
|
37
37
|
Provides-Extra: all
|
|
38
38
|
Requires-Dist: windio >=1 ; extra == 'all'
|
|
39
39
|
Requires-Dist: flake8 ; extra == 'all'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
foxes/VERSION,sha256=
|
|
1
|
+
foxes/VERSION,sha256=zrmywDr7dp3zseUYUgxOF5jpozE6HF___LBU_vXW1vs,6
|
|
2
2
|
foxes/__init__.py,sha256=4ptDOBaQC8fAd_ZH5XH7d5pIgx3JXEY9xLcK3Nrs2Ow,718
|
|
3
3
|
foxes/constants.py,sha256=AQepsPOCRnHycNKvFyltcPFa4yUqYtTBOzgp56KKewA,2713
|
|
4
4
|
foxes/variables.py,sha256=I-S25WejH33ffOcVnmN2TDL1pIxWqg0aM1lhIBwZ9NQ,4454
|
|
@@ -217,7 +217,6 @@ foxes/utils/geopandas_utils.py,sha256=inVQHMco6Op7YN3VFH1DGAJZWREuveJUS7gyoRudw2
|
|
|
217
217
|
foxes/utils/load.py,sha256=7jrCX2GQ_GTgrSu3nz-jfxiyswa7Q3XXCYqobl6bkyk,1290
|
|
218
218
|
foxes/utils/pandas_helpers.py,sha256=iFijkt7GfsWYhP9Cn92zg8Wj-BPaihJfmYBXTddQQc4,4627
|
|
219
219
|
foxes/utils/pandas_utils.py,sha256=5r3RHjaGu-Vi7DGMBdCDxVeu9nZk46wtPlHRL4l_R_c,4630
|
|
220
|
-
foxes/utils/plotly_helpers.py,sha256=MHwyKGjajkgwcF2kDUMT6Midd-GCw3dChMvXBqLw5YY,369
|
|
221
220
|
foxes/utils/random_xy.py,sha256=i0AZ04BLL6TxC3Lg1ZfwI_o4zJbHR6hm-BNd0Sydu_c,1376
|
|
222
221
|
foxes/utils/regularize.py,sha256=OnJ88ZCSu289aLHgrOb96j1A9JVvg_7OjZ3lWZAnNHo,512
|
|
223
222
|
foxes/utils/subclasses.py,sha256=bnlZaLgGjq9cQC9dvsxahUmLQQlSmmun35TjWYyX9CA,380
|
|
@@ -225,7 +224,7 @@ foxes/utils/tab_files.py,sha256=H50IpLaqffJn9A51orCGc4fOhCOzoNUYDUKek4OAayU,1811
|
|
|
225
224
|
foxes/utils/two_circles.py,sha256=xkj-SA_x-VXY7KtmSU4lcV4gFdplyhU3sBAC9vTdkF4,2810
|
|
226
225
|
foxes/utils/wind_dir.py,sha256=7Ve8_SmKpzm-SUCo-4RdtN8ocinpPXmX1xvXhCLDrmM,2825
|
|
227
226
|
foxes/utils/windrose_plot.py,sha256=O9zLrDzQXIgKdBwzqNkusyA_rMshbk-8ybloIwt8vuY,4589
|
|
228
|
-
foxes/utils/xarray_utils.py,sha256=
|
|
227
|
+
foxes/utils/xarray_utils.py,sha256=NGSleMLvQeBu04VxtGGcbA9idbtmRWh6fPwsp5QO-7I,1195
|
|
229
228
|
foxes/utils/abl/__init__.py,sha256=ijn-ubLLlqqH6tTAXFRmBAxJZmVBlTEmtx1cdCCtG4I,135
|
|
230
229
|
foxes/utils/abl/neutral.py,sha256=rBfuUDTCGzNb19oM_dZb7LJ3m26rWzfEw9MjPiASpK0,1358
|
|
231
230
|
foxes/utils/abl/sheared.py,sha256=nS6gxa5cR7B7XcZbEk3rwOvbF6m4cinXAIhhn9gGBBs,446
|
|
@@ -239,10 +238,10 @@ foxes/utils/geom2d/example_union.py,sha256=BKfLt1mtQcSto-qExeMQkq8tQ6kfFXVJ93Cc7
|
|
|
239
238
|
foxes/utils/geom2d/half_plane.py,sha256=kzZD6pkZxZ03MK9WAboWzXb5Ws5dWLQY9GIahD4D9mA,6167
|
|
240
239
|
foxes/utils/geom2d/polygon.py,sha256=8ASfy7No_-Pt_xDSeNsDtLEkCjBWsNZK8nIxDQtqeOE,5534
|
|
241
240
|
foxes/utils/runners/__init__.py,sha256=-WL4ZmdgNYldkqhCV6dR-aXCumBrH-Ea-V1shsRhsbs,55
|
|
242
|
-
foxes/utils/runners/runners.py,sha256=
|
|
243
|
-
foxes-0.8.dist-info/LICENSE,sha256=bBCH6mYTPzSepk2s2UUZ3II_ZYXrn1bnSqB85-aZHxU,1071
|
|
244
|
-
foxes-0.8.dist-info/METADATA,sha256=
|
|
245
|
-
foxes-0.8.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
|
|
246
|
-
foxes-0.8.dist-info/top_level.txt,sha256=B4spGR6JHsVHz7CEXsa68xsjYalAA70nBwHa1gfyRHc,6
|
|
247
|
-
foxes-0.8.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
248
|
-
foxes-0.8.dist-info/RECORD,,
|
|
241
|
+
foxes/utils/runners/runners.py,sha256=TVnJ2k8thITcvS9Eup71YlGKaO-Aw3J36eHdW8Ye828,6922
|
|
242
|
+
foxes-0.8.2.dist-info/LICENSE,sha256=bBCH6mYTPzSepk2s2UUZ3II_ZYXrn1bnSqB85-aZHxU,1071
|
|
243
|
+
foxes-0.8.2.dist-info/METADATA,sha256=GGwlGxZ2mKeBfvGlCbHCyXdcJ0LNSncQNzqUwbhO-yc,6618
|
|
244
|
+
foxes-0.8.2.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
|
|
245
|
+
foxes-0.8.2.dist-info/top_level.txt,sha256=B4spGR6JHsVHz7CEXsa68xsjYalAA70nBwHa1gfyRHc,6
|
|
246
|
+
foxes-0.8.2.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
247
|
+
foxes-0.8.2.dist-info/RECORD,,
|
foxes/utils/plotly_helpers.py
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import plotly.io as pio
|
|
2
|
-
import io
|
|
3
|
-
from PIL import Image
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
def show_plotly_fig(fig):
|
|
7
|
-
"""
|
|
8
|
-
Displays a plotly figure in a window
|
|
9
|
-
|
|
10
|
-
Reference:
|
|
11
|
-
https://stackoverflow.com/questions/53570384/plotly-how-to-make-a-standalone-plot-in-a-window
|
|
12
|
-
|
|
13
|
-
:group: utils
|
|
14
|
-
|
|
15
|
-
"""
|
|
16
|
-
buf = io.BytesIO()
|
|
17
|
-
pio.write_image(fig, buf)
|
|
18
|
-
img = Image.open(buf)
|
|
19
|
-
img.show()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|