~~NOTOC~~ ====== ULSA Python Workshop - 2022-09-09 ====== **Workshop by Clein Sarmiento and Rolf Becker from HSRW on 2022-09-09** **[[:latinet:hsrw:about_hsrw|About HSRW]]** ===== Preparation ===== * Install the **[[https://www.anaconda.com/|Anaconda Python Data Science Suite]]** * Download **{{ :latinet:ulsa:ulsa_ws_v003.zip |}}** containing the workshop Python code * Download **{{ :latinet:ulsa:nicaragua_geothermal_scraper_v001.zip |}}** ===== Impressions ===== | {{ :latinet:ulsa:16627390439903459414805255233526.jpg?direct&400 |}} | | {{youtube>2cxsUUp4RXE?400}} | | Student workshop at ULSA with Clein and Rolf, 2022-09-09 | ===== Code Snippets to Handle the Conda Environment ===== This code is to be executed in a terminal. I extended the list of software packages to be installed to run all provided workshop examples. Mac and Linux users just open a standard terminal. On Windows open the Anaconda Powershell prompt. \\ Execute the following code: # create conda environment including installation of all necessary packages conda create -c conda-forge -n ulsa python=3 jupyterlab ipywidgets numpy pandas scipy scikit-learn matplotlib plotly seaborn # activate conda environment conda activate ulsa # other packages: web scraper conda install -c conda-forge beautifulsoup4 # other packages: web dashboards with dash/plotly conda install -c conda-forge jupyter-dash dash dash-core-components dash-html-components # start Jupyter-Lab (-C in the terminal to exit jupyter-lab) jupyter-lab # leave conda envoronment and change to the base (default) environment conda deactivate # remove environment (in case you want to delete it) # conda env remove -n ulsa ===== Further Github Links to Lecture Material of R. Becker, HSRW ===== * **[[https://github.com/rolfbecker/EE_2.06_SciProg_SS2022|Scientific Programming]], Lecture EE_2.06, [[https://www.hochschule-rhein-waal.de/en/faculties/communication-and-environment/degree-programmes/bachelor-degree-programmes/environment-an|Environment and Energy Program]], HSRW** * **[[https://github.com/rolfbecker/EE_3.07_Geodata_WS2021|Geodata Management Systems]], Lecture EE_3.07, [[https://www.hochschule-rhein-waal.de/en/faculties/communication-and-environment/degree-programmes/bachelor-degree-programmes/environment-and|Environment and Energy Program]], HSRW**