Skip to content

Commit 3978be5

Browse files
author
BenMGeo
committed
add recipe solutions for the suggested edits
1 parent 1580d79 commit 3978be5

File tree

1 file changed

+41
-11
lines changed

1 file changed

+41
-11
lines changed

_episodes/first_example_recipe.md

Lines changed: 41 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Recipes are the instructions that you give to ESMValTool that tell it what you w
2626

2727
- datasets: what datasets you want to use, including
2828
- the time period and temporal resolution,
29-
- the MIP (Model Intercomparison Project, like atmospheric MIP monthly data: amon),
29+
- the MIP (Model Intercomparison Project, like atmospheric realm of MIP monthly data: Amon),
3030
- ensemble member,
3131
- the experiment (i.e. historical, ssp125, etc.),
3232
- and the grid type (necessary for CMIP6 only).
@@ -325,7 +325,7 @@ Exemplary output (depending on the directory paths and package versions that are
325325
>
326326
> Overlay plot, if multiple datasets are defined:
327327
>
328-
> > ![multiple datasets](../fig/MultipleModels__thetaoga_prep_timeseries_diag_timeseries_temperature_1859_2005_timeseries_.png "multiple datasets")
328+
> ![multiple datasets](../fig/MultipleModels__thetaoga_prep_timeseries_diag_timeseries_temperature_1859_2005_timeseries_.png "multiple datasets")
329329
{: .solution}
330330
331331
> ## Your main output log file.
@@ -524,9 +524,9 @@ Exemplary output (depending on the directory paths and package versions that are
524524
525525
> ## Edit the recipe and run again
526526
> So far, the example recipe has used global volume-weighted ocean temperature. Please edit this recipe to investigate one of the following fields:
527-
> - Land surface average temperature (tsland)
528-
> - Atmospheric surface average temperature (tas)
529-
> - Ocean surface average temperature (tos)
527+
> - Land surface temperature (ts) for dataset HadGEM2-ES for 1901 - 2000
528+
> - Atmospheric surface average temperature (tas) for datasets HadGEM2-AO and HadGEM2-ES for 1901 - 2000
529+
> - Ocean surface average temperature (tos) for datasets HadGEM2-AO, HadGEM2-CC and HadGEM2-ES for 1901 - 2000
530530
>
531531
> You will need to edit:
532532
> - the dataset:
@@ -535,35 +535,65 @@ Exemplary output (depending on the directory paths and package versions that are
535535
> - These fields are all 2D fields, but thetaoga was a 0D field. This means that we need to take the average over the latitude and longitude dimensions. To do this, add the area_statistics to the preprocessor.
536536
> - the diagnostic
537537
> - change the short_name value (thetaoga) for another:
538-
> - Land surface average temperature (tsland)
538+
> - Land surface average temperature (ts)
539539
> - Atmospheric surface average temperature (tas)
540540
> - Ocean surface average temperature (tos)
541541
{: .challenge}
542542
543543
The snippets for the edits can be found below:
544544
545545
> ## Land surface average temperature
546-
> FIXME (include line numbers, see below)
547546
> ~~~YAML
548547
> ...
549-
> 23 - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Omon, ensemble: r1i1p1, start_year: 1859, end_year: 2005}
548+
> 23 - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Amon, ensemble: r1i1p1, start_year: 1901, end_year: 2000}
550549
> ...
551550
> 27 annual_statistics:
552551
> 28 operator: mean
552+
> XX area_statistics:
553+
> XX operator: mean
553554
> ...
554-
> 38 short_name: thetaoga
555+
> 38 short_name: ts
555556
> 39 preprocessor: prep_timeseries
556557
> ~~~~
558+
> Note: The x-axis in the plot now shows the years 1900 - 2000.
557559
{: .solution}
558560
559561
> ## Atmospheric surface average temperature
560-
> FIXME
562+
> ~~~YAML
563+
> ...
564+
> 23 - {dataset: HadGEM2-AO, project: CMIP5, exp: historical, mip: Amon, ensemble: r1i1p1, start_year: 1901, end_year: 2000}
565+
> XX - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Amon, ensemble: r1i1p1, start_year: 1901, end_year: 2000}
566+
> ...
567+
> 27 annual_statistics:
568+
> 28 operator: mean
569+
> XX area_statistics:
570+
> XX operator: mean
571+
> ...
572+
> 38 short_name: tas
573+
> 39 preprocessor: prep_timeseries
574+
> ~~~~
575+
> Note: There are now 3 plots in the work directory. One for each dataset and one for the multiple dataset overview.
561576
{: .solution}
562577
563578
> ## Ocean surface average temperature
564-
> FIXME
579+
> ~~~YAML
580+
> ...
581+
> 23 - {dataset: HadGEM2-AO, project: CMIP5, exp: historical, mip: Omon, ensemble: r1i1p1, start_year: 1901, end_year: 2000}
582+
> XX - {dataset: HadGEM2-CC, project: CMIP5, exp: historical, mip: Omon, ensemble: r1i1p1, start_year: 1901, end_year: 2000}
583+
> XX - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Omon, ensemble: r1i1p1, start_year: 1901, end_year: 2000}
584+
> ...
585+
> 27 annual_statistics:
586+
> 28 operator: mean
587+
> XX area_statistics:
588+
> XX operator: mean
589+
> ...
590+
> 38 short_name: tos
591+
> 39 preprocessor: prep_timeseries
592+
> ~~~~
593+
> Note: The unit in the plots is now degrees celsius! There is a plot also for HadGEM2-CC.
565594
{: .solution}
566595
596+
567597
> ## Advanced:
568598
> If you want to add a different field, please have a look here:
569599
> http://clipc-services.ceda.ac.uk/dreq/index/CMORvar.html

0 commit comments

Comments
 (0)