oda-hub / hugo-odahub

0 stars 0 forks source link

explain ontology restrictions #91

Open Lukas113 opened 7 months ago

Lukas113 commented 7 months ago

I've looked into odahub-ontology to define parameters. There are also additional options to set something like lower_limit, upper_limit or allowed_value, which is great. With tools like that I was thinking, are these restrictions automatically set to certain ontology-items like PointOfInterestRA? In the dev-guide-doc I've found the following statement:

""" it is possible to customize the parameter by adding annotation the input parameter with an MMODA ontology item as a comment (after the hash sign, #http://odahub.io/ontology#AngleDegrees in the reference example of the Source_region_radius parameter. This may be useful for checking the validity of the user inputs. For example, the sky angle in degrees (defined by the #http://odahub.io/ontology#AngleDegrees) should be a float number and can take values between 0 and 360. """

With only this, I'm not sure about the following things: