Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    Precip Fields In Premium Point Forecast API

    Developers
    5
    40
    15.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nikarayanpouya
      last edited by

      hello
      I wanted to know what does precip , snowPrecip and convPrecip parameters mean and how can I calculate raining and snowing status of a point using these fields and the precipType parameter.
      from reading the documents i found that
      precip is The overall accumulation of all precipitation
      snowPrecip is The overall snowfall
      convPrecip is The overall precipitation caused by convection
      but the data I am getting from the service is showing otherwise.

      past3hprecip-surface:
      0.09900332346567701,
      0.05548012329477785,
      0,
      past3hsnowprecip-surface:
      0.10043405865657022,
      0.051026981414225226,
      0,

      past3hconvprecip-surface:
      0,
      0.05032975859858755,
      0,

      ptype-surface:
      5,
      5,
      0,

      Here is the sample for parameters in a point in same times as you can see the precip that i supposed to be the overall precipitation has a now lower value than snowprecip that just the snow precipitation.

      SutyS N 2 Replies Last reply Reply Quote 0
      • SutyS
        Suty Administrator @nikarayanpouya
        last edited by

        @nikarayanpouya Hi, snow precipitation is in centimeters, the rest is displayed in milimeters and type is described in the documentation.

        N 1 Reply Last reply Reply Quote 0
        • N
          nikarayanpouya @Suty
          last edited by

          @Suty Snow Percip being centimeters actually worsens the problem because according to documentation "percip" should include both "convpercip" and "snowpercip" but as you can see in my example "snowpercip" number is bigger than "precip" number so it could be either that the numbers your giving me is wrong or the explanation for "precip" in the documentation.

          SutyS 1 Reply Last reply Reply Quote 0
          • SutyS
            Suty Administrator @nikarayanpouya
            last edited by

            @nikarayanpouya Did you try to get data from units object?

            N 1 Reply Last reply Reply Quote 0
            • N
              nikarayanpouya @Suty
              last edited by

              @Suty Yes im getting the unit from unit object with every request the problem is the data doesnt make sense like i explained in my previous posts

              SutyS 1 Reply Last reply Reply Quote 0
              • SutyS
                Suty Administrator @nikarayanpouya
                last edited by

                @nikarayanpouya Okay, could you please send units from these requests?

                N 1 Reply Last reply Reply Quote 0
                • N
                  nikarayanpouya @nikarayanpouya
                  last edited by

                  @nikarayanpouya data in this post is exactly from the request response except the percip numbers are multiplied by 1000 but as you see it doesn't matter if the snow percip is in centimeters or millimeter or meter either way it shouldnt be more than percip number according to your documents.

                  1 Reply Last reply Reply Quote 0
                  • N
                    nikarayanpouya @Suty
                    last edited by

                    @Suty I dont have access to my request response right now i will post it tomorrow.

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      nikarayanpouya @nikarayanpouya
                      last edited by

                      @nikarayanpouya // units":{
                      //"temp-surface":"K"
                      //,"dewpoint-surface":"K"
                      //,"past3hprecip-surface":"m"
                      //,"past3hconvprecip-surface":"m"
                      //,"past3hsnowprecip-surface":"m"
                      //,"wind_u-surface":"ms-1" km/h
                      //,"wind_v-surface":"m
                      s-1" km/h
                      //,"gust-surface":"ms-1" km/h
                      //,"cape-surface":"J
                      kg-1"
                      //,"ptype-surface":null
                      //,"lclouds-surface":"%"
                      //,"mclouds-surface":"%"
                      //,"hclouds-surface":"%"
                      //,"rh-surface":"%"
                      //,"gh-surface":"m"
                      //,"pressure-surface":"Pa"

                      here is the units object you are giving me in the requests response body and remeber as i said before the percip numbers i gave you

                      @nikarayanpouya said in Precip Fields In Premium Point Forecast API:

                      the percip numbers are multiplied by 1000

                      all three of them .

                      the enitre weather section of my web site is showing wrong data beacause of this problem and i need to fix the problem ASAP so your fast response would be much appreciated.

                      SutyS 1 Reply Last reply Reply Quote 0
                      • SutyS
                        Suty Administrator @nikarayanpouya
                        last edited by

                        @nikarayanpouya Unfortunately, we take these data from weather models and we cannot affect these outputs.

                        N 1 Reply Last reply Reply Quote 0
                        • N
                          nikarayanpouya @Suty
                          last edited by

                          @Suty Do you mean the data is wrong an you cant do anything about it?

                          SutyS 1 Reply Last reply Reply Quote 0
                          • SutyS
                            Suty Administrator @nikarayanpouya
                            last edited by

                            @nikarayanpouya Do you have this issue in all cases, or it was only one time issue?

                            N 2 Replies Last reply Reply Quote 0
                            • N
                              nikarayanpouya @Suty
                              last edited by

                              @Suty no its a regular issue and its makes us miscalculate rain status.

                              1 Reply Last reply Reply Quote 0
                              • N
                                nikarayanpouya @Suty
                                last edited by

                                @Suty Are you checking the problem or Its unfixable?

                                SutyS 1 Reply Last reply Reply Quote 0
                                • SutyS
                                  Suty Administrator @nikarayanpouya
                                  last edited by

                                  @nikarayanpouya I will discuss it with colleagues and let you know about the result.

                                  N 2 Replies Last reply Reply Quote 0
                                  • N
                                    nikarayanpouya @Suty
                                    last edited by

                                    @Suty thanks

                                    1 Reply Last reply Reply Quote 0
                                    • N
                                      nikarayanpouya @Suty
                                      last edited by

                                      @Suty Its been 12 days haven't you reached any result about the issue?

                                      SutyS 1 Reply Last reply Reply Quote 0
                                      • SutyS
                                        Suty Administrator @nikarayanpouya
                                        last edited by

                                        @nikarayanpouya Hi, I am sorry about the delay. After further discussions, there is no bug in these data. Parameter past3hprecip contains convective and snow ones, however they cannot be added together since, both of them can contain convective or snow ones as well. 07af0f2c-31a2-44ea-b77c-2ed56f5da3b8-image.png

                                        N 1 Reply Last reply Reply Quote 0
                                        • N
                                          nikarayanpouya @Suty
                                          last edited by

                                          @Suty according to this diagram your data has still problem because if look closely the number you gave me for snow percip is larger than percip but the percip should be larger than conv and snow percip according to your diagram thats only concluded if the snow is millimeters if the snow percip is in centimeters (if it is then your units in response are wrong) the problem actually worsen and the gap between the numbers is higher.

                                          idefix37I 1 Reply Last reply Reply Quote 0
                                          • idefix37I
                                            idefix37 Sailor Moderator @nikarayanpouya
                                            last edited by

                                            @nikarayanpouya
                                            1 cm of snow gives 1 mm of water equivalent.

                                            N 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
                                            NodeBB & contributors, OSM & contributors, HERE maps
                                            Terms of Use     Privacy Policy