Git Product home page Git Product logo

open-dapro's People

Contributors

floriank13 avatar jessymatar avatar

Stargazers

 avatar

Watchers

 avatar  avatar

open-dapro's Issues

Add tests and description for MaStR source

Using great expectations we should add tests for our source data so that we are notified if something changes. Also the documentation of the MaStR Source data set should be extended. The .yml files for the source description in dbt can then be transformed to OEMetadata schema.

Simplify setup

  • Rename duplicated environment variables (like pwd vs. DATA_WAREHOUSE_POSTGRES_PASSWORD)

dbt packages are not installed

When running docker-compose up, the dbt deps command is executet when the container docker_user_code is built. However after the building process, the volume for the dagter app data is mounted, overwriting the dbt package data created when running dbt deps initially.

Solution

Run dbt deps on container startup.

Repair Pipeline

stg_charging_points throws error

Error log:
Database Error in model stg_charging_points (models/staging/charging_points/stg_charging_points.sql)
function replace(double precision, unknown, unknown) does not exist
LINE 33: ...T(REPLACE("Längengrad", ',', '.') AS float), CAST(REPLACE("B...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
compiled Code at target/run/energy_dbt/models/staging/charging_points/stg_charging_points.sql

mastr__temporal_expansion throws error

Database Error in model mastr__temporal_expansion (models/marts/marktstammdatenregister/mastr__temporal_expansion.sql)
column "power" does not exist
LINE 36: power,

Make docker-compose compatible with .env file

Several sensitive information (like passwords etc) should also be configurable with the .env file when Dagster is run using docker-compose.

  • Make path of volumes an .env variable

Add unit tests

Decide which functions can be tested, and write according tests.

Add nginx as proxy to different services

Right now, some services are hosted at 0.0.0.0 using the docker compose setup. This should be changed so that they are only accessible over 127.0.0.1

A better setup would be to have nginx as a proxy and redirect to 127.0.0.1:PORTNUMBER

/dagster could redirect to the dagster UI
/geoserver could redirect to the GeoServer API

Delete `docker-compose` standalone dependency

Probably the docker setup can also be run by using docker compose command (which is installed together with docker). By that we can get rid of the additional installation of the standalone docker-compose command.

Documenting this family member in the new compendium

It would be great if someone could document oepn-dapro in our compendium. This will help to keep an overview of all our tools, and by providing a short description, users can better understand what this tool does in the context of the OE family.

The compendium is a simple mkdocs page hosted by github pages. It is maintained in this repo. : https://github.com/OpenEnergyPlatform/organisation
Content can be added by simply writing Markdown.
We use https://squidfunk.github.io/mkdocs-material/

I assume this tool could be documented on this site? What do you think?

https://github.com/OpenEnergyPlatform/organisation/blob/production/compendium/family_members/open-process-integration.md

The rendered website looks like this:
https://openenergyplatform.github.io/organisation/family_members/open-process-integration/

If you don't want to go to the trouble of adding content to the compendium, it would be nice if you could provide the descriptive text in this issue so I can add it later.

Extend Readme

  • Link to new documentation page
  • Delete detailed installation instructions
  • Add logo of fortiss and etwin project

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.