...
The algorithm calls SoilGridsAPI to grab organic matter data for the soil. This API accepts a latitude and longitude input and returns an integer for soil OM (e.g. 9).
Code Block |
---|
Variables: Field - Grab organic matter based on the soil - Logs based in their farm The algorithm adds the logs organic matter. If none is present, the algorithm calls soilgridsAPI in order to retrieve the organic matter. SoilGrids Organic Matter = SoilGridsAPI Organic Matter * 2 * 0.01 |
...