GraphApp is a package specialized in interactive visualization of ensemble of time-series, notably when the ensemble size is small such as in ensemble weather prediction. GraphApp interpretation of the data relies on the PersiGraph method (which itself uses the PyCVI package to assess the quality of the clusters).
- Install poetry (recommended) or anaconda
Copy / clone the content of the
GraphAppfolder fromgithub.com:nglm/graphapp.git.You should have the following arborescence: (Note that the
GraphAppfolder can be renamed or merged with another of your personal folder)GraphApp/ data/ graphapp/ LICENSE.txt notes_for_developers. poetry.lock pyproject.toml requirements.txt README.md
In the
GraphAppfolder, run the command that corresponds to your python package manager (seePrerequisite) in order to create a virtual environment with the packages required for theGraphAppapplication.- OPTION A. using poetry (recommended).
poetry install
- OPTION B. using anaconda
# Replacing <environment_name> with a custom name for your environment# conda create --name <environment_name> --file requirements.txt# Example: conda create --name ga-env --file requirements.txt
Put your data in the
GraphApp/datafolderIn the
GraphAppfolder, run the command that corresponds to your python package manager (seePrerequisite) in order to run the application locally- OPTION A. using poetry (recommended).
poetry run python graphapp/manage.py runserver 8080
- OPTION B. using anaconda
# Replacing <environment_name> with the name of your environment# conda create --name <environment_name> --file requirements.txt# Example: conda run --name ga-env python graphapp/manage.py runserver 8080
In your browser, go to the following URL
http://127.0.0.1:8080/Choose your type of visualization
Interact with the plots as you wish
The generated graphs are saved in the
GraphApp/data/generated/graphsfolder and can be loaded and manipulated with thePersiGraphpython package.