跳转到主要内容

Parflow Simulation modeler

项目描述

Parflow Simulation Modeler

许可证

自由软件:Apache软件许可证

安装

创建虚拟环境

python -m venv .venv
source .venv/bin/activate

构建和安装Vue组件

export NODE_OPTIONS=--openssl-legacy-provider
cd vue-components
npm i
npm run build
cd -

安装应用程序

pip install -e .

运行应用程序

pf-simulation-modeler --help
pf-simulation-modeler --server --port 1234 -D data/database/ -S data/share/ -O data/output/

文档

文件结构

- pf_simulation_modeler/
    - app/
        - engine/
            - model/    # Simput model/UI definitions
            - snippets/ # Logic for page code snippets
            - engine.py # Main logic handler
            - ...       # Logic components (generally specific to pages)

        - ui/
            - ui.py # Main UI handler
            - ...   # UI components (pages)

        - main.py # Entry point

    - module/  # Serves the compiled Vue components
    - widgets/ # Python wrapper around the Vue components

- vue-components/src/components/ # Custom Vue components
    - FileDatabase/ # FileDatabase Vue component
        - index.vue     # Vue component
        - script.js     # JS logic
        - template.html # HTML template

    - ... # Other Vue components

- data/ # Data files (used for cli args)
    - database/ # FileDatabase data
    - output/   # Project Output data
    - share/    # Shared data

项目详情


下载文件

下载适用于您的平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源分发

pf-simulation-modeler-0.1.1.tar.gz (71.1 kB 查看哈希值)

上传时间 源代码

构建版本

pf_simulation_modeler-0.1.1-py3-none-any.whl (90.7 kB 查看哈希值)

上传时间 Python 3

由以下支持