-
Download
git clone https://github.com/rdcep/ede cd ede
-
Setup virtual environment
virtualenv venv source venv/bin/activate
-
Add project's top-level directory to pythonpath
export PYTHONPATH=$(pwd):$PYTHONPATH
-
Install PostgreSQL, PostGIS, and dependencies.
Eg, for Ubuntu:
sudo apt-get update sudo apt-get install postgresql sudo apt-get install gdal-bin
-
Download requirements
pip install -r requirements.txt
-
Start PostgreSQL and create a database called
ede
with PostGIS support.createdb ede psql ede > CREATE EXTENSION postgis;
-
Create an
credentials.py
file in theede
package.DB_USER = 'postgres' DB_PASS = '' DB_HOST = 'localhost' DB_NAME = 'ede' DB_PORT = '5432' SECRET_KEY = 'avc7o9EIXhJVa9JnlLa0voxf'
-
Initialize database tables.
python ede/schema/create_tables.py
-
Ingest a NetCDF into Postgres
python ede/ingest/ingest.py <path to netCDF>
-
Notifications
You must be signed in to change notification settings - Fork 1
License
RDCEP/EDE
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published