voxcity 0.6.30__py3-none-any.whl → 0.6.31__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 voxcity might be problematic. Click here for more details.
- voxcity/geoprocessor/mesh.py +3 -1
- voxcity/utils/visualization.py +3 -3
- {voxcity-0.6.30.dist-info → voxcity-0.6.31.dist-info}/METADATA +1 -1
- {voxcity-0.6.30.dist-info → voxcity-0.6.31.dist-info}/RECORD +7 -7
- {voxcity-0.6.30.dist-info → voxcity-0.6.31.dist-info}/WHEEL +0 -0
- {voxcity-0.6.30.dist-info → voxcity-0.6.31.dist-info}/licenses/AUTHORS.rst +0 -0
- {voxcity-0.6.30.dist-info → voxcity-0.6.31.dist-info}/licenses/LICENSE +0 -0
voxcity/geoprocessor/mesh.py
CHANGED
|
@@ -318,7 +318,9 @@ def create_sim_surface_mesh(sim_grid, dem_grid,
|
|
|
318
318
|
if np.isnan(val):
|
|
319
319
|
continue
|
|
320
320
|
|
|
321
|
-
|
|
321
|
+
# Match voxel ground rounding: int(dem/mesh + 0.5) + 1 == int(dem/mesh + 1.5)
|
|
322
|
+
# Then lower the plane by one mesh layer as requested
|
|
323
|
+
z_base = meshsize * int(dem_grid_flipped[x, y] / meshsize + 1.5) + z_offset - meshsize
|
|
322
324
|
|
|
323
325
|
# 4 corners in (x,y)*meshsize
|
|
324
326
|
v0 = [ x * meshsize, y * meshsize, z_base ]
|
voxcity/utils/visualization.py
CHANGED
|
@@ -2804,9 +2804,9 @@ def visualize_voxcity_plotly(
|
|
|
2804
2804
|
if meshsize is not None:
|
|
2805
2805
|
try:
|
|
2806
2806
|
ms = float(meshsize)
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
z_off = ms
|
|
2807
|
+
# Snap strictly above ground in whole mesh layers:
|
|
2808
|
+
# (ground_z_offset // meshsize + 1) * meshsize
|
|
2809
|
+
z_off = (z_off // ms + 1.0) * ms
|
|
2810
2810
|
except Exception:
|
|
2811
2811
|
pass
|
|
2812
2812
|
|
|
@@ -19,7 +19,7 @@ voxcity/generator.py,sha256=zJZSLcldMvfbRk2UGXzY25DJmJi1L4KZP0glPuMRFgg,69477
|
|
|
19
19
|
voxcity/geoprocessor/__init__.py,sha256=WYxcAQrjGucIvGHF0JTC6rONZzL3kCms1S2vpzS6KaU,127
|
|
20
20
|
voxcity/geoprocessor/draw.py,sha256=AZMWq23wxxDJygNloCbVzWAAr1JO7nC94umf9LSxJ5o,49248
|
|
21
21
|
voxcity/geoprocessor/grid.py,sha256=s64tCCY-pPiZjAWRWRJkBpb2FCkruOjq_nm1vD2unT8,77407
|
|
22
|
-
voxcity/geoprocessor/mesh.py,sha256=
|
|
22
|
+
voxcity/geoprocessor/mesh.py,sha256=MDh6lcTpk0pjB1letriOmYZVSSY365pbxjpoxAoaGIA,32196
|
|
23
23
|
voxcity/geoprocessor/network.py,sha256=YynqR0nq_NUra_cQ3Z_56KxfRia1b6-hIzGCj3QT-wE,25137
|
|
24
24
|
voxcity/geoprocessor/polygon.py,sha256=DfzXf6R-qoWXEZv1z1aHCVfr-DCuCFw6lieQT5cNHPA,61188
|
|
25
25
|
voxcity/geoprocessor/utils.py,sha256=s17XpgkLBelmNCk2wcUwTK1tEiFpguWR2BF_n7K17jg,31378
|
|
@@ -30,10 +30,10 @@ voxcity/simulator/view.py,sha256=k3FoS6gsibR-eDrTHJivJSQfvN3Tg8R8eSTeMqd9ans,939
|
|
|
30
30
|
voxcity/utils/__init__.py,sha256=Q-NYCqYnAAaF80KuNwpqIjbE7Ec3Gr4y_khMLIMhJrg,68
|
|
31
31
|
voxcity/utils/lc.py,sha256=722Gz3lPbgAp0mmTZ-g-QKBbAnbxrcgaYwb1sa7q8Sk,16189
|
|
32
32
|
voxcity/utils/material.py,sha256=H8K8Lq4wBL6dQtgj7esUW2U6wLCOTeOtelkTDJoRgMo,10007
|
|
33
|
-
voxcity/utils/visualization.py,sha256=
|
|
33
|
+
voxcity/utils/visualization.py,sha256=zAq_3VxAE_Si9t8MfWsdBQPEVALsAGZoSRFjXgpGK7c,123942
|
|
34
34
|
voxcity/utils/weather.py,sha256=cb6ZooL42Hc4214OtFiJ78cCgWYM6VE-DU8S3e-urRg,48449
|
|
35
|
-
voxcity-0.6.
|
|
36
|
-
voxcity-0.6.
|
|
37
|
-
voxcity-0.6.
|
|
38
|
-
voxcity-0.6.
|
|
39
|
-
voxcity-0.6.
|
|
35
|
+
voxcity-0.6.31.dist-info/licenses/AUTHORS.rst,sha256=m82vkI5QokEGdcHof2OxK39lf81w1P58kG9ZNNAKS9U,175
|
|
36
|
+
voxcity-0.6.31.dist-info/licenses/LICENSE,sha256=s_jE1Df1nTPL4A_5GCGic5Zwex0CVaPKcAmSilxJPPE,1089
|
|
37
|
+
voxcity-0.6.31.dist-info/METADATA,sha256=ITJGlkmT7MeF972nAiy1kTejBtTWYJu2uFypeKF4JWA,27039
|
|
38
|
+
voxcity-0.6.31.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
39
|
+
voxcity-0.6.31.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|