Open danangmassandy opened 3 months ago
I have checked the R code and tried to integrate the code in the system using Plumber. The required fields are evapotranspirationSum, rainAccumulationSum, LTNPET, and LTNPrecip.
The R model is using Tomorrow.io data from below endpoints:
The variables that R model is using is only: rainAccumulationSum and evapotranspirationSum. I have created a data reader from tomorrow.io but currently it's only limited to these two variable and single point. We may need to add more variable for Crop Plan Generator to fetch short-term forecast.
SPW must fetch inputs from GAP, not directly from tomorrow.io
and write outputs to DB
Check the R code that John has sent.