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

fix incorrect generation of related coverage identifiers #180

Closed ricardogsilva closed 3 months ago

ricardogsilva commented 3 months ago

This PR fixes an error with the time series generation where the all related datasets (including those that have uncertainty values) were not being generated correctly. This error was being caused by in incorrect conversion of possible values.

This PR also adds a simple integration test case for exercising the code path that generates a coverage time series. the aim is to prevent future modifications to the code to introduce regressions. For brevity this test case does not take into account the related values - I will add a more comprehensive test case later.