Precip Fields In Premium Point Forecast API
-
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.
-
@nikarayanpouya Hi, snow precipitation is in centimeters, the rest is displayed in milimeters and type is described in the documentation.
-
@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.
-
@nikarayanpouya Did you try to get data from units object?
-
@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
-
@nikarayanpouya Okay, could you please send units from these requests?
-
@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.
-
@Suty I dont have access to my request response right now i will post it tomorrow.
-
@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":"ms-1" km/h
//,"gust-surface":"ms-1" km/h
//,"cape-surface":"Jkg-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.
-
@nikarayanpouya Unfortunately, we take these data from weather models and we cannot affect these outputs.
-
@Suty Do you mean the data is wrong an you cant do anything about it?
-
@nikarayanpouya Do you have this issue in all cases, or it was only one time issue?
-
@Suty no its a regular issue and its makes us miscalculate rain status.
-
@Suty Are you checking the problem or Its unfixable?
-
@nikarayanpouya I will discuss it with colleagues and let you know about the result.
-
@Suty thanks
-
@Suty Its been 12 days haven't you reached any result about the issue?
-
@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. -
@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.
-
@nikarayanpouya
1 cm of snow gives 1 mm of water equivalent.