Skip to content

Commit dabe56d

Browse files
Merge pull request #133 from ESMValGroup/limit_data
Reduce number of data needed for episodes 04 and 05
2 parents 108ed31 + 7a583b5 commit dabe56d

15 files changed

+267
-201
lines changed

_episodes/04-recipe.md

Lines changed: 33 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ wget https://raw.githubusercontent.com/ESMValGroup/ESMValTool_Tutorial/master/da
133133
> 20 - ukesm
134134
> 21
135135
> 22 datasets:
136-
> 23 - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Omon, ensemble: r1i1p1, start_year: 1859, end_year: 2005}
136+
> 23 - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Omon, ensemble: r1i1p1, start_year: 1900, end_year: 2000}
137137
> 24
138138
> 25 preprocessors:
139139
> 26 prep_timeseries: # For 0D fields
@@ -210,7 +210,7 @@ Please note the following sections:
210210
- experiment (key: exp)
211211
- mip (for CMIP data, key: mip)
212212
- ensemble member (key: ensemble)
213-
- time range (e.g. key-value-pair: start_year: 1982, end_year: 1990)
213+
- time range (e.g. key-value-pair: start_year: 1900, end_year: 2000)
214214
- model grid (for CMIP6 data only, key: grid)
215215
- alias (key: alias; use the alias for e.g. a more human readable name for
216216
the dataset)
@@ -268,7 +268,7 @@ Please note the following sections:
268268
{: .solution}
269269
270270
> ## How many years of data are being analyzed?
271-
> 1859 to 2005, that is 147 years.
271+
> 1900 to 2000.
272272
{: .solution}
273273
274274
> ## What do you think running this recipe will produce?
@@ -412,11 +412,11 @@ available) can be found below. Note that the timestamps differ.
412412
>
413413
> For a single dataset:
414414
>
415-
> ![single dataset](../fig/diag_CMIP5_HadGEM2-ES_Omon_historical_r1i1p1_thetaoga_prep_timeseries_diag_timeseries_temperature_1859_2005_timeseries_0.png "single dataset")
415+
> ![single dataset](../fig/diag_CMIP5_HadGEM2-ES_Omon_historical_r1i1p1_thetaoga_prep_timeseries_diag_timeseries_temperature_1900_2000_timeseries_0.png "single dataset")
416416
>
417417
> Or an overlay plot, if multiple datasets are defined:
418418
>
419-
> ![multiple datasets](../fig/MultipleModels__thetaoga_prep_timeseries_diag_timeseries_temperature_1859_2005_timeseries_.png "multiple datasets")
419+
> ![multiple datasets](../fig/MultipleModels__thetaoga_prep_timeseries_diag_timeseries_temperature_1900_2000_timeseries_.png "multiple datasets")
420420
{: .solution}
421421
422422
> ## Your main output log file.
@@ -533,14 +533,14 @@ available) can be found below. Note that the timestamps differ.
533533
> This file is located at `./recipe_example_#_#/preproc/diag_timeseries_temperature/timeseries_variable/metadata.yml`.
534534
>
535535
> ```YAML
536-
> ? /scratch/b/b380506/recipe_example_20200701_082257/preproc/diag_timeseries_temperature/timeseries_variable/CMIP5_HadGEM2-ES_Omon_historical_r1i1p1_thetaoga_1859-2005.nc
536+
> ? /scratch/b/b380506/recipe_example_20200701_082257/preproc/diag_timeseries_temperature/timeseries_variable/CMIP5_HadGEM2-ES_Omon_historical_r1i1p1_thetaoga_1900-2000.nc
537537
> : alias: HadGEM2-ES
538538
> dataset: HadGEM2-ES
539539
> diagnostic: diag_timeseries_temperature
540-
> end_year: 2005
540+
> end_year: 2000
541541
> ensemble: r1i1p1
542542
> exp: historical
543-
> filename: /scratch/b/b380506/recipe_example_20200701_082257/preproc/diag_timeseries_temperature/timeseries_variable/CMIP5_HadGEM2-ES_Omon_historical_r1i1p1_thetaoga_1859-2005.nc
543+
> filename: /scratch/b/b380506/recipe_example_20200701_082257/preproc/diag_timeseries_temperature/timeseries_variable/CMIP5_HadGEM2-ES_Omon_historical_r1i1p1_thetaoga_1900-2000.nc
544544
> frequency: mon
545545
> institute:
546546
> - INPE
@@ -554,7 +554,7 @@ available) can be found below. Note that the timestamps differ.
554554
> recipe_dataset_index: 0
555555
> short_name: thetaoga
556556
> standard_name: sea_water_potential_temperature
557-
> start_year: 1859
557+
> start_year: 1900
558558
> units: K
559559
> variable_group: timeseries_variable
560560
> ```
@@ -567,14 +567,14 @@ available) can be found below. Note that the timestamps differ.
567567
> Starting diagnostic script timeseries_diag with configuration:
568568
> auxiliary_data_dir: /mnt/lustre01/pf/b/b380506/work/auxiliary_data
569569
> input_data:
570-
> ? /scratch/b/b380506/recipe_example_20200701_082257/preproc/diag_timeseries_temperature/timeseries_variable/CMIP5_HadGEM2-ES_Omon_historical_r1i1p1_thetaoga_1859-2005.nc
570+
> ? /scratch/b/b380506/recipe_example_20200701_082257/preproc/diag_timeseries_temperature/timeseries_variable/CMIP5_HadGEM2-ES_Omon_historical_r1i1p1_thetaoga_1900-2000.nc
571571
> : alias: HadGEM2-ES
572572
> dataset: HadGEM2-ES
573573
> diagnostic: diag_timeseries_temperature
574-
> end_year: 2005
574+
> end_year: 2000
575575
> ensemble: r1i1p1
576576
> exp: historical
577-
> filename: /scratch/b/b380506/recipe_example_20200701_082257/preproc/diag_timeseries_temperature/timeseries_variable/CMIP5_HadGEM2-ES_Omon_historical_r1i1p1_thetaoga_1859-2005.nc
577+
> filename: /scratch/b/b380506/recipe_example_20200701_082257/preproc/diag_timeseries_temperature/timeseries_variable/CMIP5_HadGEM2-ES_Omon_historical_r1i1p1_thetaoga_1900-2000.nc
578578
> frequency: mon
579579
> institute:
580580
> - INPE
@@ -588,7 +588,7 @@ available) can be found below. Note that the timestamps differ.
588588
> recipe_dataset_index: 0
589589
> short_name: thetaoga
590590
> standard_name: sea_water_potential_temperature
591-
> start_year: 1859
591+
> start_year: 2000
592592
> units: K
593593
> variable_group: timeseries_variable
594594
> input_files:
@@ -609,12 +609,12 @@ available) can be found below. Note that the timestamps differ.
609609
> Creating /scratch/b/b380506/recipe_example_20200701_082257/plots/diag_timeseries_temperature/timeseries_diag
610610
> metadata filename: /scratch/b/b380506/recipe_example_20200701_082257/preproc/diag_timeseries_temperature/timeseries_variable/metadata.yml
611611
> No handles with labels found to put in legend.
612-
> Image path will be: /scratch/b/b380506/recipe_example_20200701_082257/plots/diag_timeseries_temperature/timeseries_diag/MultipleModels__thetaoga_prep_timeseries_diag_timeseries_temperature_1859_2005_timeseries_.png
613-
> Saving plots to /scratch/b/b380506/recipe_example_20200701_082257/plots/diag_timeseries_temperature/timeseries_diag/MultipleModels__thetaoga_prep_timeseries_diag_timeseries_temperature_1859_2005_timeseries_.png
612+
> Image path will be: /scratch/b/b380506/recipe_example_20200701_082257/plots/diag_timeseries_temperature/timeseries_diag/MultipleModels__thetaoga_prep_timeseries_diag_timeseries_temperature_1900-2000_timeseries_.png
613+
> Saving plots to /scratch/b/b380506/recipe_example_20200701_082257/plots/diag_timeseries_temperature/timeseries_diag/MultipleModels__thetaoga_prep_timeseries_diag_timeseries_temperature_1900-2000_timeseries_.png
614614
> -----------------
615615
> model filenames: /scratch/b/b380506/recipe_example_20200701_082257/preproc/diag_timeseries_temperature/timeseries_variable/CMIP5_HadGEM2-ES_Omon_historical_r1i1p1_thetaoga_1859-2005.nc
616-
> Image path will be: /scratch/b/b380506/recipe_example_20200701_082257/plots/diag_timeseries_temperature/timeseries_diag/diag_CMIP5_HadGEM2-ES_Omon_historical_r1i1p1_thetaoga_prep_timeseries_diag_timeseries_temperature_1859_2005_timeseries_0.png
617-
> Saving plots to /scratch/b/b380506/recipe_example_20200701_082257/plots/diag_timeseries_temperature/timeseries_diag/diag_CMIP5_HadGEM2-ES_Omon_historical_r1i1p1_thetaoga_prep_timeseries_diag_timeseries_temperature_1859_2005_timeseries_0.png
616+
> Image path will be: /scratch/b/b380506/recipe_example_20200701_082257/plots/diag_timeseries_temperature/timeseries_diag/diag_CMIP5_HadGEM2-ES_Omon_historical_r1i1p1_thetaoga_prep_timeseries_diag_timeseries_temperature_1900-2000_timeseries_0.png
617+
> Saving plots to /scratch/b/b380506/recipe_example_20200701_082257/plots/diag_timeseries_temperature/timeseries_diag/diag_CMIP5_HadGEM2-ES_Omon_historical_r1i1p1_thetaoga_prep_timeseries_diag_timeseries_temperature_1900-2000_timeseries_0.png
618618
> Success
619619
> End of diagnostic script run.
620620
> ~~~
@@ -626,9 +626,9 @@ available) can be found below. Note that the timestamps differ.
626626
> So far, the example recipe has used global volume-weighted ocean temperature.
627627
> Please edit this recipe to investigate one of the following fields:
628628
>
629-
> - Land surface temperature (ts) for dataset HadGEM2-ES for 1901 - 2000
630-
> - Atmospheric surface average temperature (tas) for datasets HadGEM2-AO and HadGEM2-ES for 1901 - 2000
631-
> - Ocean surface average temperature (tos) for datasets HadGEM2-AO, HadGEM2-CC and HadGEM2-ES for 1901 - 2000
629+
> - Land surface temperature (ts) for dataset HadGEM2-ES for 1970-2000
630+
> - Atmospheric surface average temperature (tas) for dataset HadGEM2-ES for 1970-2000
631+
> - Ocean surface average temperature (tos) for datasets HadGEM2-ES and HadGEM2-CC for 1970-2000
632632
>
633633
> You will need to edit:
634634
>
@@ -665,8 +665,8 @@ The snippets for the edits can be found below:
665665
> - ukesm
666666
>
667667
> datasets:
668-
> - - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Omon, ensemble: r1i1p1, start_year: 1859, end_year: 2005}
669-
> + - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Amon, ensemble: r1i1p1, start_year: 1901, end_year: 2000}
668+
> - - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Omon, ensemble: r1i1p1, start_year: 1900, end_year: 2000}
669+
> + - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Amon, ensemble: r1i1p1, start_year: 1970, end_year: 2000}
670670
>
671671
> preprocessors:
672672
> prep_timeseries: # For 0D fields
@@ -688,7 +688,7 @@ The snippets for the edits can be found below:
688688
> timeseries_diag:
689689
> ```
690690
>
691-
> Note: The x-axis in the plot now shows the years 1900 - 2000.
691+
> Note: The x-axis in the plot now shows the years 1970 - 2000.
692692
>
693693
> Complete recipe can be downloaded as [recipe_example_ts.yml](https://github.com/ESMValGroup/ESMValTool_Tutorial/blob/master/data/recipe_example_ts.yml)
694694
{: .solution}
@@ -698,13 +698,12 @@ The snippets for the edits can be found below:
698698
> ```diff
699699
> --- data/recipe_example.yml
700700
> +++ data/recipe_example_tas.yml
701-
> @@ -20,12 +20,15 @@
701+
> @@ -20,12 +20,14 @@
702702
> - ukesm
703703
>
704704
> datasets:
705-
> - - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Omon, ensemble: r1i1p1, start_year: 1859, end_year: 2005}
706-
> + - {dataset: HadGEM2-AO, project: CMIP5, exp: historical, mip: Amon, ensemble: r1i1p1, start_year: 1901, end_year: 2000}
707-
> + - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Amon, ensemble: r1i1p1, start_year: 1901, end_year: 2000}
705+
> - - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Omon, ensemble: r1i1p1, start_year: 1900, end_year: 2000}
706+
> + - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Amon, ensemble: r1i1p1, start_year: 1970, end_year: 2000}
708707
>
709708
> preprocessors:
710709
> prep_timeseries: # For 0D fields
@@ -715,7 +714,7 @@ The snippets for the edits can be found below:
715714
>
716715
> diagnostics:
717716
> # --------------------------------------------------
718-
> @@ -35,7 +38,7 @@
717+
> @@ -35,7 +37,7 @@
719718
> description: simple_time_series
720719
> variables:
721720
> timeseries_variable:
@@ -725,7 +724,6 @@ The snippets for the edits can be found below:
725724
> scripts:
726725
> timeseries_diag:
727726
> ```
728-
> Note: There are now 3 plots in the work directory. One for each dataset and one for the multiple dataset overview.
729727
>
730728
> Complete recipe can be downloaded as [recipe_example_tas.yml](https://github.com/ESMValGroup/ESMValTool_Tutorial/blob/master/data/recipe_example_tas.yml)
731729
{: .solution}
@@ -735,14 +733,13 @@ The snippets for the edits can be found below:
735733
> ```diff
736734
> --- data/recipe_example.yml
737735
> +++ data/recipe_example_tos.yml
738-
> @@ -20,12 +20,16 @@
736+
> @@ -20,12 +20,15 @@
739737
> - ukesm
740738
>
741739
> datasets:
742-
> - - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Omon, ensemble: r1i1p1, start_year: 1859, end_year: 2005}
743-
> + - {dataset: HadGEM2-AO, project: CMIP5, exp: historical, mip: Omon, ensemble: r1i1p1, start_year: 1901, end_year: 2000}
744-
> + - {dataset: HadGEM2-CC, project: CMIP5, exp: historical, mip: Omon, ensemble: r1i1p1, start_year: 1901, end_year: 2000}
745-
> + - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Omon, ensemble: r1i1p1, start_year: 1901, end_year: 2000}
740+
> - - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Omon, ensemble: r1i1p1, start_year: 1900, end_year: 2000}
741+
> + - {dataset: HadGEM2-ES, project: CMIP5, exp: historical, mip: Omon, ensemble: r1i1p1, start_year: 1970, end_year: 2000}
742+
> + - {dataset: HadGEM2-CC, project: CMIP5, exp: historical, mip: Omon, ensemble: r1i1p1, start_year: 1970, end_year: 2000}
746743
>
747744
> preprocessors:
748745
> prep_timeseries: # For 0D fields
@@ -753,7 +750,7 @@ The snippets for the edits can be found below:
753750
>
754751
> diagnostics:
755752
> # --------------------------------------------------
756-
> @@ -35,7 +39,7 @@
753+
> @@ -35,7 +38,7 @@
757754
> description: simple_time_series
758755
> variables:
759756
> timeseries_variable:
@@ -763,7 +760,7 @@ The snippets for the edits can be found below:
763760
> scripts:
764761
> timeseries_diag:
765762
> ```
766-
> Note: The unit in the plots is now degrees celsius! There is a plot also for HadGEM2-CC.
763+
> Note: The unit in the plots is now degrees celsius! There are now 3 plots in the work directory. One for each dataset and one for the multiple dataset overview.
767764
>
768765
> Complete recipe can be downloaded as [recipe_example_tos.yml](https://github.com/ESMValGroup/ESMValTool_Tutorial/blob/master/data/recipe_example_tos.yml)
769766
{: .solution}

0 commit comments

Comments
 (0)