Skip to main content

Parflow Simulation modeler

Project description

Parflow Simulation Modeler

License

Free software: Apache Software License

Installing

Create virtual environment

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

Build and install the Vue components

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

Install the application

pip install -e .

Run the application

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

Documentation

File Structure

- 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pf-simulation-modeler-0.1.1.tar.gz (71.1 kB view details)

Uploaded Source

Built Distribution

pf_simulation_modeler-0.1.1-py3-none-any.whl (90.7 kB view details)

Uploaded Python 3

File details

Details for the file pf-simulation-modeler-0.1.1.tar.gz.

File metadata

  • Download URL: pf-simulation-modeler-0.1.1.tar.gz
  • Upload date:
  • Size: 71.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/40.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.4 tqdm/4.65.0 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.12

File hashes

Hashes for pf-simulation-modeler-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0805f16271f12ef9dc9dfa2428c08d61302a70790368fbec5f7e919ee8939b8f
MD5 a02a696313d8cbd41d3c820006002c16
BLAKE2b-256 95ee6149b1f6a3bc646f8781e0ea542efeb385b21e1c09d120ea1aa7f18d0115

See more details on using hashes here.

Provenance

File details

Details for the file pf_simulation_modeler-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pf_simulation_modeler-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 90.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/40.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.4 tqdm/4.65.0 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.12

File hashes

Hashes for pf_simulation_modeler-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4107f9777345b14ab5780c3919e6102a9a6845fd8d2d9b34fbf8e3e8d93c0821
MD5 d6d843baa5a44ed012d45e890351952c
BLAKE2b-256 c5c5548b209fb6480b15a6e5dad794dd262a915a9449d70e07d46a58fbac3168

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page