VForWaTer / metacatalog

Modular metadata management platform for environmental data.
https://vforwater.github.io/metacatalog
GNU General Public License v3.0
3 stars 1 forks source link

api.add_variable() add parameter keyword #303

Closed AlexDo1 closed 8 months ago

AlexDo1 commented 8 months ago

Currently it is not possible to associate a newly created variable with a keyword. But this connection between variables and defined keywords is essential to find variables later, so we need to add this functionality to metacatalog.

api.add_variable(session, name, symbol, keyword), where keyword can be the keyword_id or the full_path.

On the V4W(server) database there are currently also some variables added by upload scripts without keyword linking, where possible I would add keyword ids manually.