The aim of the project is to study the variation of biomass on planet Earth. To achieve this goal, it was assumed to photograph the planet with the infrared camera, identifying the areas with the presence of vegetation through NDVI (Normalized Difference Vegetation Index) processing. To obtain the state and the variation of biomass in a given period of time, a comparison with archive photographs was hypothesized. Substantially, the software verifies that the space station flies over a sunlit area, taking photographs with a cadence compatible with the memory occupation established by Team AstroPi. The project foresees the study of the collected photographs, comparing the ndvi value of the biomass areas not covered by clouds with the value of the archive photographs, in order to verify the differences and possible contractions of the areas covered by vegetation.
vanno caricati gli script di esempio offerti da AstroPI. ognu script un file diverso identificabile dal nome. Sarebbe meglio un copia ed incolla anche dei commenti e delle descrizioni, come commento in testa al codice.
deve essere costruita la funzione main, anche se in modo grossolano deve riprendere l'algoritmo principale. Anche se abbiamo visto che è cambiato l'obiettivo di progetto facciamo in modo che scatti foto a prescindere. raccogliamo dati e vediamo cosa riusciamo a dedurre a posteriori.
questa è la documentazione di orbit:
probabilmente sbagli ad eseguire. esegui il codice digitando nel terminale: python3 csv_creator.py
Il problema è l'oggetto ISS che secondo me non va bene. Deve essere satellite.
Un altro problema è invece il modulo pisense, che non ha senso perchè abbiamo detto che il sensehat non lo usiamo. Oppure si? credo non serva ma verifichiamo. se Dovesse servire allora devi eseguire questo codice sul raspberry dopo averlo installato e capire se gira. Per testarlo a casa ti conviene sostituire i dati che arrivano dal sensore con valori casuali, giusto per testare l'inserimento nel csv.