voxcity 0.3.6__tar.gz → 0.3.8__tar.gz

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.

Files changed (52) hide show
  1. {voxcity-0.3.6 → voxcity-0.3.8}/PKG-INFO +2 -2
  2. {voxcity-0.3.6 → voxcity-0.3.8}/README.md +1 -1
  3. {voxcity-0.3.6 → voxcity-0.3.8}/pyproject.toml +1 -1
  4. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/sim/solar.py +10 -1
  5. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity.egg-info/PKG-INFO +2 -2
  6. {voxcity-0.3.6 → voxcity-0.3.8}/AUTHORS.rst +0 -0
  7. {voxcity-0.3.6 → voxcity-0.3.8}/CONTRIBUTING.rst +0 -0
  8. {voxcity-0.3.6 → voxcity-0.3.8}/HISTORY.rst +0 -0
  9. {voxcity-0.3.6 → voxcity-0.3.8}/LICENSE +0 -0
  10. {voxcity-0.3.6 → voxcity-0.3.8}/MANIFEST.in +0 -0
  11. {voxcity-0.3.6 → voxcity-0.3.8}/docs/Makefile +0 -0
  12. {voxcity-0.3.6 → voxcity-0.3.8}/docs/archive/README.rst +0 -0
  13. {voxcity-0.3.6 → voxcity-0.3.8}/docs/authors.rst +0 -0
  14. {voxcity-0.3.6 → voxcity-0.3.8}/docs/conf.py +0 -0
  15. {voxcity-0.3.6 → voxcity-0.3.8}/docs/index.rst +0 -0
  16. {voxcity-0.3.6 → voxcity-0.3.8}/docs/make.bat +0 -0
  17. {voxcity-0.3.6 → voxcity-0.3.8}/setup.cfg +0 -0
  18. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/__init__.py +0 -0
  19. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/download/__init__.py +0 -0
  20. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/download/eubucco.py +0 -0
  21. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/download/gee.py +0 -0
  22. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/download/mbfp.py +0 -0
  23. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/download/oemj.py +0 -0
  24. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/download/omt.py +0 -0
  25. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/download/osm.py +0 -0
  26. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/download/overture.py +0 -0
  27. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/download/utils.py +0 -0
  28. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/file/__init_.py +0 -0
  29. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/file/envimet.py +0 -0
  30. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/file/geojson.py +0 -0
  31. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/file/magicavoxel.py +0 -0
  32. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/file/obj.py +0 -0
  33. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/geo/__init_.py +0 -0
  34. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/geo/draw.py +0 -0
  35. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/geo/grid.py +0 -0
  36. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/geo/network.py +0 -0
  37. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/geo/utils.py +0 -0
  38. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/sim/__init_.py +0 -0
  39. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/sim/utils.py +0 -0
  40. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/sim/view.py +0 -0
  41. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/utils/__init_.py +0 -0
  42. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/utils/lc.py +0 -0
  43. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/utils/material.py +0 -0
  44. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/utils/visualization.py +0 -0
  45. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/utils/weather.py +0 -0
  46. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity/voxcity.py +0 -0
  47. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity.egg-info/SOURCES.txt +0 -0
  48. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity.egg-info/dependency_links.txt +0 -0
  49. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity.egg-info/requires.txt +0 -0
  50. {voxcity-0.3.6 → voxcity-0.3.8}/src/voxcity.egg-info/top_level.txt +0 -0
  51. {voxcity-0.3.6 → voxcity-0.3.8}/tests/__init__.py +0 -0
  52. {voxcity-0.3.6 → voxcity-0.3.8}/tests/voxelcity.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: voxcity
3
- Version: 0.3.6
3
+ Version: 0.3.8
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>
@@ -447,7 +447,7 @@ G, edge_gdf = get_network_values(
447
447
  <img src="https://raw.githubusercontent.com/kunifujiwara/VoxCity/main/images/network.png" alt="Example of Graph Output" width="500">
448
448
  </p>
449
449
  <p align="center">
450
- <em>Example Result Saved as OBJ and Rendered in Rhino</em>
450
+ <em>Cumulative Global Solar Irradiance (kW/m²·hour) on Road Network</em>
451
451
  </p>
452
452
 
453
453
  ## References of Data Sources
@@ -390,7 +390,7 @@ G, edge_gdf = get_network_values(
390
390
  <img src="https://raw.githubusercontent.com/kunifujiwara/VoxCity/main/images/network.png" alt="Example of Graph Output" width="500">
391
391
  </p>
392
392
  <p align="center">
393
- <em>Example Result Saved as OBJ and Rendered in Rhino</em>
393
+ <em>Cumulative Global Solar Irradiance (kW/m²·hour) on Road Network</em>
394
394
  </p>
395
395
 
396
396
  ## References of Data Sources
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "voxcity"
3
- version = "0.3.6"
3
+ version = "0.3.8"
4
4
  requires-python = ">=3.10,<3.13"
5
5
  classifiers = [
6
6
  "Programming Language :: Python :: 3.10",
@@ -651,6 +651,8 @@ def get_global_solar_irradiance_using_epw(
651
651
  - calc_time (str): Time for instantaneous calculation ('MM-DD HH:MM:SS')
652
652
  - start_time (str): Start time for cumulative calculation
653
653
  - end_time (str): End time for cumulative calculation
654
+ - start_hour (int): Starting hour for daily time window (0-23)
655
+ - end_hour (int): Ending hour for daily time window (0-23)
654
656
  - view_point_height (float): Observer height in meters
655
657
  - tree_k (float): Tree extinction coefficient
656
658
  - tree_lad (float): Leaf area density in m^-1
@@ -743,10 +745,17 @@ def get_global_solar_irradiance_using_epw(
743
745
  **kwargs
744
746
  )
745
747
  if calc_type == 'cumulative':
748
+ # Get time window parameters
749
+ start_hour = kwargs.get("start_hour", 0) # Default to midnight
750
+ end_hour = kwargs.get("end_hour", 23) # Default to 11 PM
751
+
752
+ # Filter dataframe for specified hours
753
+ df_filtered = df[(df.index.hour >= start_hour) & (df.index.hour <= end_hour)]
754
+
746
755
  solar_map = get_cumulative_global_solar_irradiance(
747
756
  voxel_data,
748
757
  meshsize,
749
- df, lat, lon, tz,
758
+ df_filtered, lat, lon, tz,
750
759
  **kwargs
751
760
  )
752
761
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: voxcity
3
- Version: 0.3.6
3
+ Version: 0.3.8
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>
@@ -447,7 +447,7 @@ G, edge_gdf = get_network_values(
447
447
  <img src="https://raw.githubusercontent.com/kunifujiwara/VoxCity/main/images/network.png" alt="Example of Graph Output" width="500">
448
448
  </p>
449
449
  <p align="center">
450
- <em>Example Result Saved as OBJ and Rendered in Rhino</em>
450
+ <em>Cumulative Global Solar Irradiance (kW/m²·hour) on Road Network</em>
451
451
  </p>
452
452
 
453
453
  ## References of Data Sources
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes