Skip to content

Inline calculating of Pasarbubar rainfall and rate #1

@indrarudia

Description

@indrarudia

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions