The Virtual Observatory provides a valuable source for presentations in digital planetaria. However, importing data into planetaria can be a time-consuming process because the data must be selected, downloaded and transformed into a format used in digital planetaria. The later step is typically done by means of ad-hoc scripts. DomeCat is a user-friendly tool that can perform such steps on a single graphical user interface (GUI). Additionally, includes a database to keep track of the transformed data and runtime of the procesess.
The easiest way to run DomeCat is by downloading an executable file for Ubuntu, Windows or MacOSX. The latest releases can be found here.
apt install python3.9-dev python3.9-venv
- Clone this repository.
git clone https://github.com/Venustiano/DomeCat.git
cd ./DomeCat/src
- Run
source ./domecat-env.sh
This script will create and activate a virtual environment
env
, install the required packages and run python domecat.py
-
If everything went fine, you'll see the GUI.
-
When you are done close the app. Your current directory will be the root of the repository.
-
Deactivate the environment.
deactivate
- Activate the virtual environment
source ./env/bin/activate
- Run the following command
pyinstaller --onefile --add-data "./env/lib/python3.9/site-packages/astroquery/CITATION:astroquery/" --add-data "./config/*:config/" ./domecat.py
- Run the app
./dist/domecat
- In a powershell window, clone this repository
git clone https://github.com/Venustiano/DomeCat.git
cd ./DomeCat/src
-
Install if necessary and make sure you add python to the
PATH
-
Create a virtual environment
python -m venv env/
- Activate the virtual environment
.\env\Scripts\activate.ps1
- If the above command does not work run as administrator in a different powershell window
powershell Set-ExecutionPolicy -Scope "CurrentUser" -ExecutionPolicy "RemoteSigned"
- Install the
sciserver
python libraries.
cd ./env/
git clone http://github.com/sciserver/SciScript-Python.git
cd SciScript-Python/py3
python setup.py install
cd ..\..\..\
- Install the required packages
pip install -r .\requirements.txt
- Run Domecat
python .\domecat.py
- After stopping DomeCat, deactivate the environment.
deactivate
- Activate the virtual environment
.\env\Scripts\activate.ps1
- Run the following command
pyinstaller.exe --onefile --add-data "./env/Lib/site-packages/astroquery/CITATION;astroquery/" --add-data "./config/*;config/" ./domecat.py
- Run the app
.\dist\domecat.exe
The development of DomeCat was undertaken as part of the Target Field Lab, with financial contributions from Samenwerkingsverband Noord Nederland (SNN), the European Regional Development Fund (ERDF), and the Dutch Ministry of Economic Affairs and Climate Policy (EZK).