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

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: voxcity
3
- Version: 0.6.31
3
+ Version: 0.6.32
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
  License: MIT
6
6
  License-File: AUTHORS.rst
@@ -247,14 +247,14 @@ kwargs = {
247
247
 
248
248
  ### 4. Get voxcity Output
249
249
 
250
- Generate voxel data grids and corresponding building geoJSON:
250
+ Generate voxel data grids and a corresponding building GeoDataFrame:
251
251
 
252
252
  ```python
253
253
  from voxcity.generator import get_voxcity
254
254
 
255
255
  voxcity_grid, building_height_grid, building_min_height_grid, \
256
- building_id_grid, canopy_height_grid, canopy_bottom_height_grid, land_cover_grid, dem_grid, \
257
- building_gdf = get_voxcity(
256
+ building_id_grid, canopy_height_grid, canopy_bottom_height_grid, land_cover_grid, dem_grid, \
257
+ building_gdf = get_voxcity(
258
258
  rectangle_vertices,
259
259
  building_source,
260
260
  land_cover_source,
@@ -265,6 +265,10 @@ building_gdf = get_voxcity(
265
265
  )
266
266
  ```
267
267
 
268
+ ### Interactive 3D Demo (Plotly)
269
+
270
+ - **Open interactive demo**: <a href="https://voxcity.readthedocs.io/en/latest/_static/plotly/voxcity_demo.html">Launch the Plotly 3D viewer</a>
271
+
268
272
  ### 5. Exporting Files
269
273
 
270
274
  #### ENVI-MET INX/EDB Files:
@@ -301,6 +305,7 @@ from voxcity.exporter.obj import export_obj
301
305
 
302
306
  output_directory = "output" # Directory where output files will be saved
303
307
  output_file_name = "voxcity" # Base name for the output OBJ file
308
+ # export_obj signature: export_obj(array, output_dir, file_name, voxel_size, voxel_color_map=None)
304
309
  export_obj(voxcity_grid, output_directory, output_file_name, meshsize)
305
310
  ```
306
311
  The generated OBJ files can be opened and rendered in the following 3D visualization software:
@@ -372,7 +377,7 @@ solar_grid = get_global_solar_irradiance_using_epw(
372
377
  # Adjust parameters for cumulative calculation
373
378
  solar_kwargs["start_time"] = "01-01 01:00:00" # Start time for cumulative calculation
374
379
  solar_kwargs["end_time"] = "01-31 23:00:00" # End time for cumulative calculation
375
- solar_kwargs["output_file_name"] = 'cummulative_solar_irradiance', # Base filename for outputs (without extension)
380
+ solar_kwargs["output_file_name"] = 'cumulative_solar_irradiance' # Base filename for outputs (without extension)
376
381
 
377
382
  # Calculate cumulative solar irradiance over the specified time period
378
383
  cum_solar_grid = get_global_solar_irradiance_using_epw(
@@ -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=zAq_3VxAE_Si9t8MfWsdBQPEVALsAGZoSRFjXgpGK7c,123942
33
+ voxcity/utils/visualization.py,sha256=wmU0DCvYdq22RZH6zZXjt62M8pjZVSRU5Qppvv-Bj30,126848
34
34
  voxcity/utils/weather.py,sha256=cb6ZooL42Hc4214OtFiJ78cCgWYM6VE-DU8S3e-urRg,48449
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,,
35
+ voxcity-0.6.32.dist-info/licenses/AUTHORS.rst,sha256=m82vkI5QokEGdcHof2OxK39lf81w1P58kG9ZNNAKS9U,175
36
+ voxcity-0.6.32.dist-info/licenses/LICENSE,sha256=s_jE1Df1nTPL4A_5GCGic5Zwex0CVaPKcAmSilxJPPE,1089
37
+ voxcity-0.6.32.dist-info/METADATA,sha256=KBYd4SrDJJOxEJcN2is0oB4RBSVPt8QGfd6gGy-sg4s,27331
38
+ voxcity-0.6.32.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
39
+ voxcity-0.6.32.dist-info/RECORD,,