# Rest API help needed for values

**URL:** <https://community.tempest.earth/t/rest-api-help-needed-for-values/20938>\
**Category:** Developers\
**Created:** [May 19, 2023, 1:53pm UTC](https://community.tempest.earth/t/rest-api-help-needed-for-values/20938 "2023-05-19T13:53:50Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaelloercher](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@michaelloercher](https://community.tempest.earth/u/michaelloercher)\
**Post date:** [May 19, 2023, 1:53pm UTC](https://community.tempest.earth/t/rest-api-help-needed-for-values/20938/1 "2023-05-19T13:53:50Z")

</div>

Hello,

can someone help me what does the values mean in the rest api?

“precip”,“precip\_accum\_last\_1hr”,“precip\_accum\_local\_day”,“precip\_accum\_local\_yesterday”“precip\_minutes\_local\_day”,“precip\_minutes\_local\_yesterday”

---

<div class="post-metadata">

**Author:** ![sunny](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/sunny/32/16368_2.png) [@sunny](https://community.tempest.earth/u/sunny)\
**Post date:** [May 19, 2023, 9:10pm UTC](https://community.tempest.earth/t/rest-api-help-needed-for-values/20938/2 "2023-05-19T21:10:15Z")

</div>

rate, how much, how much, how much, how long, how long.

---

<div class="post-metadata">

**Author:** ![michaelloercher](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@michaelloercher](https://community.tempest.earth/u/michaelloercher)\
**Post date:** [May 19, 2023, 9:25pm UTC](https://community.tempest.earth/t/rest-api-help-needed-for-values/20938/3 "2023-05-19T21:25:55Z")

</div>

The rain ? In which unit?

---

<div class="post-metadata">

**Author:** ![sunny](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/sunny/32/16368_2.png) [@sunny](https://community.tempest.earth/u/sunny)\
**Post date:** [May 19, 2023, 9:38pm UTC](https://community.tempest.earth/t/rest-api-help-needed-for-values/20938/4 "2023-05-19T21:38:26Z")

</div>

In mm/hour , mm and minutes

---

<div class="post-metadata">

**Author:** ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)\
**Post date:** [May 20, 2023, 8:37pm UTC](https://community.tempest.earth/t/rest-api-help-needed-for-values/20938/5 "2023-05-20T20:37:46Z")

</div>

> [@sunny](#):
>
> rate

Not quite, the `precip` field is the amount of rain accumulated in the 1-minute window. It’s not a rate. The rate is 60\*`precip`

---

<div class="post-metadata">

**Author:** ![michaelloercher](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@michaelloercher](https://community.tempest.earth/u/michaelloercher)\
**Post date:** [May 21, 2023, 8:51pm UTC](https://community.tempest.earth/t/rest-api-help-needed-for-values/20938/6 "2023-05-21T20:51:01Z")

</div>

So for day I need to multiply with 60 and 24? Or only 60?

---

<div class="post-metadata">

**Author:** ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)\
**Post date:** [May 22, 2023, 6:20am UTC](https://community.tempest.earth/t/rest-api-help-needed-for-values/20938/7 "2023-05-22T06:20:03Z")

</div>

It depends what you are trying to achieve. Multiply by 60 to give an instantaneous rain rate in mm per hour. Multiply by 60 and then 24 to give an instantaneous rain rate in mm per day

---

<div class="post-metadata">

**Author:** ![sunny](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/sunny/32/16368_2.png) [@sunny](https://community.tempest.earth/u/sunny)\
**Post date:** [May 22, 2023, 10:28am UTC](https://community.tempest.earth/t/rest-api-help-needed-for-values/20938/8 "2023-05-22T10:28:15Z")

</div>

nobody uses a rain rate as defined in mm/day. so multiply by 60 and get the rate in mm/hour.  
Note that this is the rate as calculated from the last minute of rainfall. It will vary during the hour.

---

<div class="post-metadata">

**Author:** ![michaelloercher](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@michaelloercher](https://community.tempest.earth/u/michaelloercher)\
**Post date:** [May 22, 2023, 10:43am UTC](https://community.tempest.earth/t/rest-api-help-needed-for-values/20938/9 "2023-05-22T10:43:15Z")

</div>

So this value precip\_accum\_last\_1hr I need to multiply also by 60?

And this precip\_accum\_local\_day by 60 and 24?

Or ist it already done internally, what i assume?

---

<div class="post-metadata">

**Author:** ![sunny](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/sunny/32/16368_2.png) [@sunny](https://community.tempest.earth/u/sunny)\
**Post date:** [May 22, 2023, 11:15am UTC](https://community.tempest.earth/t/rest-api-help-needed-for-values/20938/10 "2023-05-22T11:15:09Z")

</div>

no, you don’t need to multiply those numbers. They tell you how much it rained during that period (how much = accumulated)
