voxcity 0.3.20__py3-none-any.whl → 0.3.21__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.

@@ -1032,7 +1032,8 @@ def visualize_voxcity_multi_view(voxel_array, meshsize, **kwargs):
1032
1032
  base_filename = kwargs.get("output_file_name", None)
1033
1033
  sim_grid = kwargs.get("sim_grid", None)
1034
1034
  dem_grid_ori = kwargs.get("dem_grid", None)
1035
- dem_grid = dem_grid_ori - np.min(dem_grid_ori)
1035
+ if dem_grid_ori is not None:
1036
+ dem_grid = dem_grid_ori - np.min(dem_grid_ori)
1036
1037
  z_offset = kwargs.get("view_point_height", 1.5)
1037
1038
  cmap_name = kwargs.get("colormap", "viridis")
1038
1039
  vmin = kwargs.get("vmin", np.nanmin(sim_grid))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: voxcity
3
- Version: 0.3.20
3
+ Version: 0.3.21
4
4
  Summary: voxcity is an easy and one-stop tool to output 3d city models for microclimate simulation by integrating multiple geospatial open-data
5
5
  Author-email: Kunihiko Fujiwara <kunihiko@nus.edu.sg>
6
6
  Maintainer-email: Kunihiko Fujiwara <kunihiko@nus.edu.sg>
@@ -27,11 +27,11 @@ voxcity/simulator/view.py,sha256=zNbfTLQ2Jo0V5-rFA3-xamRjOuw3H3MBrLKpQp8x3hY,367
27
27
  voxcity/utils/__init_.py,sha256=nLYrj2huBbDBNMqfchCwexGP8Tlt9O_XluVDG7MoFkw,98
28
28
  voxcity/utils/lc.py,sha256=RwPd-VY3POV3gTrBhM7TubgGb9MCd3nVah_G8iUEF7k,11562
29
29
  voxcity/utils/material.py,sha256=Vt3IID5Ft54HNJcEC4zi31BCPqi_687X3CSp7rXaRVY,5907
30
- voxcity/utils/visualization.py,sha256=wLx_YBajzDvQVOp42uba4rn7rxUdikJnIrG1jmIDltc,48588
30
+ voxcity/utils/visualization.py,sha256=WZkwxihy6XrSxMOPgAs0--MeoKK_lKIHRdPW9d-hQbQ,48626
31
31
  voxcity/utils/weather.py,sha256=P6s1y_EstBL1OGP_MR_6u3vr-t6Uawg8uDckJnoI7FI,21482
32
- voxcity-0.3.20.dist-info/AUTHORS.rst,sha256=m82vkI5QokEGdcHof2OxK39lf81w1P58kG9ZNNAKS9U,175
33
- voxcity-0.3.20.dist-info/LICENSE,sha256=-hGliOFiwUrUSoZiB5WF90xXGqinKyqiDI2t6hrnam8,1087
34
- voxcity-0.3.20.dist-info/METADATA,sha256=_F6HJIiDGGlCFlH_aRKB5miZJ0tVymTBhoP826WbCZU,25186
35
- voxcity-0.3.20.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
36
- voxcity-0.3.20.dist-info/top_level.txt,sha256=00b2U-LKfDllt6RL1R33MXie5MvxzUFye0NGD96t_8I,8
37
- voxcity-0.3.20.dist-info/RECORD,,
32
+ voxcity-0.3.21.dist-info/AUTHORS.rst,sha256=m82vkI5QokEGdcHof2OxK39lf81w1P58kG9ZNNAKS9U,175
33
+ voxcity-0.3.21.dist-info/LICENSE,sha256=-hGliOFiwUrUSoZiB5WF90xXGqinKyqiDI2t6hrnam8,1087
34
+ voxcity-0.3.21.dist-info/METADATA,sha256=E2wp9_LPBuWZNHsmvvA2Cqo-PIHitNEXkSj2cBLlvsg,25186
35
+ voxcity-0.3.21.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
36
+ voxcity-0.3.21.dist-info/top_level.txt,sha256=00b2U-LKfDllt6RL1R33MXie5MvxzUFye0NGD96t_8I,8
37
+ voxcity-0.3.21.dist-info/RECORD,,