-
Story
-
Resolution: Fixed
-
Normal
-
None
-
None
-
None
-
None
Currently GDD calculation is linked to decomposition endpoint. It looks like below
Here the dw_dataset_id represents the weather files
We can create an independent endpoint that just uses two inputs: a) start date b) weather file dataset id, and outputs the GDD results. The format can be similar to the decomposition json.
[{"date": "2021-09-25", "GDD": 14.9}, {"date": "2021-09-26", "GDD": 24.1}, ...] |
May be we can return the results for next 365 days, and frontend can decide which ones to display