Replaced hub in multiple places

This commit is contained in:
Ruben Sanchez 2023-11-28 14:27:42 -05:00
parent c2bbece21c
commit 2eb416e05f
3 changed files with 10 additions and 10 deletions

View File

@ -1,5 +1,5 @@
from pathlib import Path
result = list(Path("../hub/hub/city_model_structure").rglob("*.[pP][yY]"))
result = list(Path("../cerc_persistence/cerc_persistence/models").rglob("*.[pP][yY]"))
dot_file = './source/uml.dot'
dot = 'digraph { \n ratio="fill"; \nsize="16.6,23.4!";\nmargin=0; \n \n'
class_line = None

View File

@ -13,19 +13,19 @@
import os
import sys
sys.path.insert(0, os.path.abspath('../../hub/'))
sys.path.insert(0, os.path.abspath('../../cerc_persistence/'))
sys.path.append(os.path.abspath("./_ext"))
sys.path.append(os.path.abspath("./_static"))
sys.path.append(os.path.abspath("."))
from hub.version import __version__
from cerc_persistence.version import __version__
sys.setrecursionlimit(1500)
# -- Project information -----------------------------------------------------
project = 'CERC hub reference manual'
project = 'CERC persistence reference manual'
copyright = '2021, Guille Gutierrez and Pilar Monsalvete'
author = 'CERC Next-Generation Cities'
@ -44,7 +44,7 @@ extensions = [
]
autodoc_mock_imports = ["pyproj", "numpy", "trimesh", "Node", "Edge", "pandas", "typing", "xmltodict", "geomeppy",
"parseidf", "rhino3dm", "pyecore", "EPackage", "pyecore.ecore", "geopandas", "shapely",
"hub.catalog_factories.greenery.greenery_catalog", "catalog_factories.greenery.greenery_catalog"
"catalog_factories.greenery.greenery_catalog"
]
# Add any paths that contain templates here, relative to this directory.

View File

@ -12,13 +12,13 @@
:width: 30
:alt: Cat
CERC HUB' reference manual
CERC PERSISTENCE' reference manual
=====================================
.. toctree::
:maxdepth: 4
:caption: Contents:
CERC HUB' reference manual
CERC PERSISTENCE' reference manual
=====================================
Authors
*************************
@ -36,11 +36,11 @@ Contributors
* Sanam Dabirian
* Soroush Samareh Abolhassani
About the HUB
About the PERSISTENCE
*************************
This document contains the essential documentation for the CERC HUB, a set of classes, factories, and helpers that simplifies the research at urban scale in multiples domains; these components are designed around three central axes, **extensibility**, **code clarity** and **consistency** as we intend to allow domain experts to perform urban scale simulations with multiple programs and enrich the city from several data sources.
HUB is composed of four main components: **city model structure**, **factories**, **catalogs** and, **helpers**.
This document contains the essential documentation for the CERC PERSISTENCE, a set of classes, factories, and helpers that simplifies the research at urban scale in multiples domains; these components are designed around three central axes, **extensibility**, **code clarity** and **consistency** as we intend to allow domain experts to perform urban scale simulations with multiple programs and enrich the city from several data sources.
PERSISTENCE is composed of four main components: **city model structure**, **factories**, **catalogs** and, **helpers**.
- **City model structure** is the set of classes designed to be familiar to the domain experts; this familiarity will be possible thanks to using a *standard-based* approach in order to flatten the learning curve. These classes compose the CERC *data model* that provides a simple way to study cities at an urban scale after the enriching process.
- **Factories** are pieces of code in charge of import and export information in and out of the **data model** they will perform the needed conversions to read or write different formats such as epw weather files, insel files or citygml. these factories are mean to be extended, allowing the HUB ecosystem to expand with new formats.