OpenEnergyPlatform / oeplatform

Repository for the code of the Open Energy Platform (OEP) website. The OEP provides an interface to the Open Energy Family
http://openenergyplatform.org/
GNU Affero General Public License v3.0
61 stars 19 forks source link

Scenario Bundles: Enable users to add dataset by IRIs and also Provide functionality to add multiple datasets at once #1540

Open chrwm opened 5 months ago

chrwm commented 5 months ago

Description of the issue

Links inserted in the IRI field, for a specific scenario, are not saved. grafik

Not sure if I understand the feature corretly. However, I'd expect to put hyperlinks to input data there, e.g. links to the OEP. In SEDOS example this link to input data

Steps to Reproduce

  1. open specific scenario
  2. insert link: https://openenergy-platform.org/dataedit/view/model_draft?query=sedos&tags=246&tags=219
  3. try to save

Ideas of solution

Context and Environment

Workflow checklist

jh-RLI commented 5 months ago

This function is not yet complete. This is mainly due to the fact that it does not use the current state of the database, but depends on a static list of tables and URIs that was created as a kind of snapshot of the database at a specific point in time. Data that was uploaded later is not taken into account. I need to implement an API for this.

In addition, only tables in the Schenario theme can be found.

Since we do not support data packages (references to multiple tables via a single link), you must insert each table individually and when you enter the name in the left form, the URI field will be filled in for you.

However, if you try to insert data from model_draft, this will not work as expected.