Skip to content

Commit

Permalink
Merge pull request #277 from AaltoSciComp/rkdarst/scirpts-output
Browse files Browse the repository at this point in the history
content/scripts: Fix example, `output` isn't a optional argument
  • Loading branch information
bast authored Dec 13, 2023
2 parents 544a91d + b213aab commit 888bbaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/scripts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ Exercises 2
$ python weather_observations.py https://raw.githubusercontent.com/AaltoSciComp/python-for-scicomp/master/resources/data/scripts/weather_tapiola.csv temperature_tapiola.png
$ python weather_observations.py -s 1/12/2020 -e 31/12/2020 https://raw.githubusercontent.com/AaltoSciComp/python-for-scicomp/master/resources/data/scripts/weather_tapiola.csv temperature_tapiola_dec.png
$ python weather_observations.py -s 1/2/2021 -e 28/2/2021 https://raw.githubusercontent.com/AaltoSciComp/python-for-scicomp/master/resources/data/scripts/weather_tapiola.csv temperature_tapiola_feb.png
$ python weather_observations.py https://raw.githubusercontent.com/AaltoSciComp/python-for-scicomp/master/resources/data/scripts/weather_cairo.csv --output temperature_cairo.png
$ python weather_observations.py https://raw.githubusercontent.com/AaltoSciComp/python-for-scicomp/master/resources/data/scripts/weather_cairo.csv temperature_cairo.png
- We can now process different input files without changing the script.
- We can select multiple time ranges without modifying the script.
Expand Down

0 comments on commit 888bbaa

Please sign in to comment.