Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login
    1. Home
    2. Vladislav Iaroshchuk
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    Vladislav Iaroshchuk

    @Vladislav Iaroshchuk

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Vladislav Iaroshchuk Unfollow Follow

    Latest posts made by Vladislav Iaroshchuk

    • Unclear rainin / precip params meaning in Windy.Stations API

      Hi!

      I’m implementing my weather station exporter to Windy.Stations https://github.com/shchuko/acurite-bridge

      I’m not sure I’ve understood how to report ‘rainin’, so currently I simply disabled reporting this parameter and need your support.

      Please correct me if I’m wrong

      1. Pre-conditions: my station reports current precipitation accumulation, not increase, evety ~30..60 seconds. So I'm calculating rainin myself
      2. At 1:05 precipitation accumulation was 1.0 inch
      3. At 2:15 precipitation accumulation changed to 1.01 inch (increase +0.01 inch)
      4. At 2:25 precipitation accumulation changed to 1.015 inch (increase +0.005 inch)
      5. No more rain than, next few hours precipitation accumulation was 1.015 inch

      My station reports the data once a minute. I guess that I have to report rainin this way:

      • At 1:05 rainin=0.0
      • [...] (no rain this period)
      • At 2:14 rainin=0.0
      • At 2:15 rainin=0.01 (accumulation increase 1.0 -> 1.01; +0.01)
      • At 2:16 rainin=0.01 (last hour increase is still 0.01)
      • [...] (accumulation reported by station was not changed)
      • At 2:24 rainin=0.01
      • At 2:25 rainin=0.015 (accumulation increase 1.01 -> 1.015; +0.005)
      • At 2:26 rainin=0.015 (last hour increase is still 0.015)
      • [...] (no more rain)
      • At 3:14 rainin=0.015 (last hour increase is still 0.015)
      • At 3:15 rainin=0.005 (increase recorded at 2:15 is out of “last hour window”, so now last hour increase is 0.005)
      • At 3:16 rainin=0.005 (last hour increase is still 0.005)
      • [...] (no more rain)
      • At 3:24 rainin=0.005 (last hour increase is still 0.005)
      • At 3:25 rainin=0.0 (increase recorded at 2:25 is out of “last hour window”, so now last hour increase is 0.0)

      tl;dr I’m using a sliding 1-hour window and reporting the precipitation increase over the last hour. If the increase is too old to be in this window, it’s dropped and not reported.

      Am I right here?

      posted in Windy Stations
      Vladislav IaroshchukV
      Vladislav Iaroshchuk