geobeyond / Arpav-PPCV-backend

Backend di Piattaforma Proiezioni Climatiche per il Nord-Est.
Creative Commons Attribution 4.0 International
0 stars 1 forks source link

Modify decade grouping #124

Closed ricardogsilva closed 1 month ago

ricardogsilva commented 1 month ago

This PR modifies the way that decades are processed in the function that gets time series for observations.

With the proposed implementation decades are now calculated from year 1 until year 10, which is what is used in climatology (as opposed to the usual from 0 to 9).

Additionally, if a decade contains less than seven years, it is not used.