VForWaTer / metacatalog

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

api.add_variable() add parameter keyword #303

Closed AlexDo1 closed 1 year ago

AlexDo1 commented 1 year 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.