diff --git a/Freva_Workshop_2024/day 2/index.slides.html b/Freva_Workshop_2024/day 2/index.slides.html index d0e1c36..2bacef8 100644 --- a/Freva_Workshop_2024/day 2/index.slides.html +++ b/Freva_Workshop_2024/day 2/index.slides.html @@ -6,7 +6,7 @@ Day 2 - Introduction to Freva Plugins slides @@ -7441,7 +7441,7 @@

Freva: Plugin Development

freva dev -

Martin Bergemann, Bijan Fallah, Andrej Fast, Mostafa Hadizadeh, +

Martin Bergemann, Bijan Fallah, Andrej Fast, Mostafa Hadizadeh, Christopher Kadow, Etor E. Lucio-Eceiza, Felix Örtel, Manuel Reis, and many others…

Deutsches Klimarechenzentrum @ CLINT in Data Analysis Dpt. (+ Data Management Dpt.*)

@@ -7536,1538 +7536,6 @@

Structure of a Plugin: The tool *caveat: we encourage free software -

- - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- @@ -9166,14 +7634,15 @@

Gitlab and Freva: @@ -9184,10 +7653,12 @@

Gitlab and Freva: location of @@ -9418,7 +7889,7 @@

2. PyCharm freva dev -

Image depicting a list of installed PyCharm plugins, with the "Remote Development Gateway" being installed and enabled.

+

Image depicting a list of installed PyCharm plugins, with the "Remote Development Gateway" being installed and enabled.

@@ -9434,7 +7905,7 @@

2. PyCharm freva dev -

Image depiciting the welcome screen of PyCharm Professional, with the "Remote Development" Tab highlighted using red arrows.

+

Image depiciting the welcome screen of PyCharm Professional, with the "Remote Development" Tab highlighted using red arrows.

@@ -10372,18 +8843,18 @@

Activate Environment

More flexible approach via Makefile

We can define a Makefile as below and then after definition of environment.yml, install all the dependencies listed above via make commands. But first and foremost, we need to ensure, we have make installed on our machine.

env:
-    @# Installs a conda environment with R and the IDF package
-    @if [ -d "./plugin_env" ]; then \
-    	rm -rf ./plugin_env; \
-    fi
-    conda env create --prefix ./plugin_env -f environment.yml --force
-    Rscript -e 'install.packages("IDF", repos="https://CRAN.R-project.org/")'
+	@# Installs a conda environment with R and the IDF package
+	@if [ -d "./plugin_env" ]; then \
+		rm -rf ./plugin_env; \
+	fi
+	conda env create --prefix ./plugin_env -f environment.yml --force
+	Rscript -e 'install.packages("IDF", repos="https://CRAN.R-project.org/")'
 cartopy:
-    @# Download various cartopy shape-files
-    @if [ -d "./cartopy" ]; then \
-    	rm -rf ./cartopy; \
-    fi
-    ./plugin_env/bin/python3 assets/cartopy_download.py physical cultural
+	@# Download various cartopy shape-files
+	@if [ -d "./cartopy" ]; then \
+		rm -rf ./cartopy; \
+	fi
+	./plugin_env/bin/python3 assets/cartopy_download.py physical cultural
 .PHONY: env cartopy
 
    @@ -10561,7 +9032,10 @@

    Plug a tool into Freva