Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
habrok:additional_information:course_material:exercises_solutions [2024/10/10 09:19] – [Exercise 6 - Using R within a job] fokke | habrok:additional_information:course_material:exercises_solutions [2024/11/26 10:29] (current) – Use dokuwiki wp links for wikipedia pedro | ||
---|---|---|---|
Line 611: | Line 611: | ||
==== Exercise 6 - Using R within a job ==== | ==== Exercise 6 - Using R within a job ==== | ||
- | In this exercise we will generate an animated image file showing an iterative generation of the Mandelbrot fractal using some code in R. You can find more details on the Mandelbrot set at https://en.wikipedia.org/ | + | In this exercise we will generate an animated image file showing an iterative generation of the Mandelbrot fractal using some code in R. You can find more details on the Mandelbrot set [[wp> |
The main purpose of the exercise is to learn how to submit R code using a job script to the cluster. Having a nice image as a result is a bonus. | The main purpose of the exercise is to learn how to submit R code using a job script to the cluster. Having a nice image as a result is a bonus. | ||
Line 912: | Line 912: | ||
When you open the file on your local computer you will see an animated version of the Mandelbrot fractal set. | When you open the file on your local computer you will see an animated version of the Mandelbrot fractal set. | ||
- | Details on this calculation can be found at: https://en.wikipedia.org/ | + | Details on this calculation can be found [[wp> |
</ | </ | ||
Line 978: | Line 978: | ||
==== Exercise 7 - Using Python within a job ==== | ==== Exercise 7 - Using Python within a job ==== | ||
+ | |||
+ | In this exercise we will run a Python script that will analyze some temperature data for cities around the world stored in a csv file. The result will be a graph showing the average temperature over a period of time for the city of your choosing. | ||
=== a. Go to the climate job directory === | === a. Go to the climate job directory === |