MoReVis is a visualization technique that summarizes spatiotemporal data that presents a region in space that evolves through time. In this repository is the code that implements the technique and the implementation of visualizations tools that make use of MoReVis.
- We developed MoReVis with Anaconda using Python. On a terminal with conda, create an env with the packages used in MoReVis with the
enviroment.ymlfile.
conda env create -f enviroment.yml- Then activate the environment to run Notebooks and scripts:
conda activate morevis- MoReVis also made use of a solver; it can be GUROBI or MOSEK. You need to ask for a free academic license and install it in your conda env.
conda install -c gurobi gurobior
conda install -c mosek mosek-
And then follow the steps on the site GUROBI/MOSEK to activate your license.
-
The preprocessed data is available in
data/processed, and the hurricane is available atdata/hurdat; however, if you want to apply the preprocessing steps, download the WILDTRACK data in this link (download the annotated dataset) and extract it in the folderdata/wildtrack.
- Before running notebooks, create the folders
notebooks/metrics-resultsandnotebooks/plots. - For preprocessing the datasets, run the notebooks
wildtrack.ipynb,hurdat.ipynb, andsynthetic_data.ipynb. - For running evaluations, run the notebooks
evaluate_optimization.ipynb,evaluate_projections.ipynb,motionlines_comparison.ipynb. - You can run the visualization interface. It is necessary first to download the WILDTRACK dataset and run the preprocessing. After, inside the file
app/run the commands:
set FLASK_APP = application.py # windows
export FLASK_APP = application.py # ubuntu
python -m flask run- And open your browser in the URL
http://127.0.0.1:5000/index.
Distributed under the GNU v3 License. See LICENSE for more information.