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

Inconsistens Metadata returns #1696

Open christian-rli opened 4 weeks ago

christian-rli commented 4 weeks ago

Description of the issue

The OEMetabuilder and the table download functions return metadata in a different form.

Steps to Reproduce

  1. Create a table through the upload wizard and look at the JSON there
  2. download the table metadata in the table view

Ideas of solution

The two sources use different functions to return/create metadata. Either use the same function or if not feasible, adapt one function to match the output of the other.

Also see https://github.com/OpenEnergyPlatform/omi/issues/99

henhuy commented 19 hours ago

I can see different order of keys. Are there other differences?