3.2 KiB
Visualize GDD data wit Jupyter Notebook
Instructions
For dis lesson, you don gather GDD data wit IoT sensor. To get beta GDD data, you go need gather data for plenty days. To help you see temperature data well and calculate GDD, you fit use tools like Jupyter Notebooks to analyze di data.
Start by gathering data for some days. You go need make sure say your server code dey run anytime your IoT device dey run, either by adjusting your power management settings or running something like dis keep system active Python script.
Once you don get temperature data, you fit use di Jupyter Notebook wey dey dis repo to see am well and calculate GDD. Jupyter notebooks dey mix code and instructions inside blocks wey dem dey call cells, most times na Python code. You fit read di instructions, then run each block of code one by one. You fit also edit di code. For dis notebook example, you fit change di base temperature wey dem dey use calculate di GDD for your plant.
-
Create one folder wey you go call
gdd-calculation -
Download di gdd.ipynb file and put am inside di
gdd-calculationfolder. -
Copy di
temperature.csvfile wey di MQTT server create. -
Create new Python virtual environment inside di
gdd-calculationfolder. -
Install some pip packages for Jupyter notebooks, plus libraries wey you go need to manage and plot di data:
pip install --upgrade pip pip install pandas pip install matplotlib pip install jupyter -
Run di notebook for Jupyter:
jupyter notebook gdd.ipynbJupyter go start and open di notebook for your browser. Follow di instructions wey dey di notebook to see di temperatures wey dem measure, and calculate di growing degree days.
Rubric
| Criteria | Exemplary | Adequate | Needs Improvement |
|---|---|---|---|
| Capture data | Capture at least 2 complete days of data | Capture at least 1 complete day of data | Capture some data |
| Calculate GDD | Successfully run di notebook and calculate GDD | Successfully run di notebook | No fit run di notebook |
Disclaimer:
Dis dokyument don use AI translation service Co-op Translator do di translation. Even as we dey try make am accurate, abeg sabi say automated translations fit get mistake or no dey correct well. Di original dokyument wey dey for im native language na di main source wey you go trust. For important information, e better make professional human translation dey use. We no go fit take blame for any misunderstanding or wrong interpretation wey fit happen because you use dis translation.
