diff --git a/bin/lint.rb b/bin/lint.rb
index 0445cef9f9f840..9920cbf8649b15 100755
--- a/bin/lint.rb
+++ b/bin/lint.rb
@@ -345,7 +345,7 @@ def self.check_bad_cite(contents)
def self.check_bad_icon(contents)
find_matching_texts(contents, /{%\s*icon\s+([^%]*)\s*%}/i)
.map do |idx, _text, selected|
- icon_key = selected[1].strip
+ icon_key = selected[1].strip.split[0]
if jekyll_config['icon-tag'][icon_key].nil?
ReviewDogEmitter.error(
path: @path,
@@ -1079,9 +1079,10 @@ def self.fix_file(path)
end
test = YAML.safe_load(File.open(test_file))
+ test_plain = File.read(test_file)
# check that for each test, the outputs is non-empty
test.each do |test_job|
- if test_job['outputs'].nil? || test_job['outputs'].empty?
+ if (test_job['outputs'].nil? || test_job['outputs'].empty?) && !test_plain.match(/GTN_RUN_SKIP_REASON/)
results += [
ReviewDogEmitter.file_error(path: path,
message: 'This workflow test does not test the contents of outputs, ' \
diff --git a/topics/climate/images/coastal_water_dyn/big_dots.png b/topics/climate/images/coastal_water_dyn/big_dots.png
new file mode 100644
index 00000000000000..a2b30215fc5cca
Binary files /dev/null and b/topics/climate/images/coastal_water_dyn/big_dots.png differ
diff --git a/topics/climate/images/coastal_water_dyn/size_dots.png b/topics/climate/images/coastal_water_dyn/size_dots.png
new file mode 100644
index 00000000000000..4d5eb86f6f58e4
Binary files /dev/null and b/topics/climate/images/coastal_water_dyn/size_dots.png differ
diff --git a/topics/climate/images/ocean_var/1_station.png b/topics/climate/images/ocean_var/1_station.png
new file mode 100644
index 00000000000000..6229a5bab88d08
Binary files /dev/null and b/topics/climate/images/ocean_var/1_station.png differ
diff --git a/topics/climate/images/ocean_var/all_files.png b/topics/climate/images/ocean_var/all_files.png
index e69c1c854c3b7e..9170faada276b1 100644
Binary files a/topics/climate/images/ocean_var/all_files.png and b/topics/climate/images/ocean_var/all_files.png differ
diff --git a/topics/climate/images/ocean_var/big_dots.png b/topics/climate/images/ocean_var/big_dots.png
index 9514bccafd4199..a2b30215fc5cca 100644
Binary files a/topics/climate/images/ocean_var/big_dots.png and b/topics/climate/images/ocean_var/big_dots.png differ
diff --git a/topics/climate/images/ocean_var/colors.png b/topics/climate/images/ocean_var/colors.png
new file mode 100644
index 00000000000000..855569dcc70ec6
Binary files /dev/null and b/topics/climate/images/ocean_var/colors.png differ
diff --git a/topics/climate/images/ocean_var/export.png b/topics/climate/images/ocean_var/export.png
index 664a9c4141586c..37e90f3ea60100 100644
Binary files a/topics/climate/images/ocean_var/export.png and b/topics/climate/images/ocean_var/export.png differ
diff --git a/topics/climate/images/ocean_var/galaxy_output.png b/topics/climate/images/ocean_var/galaxy_output.png
index 22cd6650c7f654..071e33aebd212d 100644
Binary files a/topics/climate/images/ocean_var/galaxy_output.png and b/topics/climate/images/ocean_var/galaxy_output.png differ
diff --git a/topics/climate/images/ocean_var/history.png b/topics/climate/images/ocean_var/history.png
index f10f81d2876fc3..112250a41a2ff1 100644
Binary files a/topics/climate/images/ocean_var/history.png and b/topics/climate/images/ocean_var/history.png differ
diff --git a/topics/climate/images/ocean_var/homepage.png b/topics/climate/images/ocean_var/homepage.png
new file mode 100644
index 00000000000000..75ca231d6b86ed
Binary files /dev/null and b/topics/climate/images/ocean_var/homepage.png differ
diff --git a/topics/climate/images/ocean_var/launching_odv.png b/topics/climate/images/ocean_var/launching_odv.png
index 2f1de5d7b729e0..4a5d38273d932d 100644
Binary files a/topics/climate/images/ocean_var/launching_odv.png and b/topics/climate/images/ocean_var/launching_odv.png differ
diff --git a/topics/climate/images/ocean_var/med_view.png b/topics/climate/images/ocean_var/med_view.png
new file mode 100644
index 00000000000000..e8ab35d6ca32f8
Binary files /dev/null and b/topics/climate/images/ocean_var/med_view.png differ
diff --git a/topics/climate/images/ocean_var/new_folder_name.png b/topics/climate/images/ocean_var/new_folder_name.png
index 80c7840c3ec248..6452a82c545990 100644
Binary files a/topics/climate/images/ocean_var/new_folder_name.png and b/topics/climate/images/ocean_var/new_folder_name.png differ
diff --git a/topics/climate/images/ocean_var/phosphate_graph.png b/topics/climate/images/ocean_var/phosphate_graph.png
new file mode 100644
index 00000000000000..593d93901f246c
Binary files /dev/null and b/topics/climate/images/ocean_var/phosphate_graph.png differ
diff --git a/topics/climate/images/ocean_var/phosphate_map.png b/topics/climate/images/ocean_var/phosphate_map.png
new file mode 100644
index 00000000000000..7e6909b379dadb
Binary files /dev/null and b/topics/climate/images/ocean_var/phosphate_map.png differ
diff --git a/topics/climate/images/ocean_var/properties.png b/topics/climate/images/ocean_var/properties.png
new file mode 100644
index 00000000000000..a2b10d8990de57
Binary files /dev/null and b/topics/climate/images/ocean_var/properties.png differ
diff --git a/topics/climate/images/ocean_var/select_data.png b/topics/climate/images/ocean_var/select_data.png
index 109f91930bb2e2..c42db66dda72f0 100644
Binary files a/topics/climate/images/ocean_var/select_data.png and b/topics/climate/images/ocean_var/select_data.png differ
diff --git a/topics/climate/images/ocean_var/select_subset.png b/topics/climate/images/ocean_var/select_subset.png
index 9bcfeab8ce3a2b..c5e02d1b5588e6 100644
Binary files a/topics/climate/images/ocean_var/select_subset.png and b/topics/climate/images/ocean_var/select_subset.png differ
diff --git a/topics/climate/images/ocean_var/select_var.png b/topics/climate/images/ocean_var/select_var.png
index 1e9fd8ba121301..84633f626fd72c 100644
Binary files a/topics/climate/images/ocean_var/select_var.png and b/topics/climate/images/ocean_var/select_var.png differ
diff --git a/topics/climate/images/ocean_var/size_dots.png b/topics/climate/images/ocean_var/size_dots.png
index 7920d5b0ac475f..4d5eb86f6f58e4 100644
Binary files a/topics/climate/images/ocean_var/size_dots.png and b/topics/climate/images/ocean_var/size_dots.png differ
diff --git a/topics/climate/images/ocean_var/subset.png b/topics/climate/images/ocean_var/subset.png
index f33817797483d0..27554a75fac9ed 100644
Binary files a/topics/climate/images/ocean_var/subset.png and b/topics/climate/images/ocean_var/subset.png differ
diff --git a/topics/climate/images/ocean_var/surface_window.png b/topics/climate/images/ocean_var/surface_window.png
new file mode 100644
index 00000000000000..67700ccfbd1585
Binary files /dev/null and b/topics/climate/images/ocean_var/surface_window.png differ
diff --git a/topics/climate/images/ocean_var/text.png b/topics/climate/images/ocean_var/text.png
index 5bc2a376305ec0..668ee2f3f60d8f 100644
Binary files a/topics/climate/images/ocean_var/text.png and b/topics/climate/images/ocean_var/text.png differ
diff --git a/topics/climate/images/ocean_var/visualise_data.png b/topics/climate/images/ocean_var/visualise_data.png
index 4d81c69f592445..4ccfba502cdf9d 100644
Binary files a/topics/climate/images/ocean_var/visualise_data.png and b/topics/climate/images/ocean_var/visualise_data.png differ
diff --git a/topics/climate/tutorials/ocean-variables/faqs/index.md b/topics/climate/tutorials/ocean-variables/faqs/index.md
new file mode 100644
index 00000000000000..9ce3fe4fce824b
--- /dev/null
+++ b/topics/climate/tutorials/ocean-variables/faqs/index.md
@@ -0,0 +1,3 @@
+---
+layout: faq-page
+---
diff --git a/topics/climate/tutorials/ocean-variables/tutorial.bib b/topics/climate/tutorials/ocean-variables/tutorial.bib
index f78bb0a356c9ce..ff000adaf17972 100644
--- a/topics/climate/tutorials/ocean-variables/tutorial.bib
+++ b/topics/climate/tutorials/ocean-variables/tutorial.bib
@@ -12,34 +12,7 @@
# If you want to cite an online resourse (website etc)
# you can use the 'online' format (see below)
#
-# You can remove the examples below
-@article{Batut2018,
- doi = {10.1016/j.cels.2018.05.012},
- url = {https://doi.org/10.1016/j.cels.2018.05.012},
- year = {2018},
- month = jun,
- publisher = {Elsevier {BV}},
- volume = {6},
- number = {6},
- pages = {752--758.e1},
- author = {B{\'{e}}r{\'{e}}nice Batut and Saskia Hiltemann and Andrea Bagnacani and Dannon Baker and Vivek Bhardwaj and
- Clemens Blank and Anthony Bretaudeau and Loraine Brillet-Gu{\'{e}}guen and Martin {\v{C}}ech and John Chilton
- and Dave Clements and Olivia Doppelt-Azeroual and Anika Erxleben and Mallory Ann Freeberg and Simon Gladman and
- Youri Hoogstrate and Hans-Rudolf Hotz and Torsten Houwaart and Pratik Jagtap and Delphine Larivi{\`{e}}re and
- Gildas Le Corguill{\'{e}} and Thomas Manke and Fabien Mareuil and Fidel Ram{\'{i}}rez and Devon Ryan and
- Florian Christoph Sigloch and Nicola Soranzo and Joachim Wolff and Pavankumar Videm and Markus Wolfien and
- Aisanjiang Wubuli and Dilmurat Yusuf and James Taylor and Rolf Backofen and Anton Nekrutenko and Bj\"{o}rn Gr\"{u}ning},
- title = {Community-Driven Data Analysis Training for Biology},
- journal = {Cell Systems}
-}
-
-@online{gtn-website,
- author = {GTN community},
- title = {GTN Training Materials: Collection of tutorials developed and maintained by the worldwide Galaxy community},
- url = {https://training.galaxyproject.org},
- urldate = {2021-03-24}
-}
@misc{hcmrdata,
doi = {10.13120},
@@ -51,3 +24,13 @@ @misc{hcmrdata
year = {2022},
copyright = {Creative Commons Attribution 4.0 International}
}
+
+@misc{emodnet,
+ doi = {10.13120/8XM0-5M67},
+ url = {https://nodc.ogs.it/catalogs/doidetails?doi=10.13120/8xm0-5m67},
+ author = {Lipizer, M. and Molina Jack M., E. and Wesslander, K. and Fyrberg, L. and Tsompanou, M. and Iona, A. and Buga, L. and Sarbu, G. and Gatti, J. and Larsen M., M. and Giorgetti, A.},
+ language = {en},
+ title = {EMODnet Chemistry Regional sea eutrophication data collection and Quality Control loop},
+ publisher = {OGS (Istituto Nazionale di Oceanografia e di Geofisica Sperimentale), Oceanographic Section},
+ year = {2023}
+}
diff --git a/topics/climate/tutorials/ocean-variables/tutorial.md b/topics/climate/tutorials/ocean-variables/tutorial.md
index 1aeaac7d4ddde3..c4bbe66f410f84 100644
--- a/topics/climate/tutorials/ocean-variables/tutorial.md
+++ b/topics/climate/tutorials/ocean-variables/tutorial.md
@@ -7,8 +7,8 @@ questions:
- How to use ODV collections?
- How to create climatological estimates?
objectives:
-- Deals with ODV collection with data orginating from Emodnet chemistry
-- Visualise ocean variables in order to study climate changes
+- Deals with ODV collection with data originating from Emodnet chemistry
+- Visualise ocean variables to study climate changes
time_estimation: 1H
key_points:
- Manage ODV collection's data.
@@ -17,12 +17,7 @@ key_points:
tags:
- earth-system
- ocean
- - geographical information system
- - ODV
- netcdf data
- - maps
- - marine data
- - climate
contributions:
authorship:
- Marie59
@@ -35,11 +30,14 @@ contributions:
# Introduction
-Through this tutorial, you will learn in the first part how to import, visualise, and extract data from an ODV collection by using the ODV Galaxy interactive tool. In the second part, you will learn how to use DIVAnd using the inputs the outputs from ODV.
+Through this tutorial, you will learn in the first part how to import, visualise, and extract data from an ODV collection by using the ODV Galaxy interactive tool.
+In the second part, you will learn how to use DIVAnd using the inputs the outputs from ODV.
-Ocean Data View (ODV) is a software package for the interactive exploration, analysis and visualization of oceanographic and other geo-referenced profile, time-series, trajectory, or sequence data. To know more about ODV go check the [official page](https://odv.awi.de/)
+Ocean Data View (ODV) is a software package for the interactive exploration, analysis and visualization of oceanographic and other geo-referenced profile, time-series, trajectory,
+or sequence data. To know more about ODV go check the [official page](https://odv.awi.de/)
-DIVAnd (Data-Interpolating Variational Analysis in n dimensions) performs an n-dimensional variational analysis/gridding of arbitrarily located observations. Observations will be interpolated/analyzed on a curvilinear grid in 1, 2, 3 or more dimensions. See the [official page](https://gher-uliege.github.io/DIVAnd-presentation/#1)
+DIVAnd (Data-Interpolating Variational Analysis in n dimensions) performs an n-dimensional variational analysis/gridding of arbitrarily located observations.
+Observations will be interpolated/analyzed on a curvilinear grid in 1, 2, 3 or more dimensions. See the [official page](https://gher-uliege.github.io/DIVAnd-presentation/#1)
>
>
@@ -51,12 +49,17 @@ DIVAnd (Data-Interpolating Variational Analysis in n dimensions) performs an n-d
{: .agenda}
# Managing ODV Galaxy interactive tool
-ODV is now integrated in Galaxy as an interactive tool. This kind of tool works differently than classical tools as it allows the user to interact in an interactive way with your data.
-This kind of tool is used to give access to Jupyter notebooks, RStudio or R Shiny apps for example.
-To use ODV, you need to use the {% tool [dedicated form](interactive_tool_odv) %}, you can specify input datasets from your history you want to use in ODV, then press the **execute** button to launch an ODV instance. When the graphical user interface of ODV is ready to be used, a URL will be displayed at the top of the Galaxy center panel. If you don't see it, you can see and access it through the "Active InteractiveTools" space of the "User" menu or you can click on {% icon galaxy-eye %} on the tool in the history.
+ODV is now integrated in Galaxy as an interactive tool. This kind of tool works differently than classical tools as it allows the user to interact interactively with your data.
+This kind of tool is used to give access to Jupyter Notebooks, RStudio or R Shiny apps for example.
-Once you finish your work on ODV, if you want to retrieve data and/or the entire project, you need to save files in ODV/galaxy/outputs, then quit ODV properly through the "Project" Menu tab.
+To use ODV, you need to use the {% tool [dedicated form](interactive_tool_odv) %}, you can specify input datasets from your history you want to use in ODV,
+then press the **execute** button to launch an ODV instance. When the graphical user interface of ODV is ready to be used, a URL will be displayed at the top of the
+Galaxy center panel. If you don't see it, you can see and access it through the "Active InteractiveTools" space of the "User" menu or you can click on {% icon galaxy-eye %} on
+the tool in the history.
+
+Once you finish your work on ODV, if you want to retrieve data and/or the entire project, you need to save files in ODV/galaxy/outputs, then quit ODV properly through
+the "Project" Menu tab.
> Short introduction on how Galaxy works
>
@@ -87,16 +90,19 @@ Once you finish your work on ODV, if you want to retrieve data and/or the entire
>
> {% snippet faqs/galaxy/histories_create_new.md %}
>
-> 2. Import a ODV collection data locally as a zip folder.
->
-> {% snippet faqs/galaxy/datasets_upload.md %}
+> 2. Import an ODV collection as a zip folder.
+>
+> Use this link `https://github.com/fair-ease/Data-for-Galaxy-/raw/main/Eutrophication_Med_profiles_2022_unrestricted_SNAPSHOT_2023-10-24T16-39-44.zip` in the following instructions.
+> And **Name** it **Eutrophication_Med_profiles_2022_unrestricted_SNAPSHOT_2023-10-24T16-39-44.zip**
+>
+> {% snippet faqs/galaxy/datasets_import_via_link.md %}
>
>
-> 3. {% tool [Ocean Data View](interactive_tool_odv) %} with the following parameters:
+> 4. {% tool [Ocean Data View](interactive_tool_odv) %} with the following parameters:
> - *"Select if you are using an ODV collection in a zip folder or if you have your own raw data"*: `The data you are using are an ODV collection in a zip folder`
> - *"ODV collection in a zip folder."*: `Eutrophication_Med_profiles_2022_unrestricted_SNAPSHOT_2023-10-24T16-39-44.zip`
>
-> ![Screenshot of what parameters to input in ODV before running the tool](../../images/ocean_var/launching_odv.png)
+> ![Screenshot of what parameters to input in ODV before running the tool](../../images/ocean_var/launching_odv.png)
>
> 4. Click on **Run Tool**
>
@@ -107,14 +113,13 @@ Once you finish your work on ODV, if you want to retrieve data and/or the entire
> Some complementary information about your data
> The data here are Mediterranean Sea - Eutrophication and Acidity aggregated datasets
-> EMODnet Chemistry aims to provide access to marine chemistry datasets and derived data products concerning eutrophication, acidity, and contaminants. The importance of the selected substances and other parameters relates to the Marine Strategy Framework Directive (MSFD). This aggregated dataset contains all unrestricted EMODnet Chemistry data on eutrophication and acidity and covers the Mediterranean Sea. Data were aggregated and quality controlled by the 'Hellenic Centre for Marine Research, Hellenic National Oceanographic Data Centre (HCMR/HNODC)' in Greece.
+> EMODnet Chemistry aims to provide access to marine chemistry datasets and derived data products concerning eutrophication, acidity, and contaminants. The importance of the selected substances and other parameters relates to the Marine Strategy Framework Directive (MSFD). This aggregated dataset contains all unrestricted EMODnet Chemistry data on eutrophication and acidity and covers the Mediterranean Sea. Data were aggregated and quality controlled by the 'Hellenic Centre for Marine Research, Hellenic National Oceanographic Data Centre (HCMR/HNODC)' in Greece. To get more ODV collection and other data please [search the sextant catalogue](https://sextant.ifremer.fr/eng/Data/Catalogue#/search?isTemplate=n&from=1&to=30&sortBy=dateStamp&sortOrder=desc&languageStrategy=searchInDetectedLanguage&any=EMODnet%20Chemistry) or the [EMODnet Chemistry catalogue](https://emodnet-chemistry.webodv.awi.de/).
>
> ITS-90 water temperature and water body salinity variables have also been included ('as are') to complete the eutrophication and acidity data. If you use these variables for calculations, please refer to SeaDataNet for the quality flags: https://www.seadatanet.org/Products/Aggregated-datasets.
+>
+> Regional datasets concerning eutrophication and acidity are automatically harvested, and the resulting collections are aggregated and quality-controlled using ODV Software and following a common methodology for all sea regions {% cite emodnet %}. Parameter names are based on P35 vocabulary, which relates to EMODnet Chemistry aggregated parameter names and is available at: https://vocab.nerc.ac.uk/search_nvs/P35/.
>
-> Regional datasets concerning eutrophication and acidity are automatically harvested, and the resulting collections are aggregated and quality-controlled using ODV Software and following a common methodology for all sea regions ( https://doi.org/10.13120/8xm0-5m67). Parameter names are based on P35 vocabulary, which relates to EMODnet Chemistry aggregated parameter names and is available at: https://vocab.nerc.ac.uk/search_nvs/P35/.
->
-> When not present in the original data, water body nitrate plus nitrite was calculated by summing all nitrate and nitrite parameters. The same procedure was applied for water body dissolved inorganic nitrogen (DIN), which was calculated by summing all nitrate, nitrite, and ammonium parameters. Concentrations per unit mass were converted to a unit volume using a constant density of 1.25 kg/L. {% cite hcmrdata %}
->
+> When not present in the original data, water body nitrate plus nitrite was calculated by summing all nitrate and nitrite parameters. The same procedure was applied for water body dissolved inorganic nitrogen (DIN), which was calculated by summing all nitrate, nitrite, and ammonium parameters. Concentrations per unit mass were converted to a unit volume using a constant density of 1.025 kg/L. {% cite hcmrdata %}
>
{: .details}
@@ -138,7 +143,7 @@ Once you finish your work on ODV, if you want to retrieve data and/or the entire
> 3. On the pop-up screen on the left panel select **ODV**, then the folder **galaxy**, then **data**.
> You should see a folder open it (double clicking)
> 4. Select the file with a .odv extension
-> ![Screenshot of what your pop-up screen should be like when selecting the right data](../../images/ocean_var/select_data.png)
+> ![Screenshot of what your pop-up screen should be like when selecting the right data](../../images/ocean_var/select_data.png)
> 5. Click on **Open** in the bottom right
>
> There your data should be opening an you can now visualise them!
@@ -163,9 +168,9 @@ Once you finish your work on ODV, if you want to retrieve data and/or the entire
> 1. On the left smaller map right click and select **Zoom**
> 2. Then move your cursor on the map you should see a red rectangle moving along
> 3. Reduce the rectangular to have the selection you want on the map. It can be something similar to the following image (no need to be exactly the same)
-> ![Selection on the map of the part of the data that you want to analyse](../../images/ocean_var/select_subset.png)
+> ![Selection on the map of the part of the data that you want to analyse](../../images/ocean_var/select_subset.png)
> 4. Once you're happy with your selection click on **Enter** on your keyboard.
-> ![Result of the subsetting and how the maps should look now](../../images/ocean_var/subset.png)
+> ![Result of the subsetting and how the maps should look now](../../images/ocean_var/subset.png)
>
> Here you have created a a subset of your data.
{: .hands_on}
@@ -179,7 +184,7 @@ Once you finish your work on ODV, if you want to retrieve data and/or the entire
> You can now see bigger dots representing your data.
> ![Image of your maps after the increase of the dots' size](../../images/ocean_var/big_dots.png)
>
-> If you want to save it now that you already saved it once in the right folder outputs you just have to click lef on te save icon top left when it's red.
+> If you already saved it once you just have to click left on the save icon (top left) when it's red.
{: .tip}
## Save Data
@@ -209,7 +214,7 @@ Once you finish your work on ODV, if you want to retrieve data and/or the entire
> 3. Click **Save**
> 4. A new pop-up window opens "Select Extended Metadata Variables for Export" Let the 56 items selected and click **OK**
> 5. "Select Data Variables for Export" `here you need to select 1: Depth[m]`, ̀`4: Water body dissolved oxygen concentration [umol/l]`, `6: Water body phosphate [umol/l]` and click **OK**
-> ![Screenshot of the variables one needs to select](../../images/ocean_var/select_var.png)
+> ![Screenshot of the variables one needs to select](../../images/ocean_var/select_var.png)
> 6. "NetCDF File Properties" change the **Longitude range** to `[-180 ... 180] degrees_E`, then select `Export metadata quality flags` and `Export data quality flags` and **OK**.
> 7. And **OK** again
>
@@ -223,10 +228,10 @@ Now, if you have finished with your analysis you can exit ODV. To do so you need
> 2. If you want to save the other window also click on **Yes**. Here we don't need it so click **No**.
>
> You can now go back to your Galaxy instance.
-> Now, after waiting for everything to turn green in your history, you can see 3 new outputs
-> ![Screenshot of the 3 new outputs present in your galaxy History](../../images/ocean_var/history.png)
+> Now, after waiting for everything to turn green in your history, you can see 2 new outputs
+> ![Screenshot of the 2 new outputs present in your galaxy History](../../images/ocean_var/history.png)
>
-> In the history panel click on the {% icon galaxy-eye %} (eye) icon of your output.
+> In the history panel in the output **ODV all outputs** click on the {% icon galaxy-eye %} (eye) icon of your output.
>
> You can now visualize the outputs in Galaxy middle panel.
>
@@ -234,40 +239,103 @@ Now, if you have finished with your analysis you can exit ODV. To do so you need
> ![Image in the middle pannel of the map](../../images/ocean_var/galaxy_output.png)
{: .hands_on}
-# DIVAnd : Data-Interpolating Variational Analysis in n dimensions
+# DIVAnd: Data-Interpolating Variational Analysis in n dimensions
-## Change Datatype
-> Change the datatype from ODV outputs
+> Check Datatype
> Go to your output 'data_from_Eutrophication_Med_profiles_2022_unrestricted'
->
-> In the Datatypes section select **netcdf**
->
+>
+> Check if the datatype is **netcdf** if not :
+>
> {% snippet faqs/galaxy/datasets_change_datatype.md %}
->
-{: .hands_on}
+{: .tip}
## Launch DIVAnd
-Use ODV outputs (which you just changed the datatype) as DIVAnd input.
+Use ODV outputs as DIVAnd input.
> Run DIVANnd
>
> 1. Use {% tool [DIVAnd](interactive_tool_divand) %} with the following parameters:
> - *"Do you already have a notebook"*: `Start with a fresh notebook`
-> - *"Include data into the environment"*: `data_from_Eutrophication_Med_profiles_2022_unrestricted`
+> - *"Include data into the environment"*: `ODV netcdf outputs` (output of **Ocean Data View** {% icon tool %})
> 2. **Run tool**
> 3. {% snippet faqs/galaxy/interactive_tools_open.md tool="DIVAnd" %}
{: .hands_on}
-Now that you are in your jupyterlab with the right environment to use DIVAnd and a set of notebooks (in the folder **notebooks**) to guide you, you can start the rest of your analysis.
-You can find your data from ODV in the **data** folder of the jupyterlab.
+> Navigate the jupyterlab
+> 1. Once in the Jupyterlab, go to the **Notebooks** folder.
+> 2. There open a terminal window and write :
+> ```bash
+> wget https://raw.githubusercontent.com/fair-ease/Divand-Galaxy-ext/main/90-analysis-shorten.ipynb
+> ```
+> 3. Run the entire notebook.
+>
+> In the first 'outputs' folder (at the root of the Jupyterlab folders), you should now have one netcdf file "Water_body_Phosphate_Mediterranean".
+>
+> So, you can now properly close the Jupyter notebook.
+>
+> 4. On the top left click on **files** and then on **Shut down**.
+> 5. Go back to your Galaxy instance.
+{: .hands-on}
-Once you are done you have to save all your wanted data and visualisation in the **outputs** folder and then go to the top left in the **file** section and click on **Exit**.
+After a couple of minutes, your outputs should appear in your Galaxy history.
-After a couple of minutes, your outputs should appear in your Galaxy history.
+# BONUS: Even more ODV
+Do you want to go even further and visualise your new netcdf data? (Because this tutorial is fascinating and you want to keep reading ;))
+
+> Open your Netcdf data in ODV
+> {% tool [Ocean Data View](interactive_tool_odv) %} with the following parameters:
+> - *"Select if you are using an ODV collection in a zip folder or if you have your own raw data"*: `The data you are using are Netcdf or text tabular files`
+> - *"Netcdf or tabular text file. For text file, odv format is recommanded."*: `DIVAnd netcdf outputs` (output of **DIVAnd** {% icon tool %})
+>
+> Click on **Run Tool**
+>
+> {% snippet faqs/galaxy/interactive_tools_open.md tool="ODV" %}
+>
+> 1. Click on close of the pop-up screen for the check for Updates
+> 2. Go the top left and click on **File**, then on **Open...**
+> 3. On the pop-up screen on the left panel select **ODV**, then the folder **galaxy**, then **data**.
+> You should see a file open it (double clicking)
+> 4. Click on **Open** in the bottom right. Then click on **Next*$ until you can click on **Finish** you can keep everything by default.
+>
+> There your data should be opening and you can now visualise them!
+> ![Image of what the netcdf files look like when opening with ODV](../../images/ocean_var/med_view.png)
+>
+{: .hands-on}
+
+> Visualise your Phosphate variable
+> 1. Go on the big **+** on the top left
+> 2. Select "1 SURFACE Window"
+> ![Create a surface plot for the phosphate](../../images/ocean_var/surface_window.png)
+> 3. Press right on the new plot and select **Properties...**
+> ![Going to the properties of the plot](../../images/ocean_var/properties.png)
+> 4. In the tab "Display Style" increase the "Symbol size" to 22 for instance
+> 5. In the tab "Color Mapping" increase the level of the "Median" part and lower the "Nonlinearity" such as in the following picture
+> ![Balance the colors of the map to better visualise the Phosphate repartition](../../images/ocean_var/colors.png)
+> 6. Then, click on **OK**, and you can see the Phosphate repartition.
+>
+> 7. Click right on the map and select **Save Plot As...**
+> 8. In the pop-up screen go to the folder **ODV**, **galaxy**, **outputs**.
+> 9. In **Files of type** select `PNG (*.png *.PNG)` and **Save** then **OK** and **OK**.
+>
+> If you want to have a visualisation of the Phosphate according to the depth, you can do the following.
+> 10. Go on the big **+** on the top left
+> 11. Select "1 STATION Window" in the new tab, in the plot press enter on your keyboard.
+> 12. Same as before to save it, click right on the map and select **Save Plot As...**
+> 13. In **Files of type** select `PNG (*.png *.PNG)` and **Save** then **OK** and **OK**.
+>
+> You can now safely exit ODV.
+> 14. On the top left click on **File** select **Exit**
+> 15. If you want to save the other window also click on **Yes**. Here we don't need it so click **No**.
+{: .hands-on}
# Conclusion
Great you now know how to extract ocean variables from an ODV collection and use these extracted data in DIVAnd.
+From there you can grid the phosphate variable on the subset extracted create a netcdf file and visualise it on ODV again.
+We finished with the last results visible on the galaxy instance in the output **ODV all outputs** :
+![Resulting map of the Phoshate variable repartition in the Mediterranean sea](../../images/ocean_var/phosphate_map.png)
+![Resulting graph of the phosphate variable according to the depth](../../images/ocean_var/phosphate_graph.png)
# Extra information
-Coming up soon follow-up tutorials on Coastal Water Dynamics workflow (and other Earth-System related trainings). Keep an {% icon galaxy-eye %} open if you are interested!
+
+Coming up soon even more tutorials on and other Earth-System related trainings. Keep an {% icon galaxy-eye %} open if you are interested!
diff --git a/topics/climate/tutorials/ocean-variables/workflows/index.md b/topics/climate/tutorials/ocean-variables/workflows/index.md
new file mode 100644
index 00000000000000..e092e0ae66ddd4
--- /dev/null
+++ b/topics/climate/tutorials/ocean-variables/workflows/index.md
@@ -0,0 +1,3 @@
+---
+layout: workflow-list
+---
diff --git a/topics/climate/tutorials/ocean-variables/workflows/main_workflow-tests.yml b/topics/climate/tutorials/ocean-variables/workflows/main_workflow-tests.yml
new file mode 100644
index 00000000000000..f32ea213748606
--- /dev/null
+++ b/topics/climate/tutorials/ocean-variables/workflows/main_workflow-tests.yml
@@ -0,0 +1,7 @@
+# GTN_RUN_SKIP_REASON: Uses Interactive Tools
+- doc: Test outline for main_workflow.ga
+ job:
+ Eutrophication_Med_profiles_2022_unrestricted_SNAPSHOT_2023-10-24T16-39-44.zip:
+ class: File
+ location: https://github.com/fair-ease/Data-for-Galaxy-/raw/main/Eutrophication_Med_profiles_2022_unrestricted_SNAPSHOT_2023-10-24T16-39-44.zip
+ outputs: {}
diff --git a/topics/climate/tutorials/ocean-variables/workflows/main_workflow.ga b/topics/climate/tutorials/ocean-variables/workflows/main_workflow.ga
new file mode 100644
index 00000000000000..e8ad7ef4ed7d40
--- /dev/null
+++ b/topics/climate/tutorials/ocean-variables/workflows/main_workflow.ga
@@ -0,0 +1,165 @@
+{
+ "a_galaxy_workflow": "true",
+ "annotation": "Subset data on the Mediterreanean see and extract and visualise the Phosphate variable",
+ "creator": [
+ {
+ "class": "Person",
+ "identifier": "0009-0008-0622-604X",
+ "name": "Marie Joss\u00e9",
+ "url": "https://github.com/Marie59"
+ }
+ ],
+ "format-version": "0.1",
+ "license": "CC-BY-4.0",
+ "name": "Ocean's variables",
+ "steps": {
+ "0": {
+ "annotation": "",
+ "content_id": null,
+ "errors": null,
+ "id": 0,
+ "input_connections": {},
+ "inputs": [
+ {
+ "description": "",
+ "name": "Eutrophication_Med_profiles_2022_unrestricted_SNAPSHOT_2023-10-24T16-39-44.zip"
+ }
+ ],
+ "label": "Eutrophication_Med_profiles_2022_unrestricted_SNAPSHOT_2023-10-24T16-39-44.zip",
+ "name": "Input dataset",
+ "outputs": [],
+ "position": {
+ "left": 0,
+ "top": 2
+ },
+ "tool_id": null,
+ "tool_state": "{\"optional\": false, \"tag\": null}",
+ "tool_version": null,
+ "type": "data_input",
+ "uuid": "04b96704-a567-4c94-8708-285fe2efb087",
+ "when": null,
+ "workflow_outputs": []
+ },
+ "1": {
+ "annotation": "",
+ "content_id": "interactive_tool_odv",
+ "errors": null,
+ "id": 1,
+ "input_connections": {
+ "method|folder": {
+ "id": 0,
+ "output_name": "output"
+ }
+ },
+ "inputs": [],
+ "label": null,
+ "name": "ODV",
+ "outputs": [
+ {
+ "name": "outputs_netcdf",
+ "type": "input"
+ },
+ {
+ "name": "outputs_all",
+ "type": "input"
+ }
+ ],
+ "position": {
+ "left": 256,
+ "top": 16
+ },
+ "post_job_actions": {},
+ "tool_id": "interactive_tool_odv",
+ "tool_state": "{\"__input_ext\": \"zip\", \"chromInfo\": \"/opt/galaxy/tool-data/shared/ucsc/chrom/?.len\", \"method\": {\"type\": \"zip\", \"__current_case__\": 1, \"folder\": {\"__class__\": \"ConnectedValue\"}}, \"__page__\": null, \"__rerun_remap_job_id__\": null}",
+ "tool_version": "5.6.5.1",
+ "type": "tool",
+ "uuid": "6e83d448-87de-48da-9649-95a87a23973c",
+ "when": null,
+ "workflow_outputs": []
+ },
+ "2": {
+ "annotation": "",
+ "content_id": "interactive_tool_divand",
+ "errors": null,
+ "id": 2,
+ "input_connections": {
+ "input": {
+ "id": 1,
+ "output_name": "outputs_netcdf"
+ }
+ },
+ "inputs": [],
+ "label": null,
+ "name": "Interactive DIVAnd Notebooks",
+ "outputs": [
+ {
+ "name": "output_netcdf",
+ "type": "input"
+ },
+ {
+ "name": "output_all",
+ "type": "input"
+ },
+ {
+ "name": "jupyter_notebook",
+ "type": "ipynb"
+ }
+ ],
+ "position": {
+ "left": 515,
+ "top": 0
+ },
+ "post_job_actions": {},
+ "tool_id": "interactive_tool_divand",
+ "tool_state": "{\"__input_ext\": \"input\", \"chromInfo\": \"/opt/galaxy/tool-data/shared/ucsc/chrom/?.len\", \"input\": {\"__class__\": \"ConnectedValue\"}, \"mode\": {\"mode_select\": \"scratch\", \"__current_case__\": 0}, \"__page__\": null, \"__rerun_remap_job_id__\": null}",
+ "tool_version": "0.0.5",
+ "type": "tool",
+ "uuid": "aaa2c97b-cef5-4952-b21e-b4f71a7d6e3b",
+ "when": null,
+ "workflow_outputs": []
+ },
+ "3": {
+ "annotation": "",
+ "content_id": "interactive_tool_odv",
+ "errors": null,
+ "id": 3,
+ "input_connections": {
+ "method|infiles": {
+ "id": 2,
+ "output_name": "output_netcdf"
+ }
+ },
+ "inputs": [],
+ "label": null,
+ "name": "ODV",
+ "outputs": [
+ {
+ "name": "outputs_netcdf",
+ "type": "input"
+ },
+ {
+ "name": "outputs_all",
+ "type": "input"
+ }
+ ],
+ "position": {
+ "left": 778,
+ "top": 87
+ },
+ "post_job_actions": {},
+ "tool_id": "interactive_tool_odv",
+ "tool_state": "{\"__input_ext\": \"netcdf\", \"chromInfo\": \"/opt/galaxy/tool-data/shared/ucsc/chrom/?.len\", \"method\": {\"type\": \"own_data\", \"__current_case__\": 0, \"infiles\": {\"__class__\": \"ConnectedValue\"}}, \"__page__\": null, \"__rerun_remap_job_id__\": null}",
+ "tool_version": "5.6.5.1",
+ "type": "tool",
+ "uuid": "13277c72-e0e3-4353-9c2a-d3440ba1860e",
+ "when": null,
+ "workflow_outputs": []
+ }
+ },
+ "tags": [
+ "earth-system",
+ "Ocean"
+ ],
+ "uuid": "aacfc1b1-2c81-486d-8bed-5eeaef39a818",
+ "version": 2
+}
\ No newline at end of file
diff --git a/topics/contributing/tutorials/create-new-tutorial-technical/tutorial.md b/topics/contributing/tutorials/create-new-tutorial-technical/tutorial.md
index 80a70a1e1551c0..bf72648e4af099 100644
--- a/topics/contributing/tutorials/create-new-tutorial-technical/tutorial.md
+++ b/topics/contributing/tutorials/create-new-tutorial-technical/tutorial.md
@@ -241,6 +241,16 @@ planemo test \
Planemo will autodetect that the `workflow-test.yml` file and load that for the testing.
+### Skipping Testing in the GTN
+
+If for some reason you want to skip this workflow being tested in the GTN,
+please add a comment with `GTN_RUN_SKIP_REASON` in the `-test.yml` file stating
+the reason it is skipped.
+
+This will also exempt you from writing output tests.
+
+A good use case for this is you want to provide a working test, but the workflow takes upwards of 6 hours to execute (e.g. large download jobs.)
+
# Creating the `data-library.yaml` (recommended)
The datasets needed for a tutorial can also be integrated in the Galaxy instance inside of data libraries. These allow the datasets to be easily shared with all users of a Galaxy instance. Additionally it lets trainees avoid each re-downloading the input data.