-
Notifications
You must be signed in to change notification settings - Fork 1
Description
bpptkg-meteo package currently only provides database model for several weather stations, e.g. Pasarbubar, Babadan. We use this package in the BPPTKG Monitoring APIs (BMA) project that provides API endpoint to query weather data, especially rainfall. Currently BMA calculates Pasarbubar rainfall on the fly based on the request time range. This can expose a new issue because rainfall may not be detected when current time range in the request is below rainfall duration.
So, in this project we begin to create some modules that provides inline calculation of rainfall, and also effective rainfall detection algorithm for Pasarbubar station. Currently rainfall column in the database model only store counter value. That's why we need to calculate actual rainfall value from counter value.
Proposed additional columns are actual rainfall value in mm and the rainfall rate in mm/h.