Closed BenFaruna closed 3 months ago
I have moved the averageAGB function into average_agb.cairo file in the methodologies module.
I also made changes to the visibility of TABLE3A11 function, Table3A14Data struct with it's variables and I added the module to lib.cairo.
Thanks @BenFaruna for your modifications and I'm going to ask you for one last little adjustment that I hadn't specified but which, after discussion with the team, could be more interesting. Rather than using if
, else
it would be better to do pattern matching for the function, it's very quick to modify this and you'll find information here: https://cairo-by-example.com/examples/pattern_matching/
Thanks and have a nice day :)
Alright, I will do that Since there're lots of options, it might take a while I'll let you know when I'm done
I have added the ecological zone and climate domain for all the countries and the function to calculate the average above ground biomass and implemented the test for the function.