This folder contains functionality for running the GP model, mainly used in spatial temporal modelling works.
- Add the
.env
file. This can be obtained from the project owner. For team members, this can be accessed from GCP secret manager(sta-env-gp-model
)
python -m venv venv
- Ensure to use
python3.7
orpython3.8
as the python version. - If you have mutliple python versions, you can specify the python version as follows:
python3.8 -m venv venv
source venv/bin/activate
source venv\bin\activate
pip install -r requirements.txt
python main.py
docker build -t gp-model .
docker run gp-model
- This is a CRON job only thus it does not require any ports to be exposed.