Skip to content

cgs-earth/OregonWaterDataPortal-ETL

Repository files navigation

Oregon Water Data Portal ETL

The Oregon Water Data portal crawls or ingests data from multiple different Oregon sources and exposes them via a Sensorthings and OGC API Features endpoint.

Usage

Copy the .env.example file to .env and change the URL to your desired domain.

Development

  1. Install uv
  2. Enter the virtual environment
  3. Run the user code locally with the following command
make dev

Services can be accessed at the following URLs:

Service URL
Frontend http://localhost:8999
Crawler UI http://localhost:3000
API http://localhost:8999/oapi
Database http://localhost:8999/FROST-Server/

Production

Builds the images then run user code as a container

make prodBuild
make prodUp

Start the reverse proxy, Caddy, which exposes the services and provisions the SSL certificate

make caddy

Performance tips

  • Once you start the database and the frost server, you will likely want to add extra indices to optimize queries.
    • Run make addIndices to add them

Integrations

Each integration that we are ingesting is defined as a separate folder in the userCode folder.

Documentation for all individual integrations can be found in the docs folder

About

Dagster ETL for transforming Oregon data into a sensorthings model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages