Receive email notifications by changing your settings.
Click on your picture in the top right corner, go to Preferences and select your notification preferences.
Thank you for contributing to our forum!
Please keep in mind:
1. To only comment on the topic where the discussion is about. Do you have a new question or topic? Please start a new discussion.
2. Be kind to other users!

Rain Event in API

Hi,

I'm looking for the information about the Rain Event in the API. In the Rainfall Wizard it is possible to adjust the rain event. I can set the time for it to rain and the time it is dry after the rain.

Where can I find this information in the API? I did find the caclinfo in the information about the overlay (https://preview.tygron.com/api/session/items/overlays). However, it is not as specific as the information in the Rain Event (Rainfall Wizard). Also, it seems the calcinfo is more a summery of the cacluation, so I would think it pulls the information form somewhere else. But where?


Comments

  • Hi Ward,

    I understand it's an easy detail to miss, but it's actually documented on our wiki:

    https://previewsupport.tygron.com/wiki/Weather_(Water_Overlay)

    "Weather for the Water Module is defined as a Weather data". So rather than being part of the data of the overlay itself, it is actually housed in a separate Item (datatype). This allows multiple Overlays to refer to the same weather event, and to edit your weather event once but have the effect across Water Overlays be immediately equalized.

    Check your session API's endpoint here: https://preview.tygron.com/api/session/items/weathers (with the appropriate api token of course). You will find the weather effects which are also selectable in the Water Overlay's Wizard, and with attributes for rain and evaporation.

Sign In or Register to comment.