Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Episode 4 Running a recipe (First example): #29

Closed
ledm opened this issue Jun 26, 2020 · 1 comment · Fixed by #34
Closed

Episode 4 Running a recipe (First example): #29

ledm opened this issue Jun 26, 2020 · 1 comment · Fixed by #34
Assignees
Labels
enhancement New feature or request lesson Develop lessons material

Comments

@ledm
Copy link
Contributor

ledm commented Jun 26, 2020

Internal name: first_recipe

The outline document says:

  • Questions:

    • What is a recipe?
    • How can I do the same preprocessing on many different datasets?
    • What are the files and directories after running a recipe?
    • What happens when I run a recipe?
  • Objectives:

    • Run an ESMValTool recipe
    • Understand the purpose of different settings in the recipe
    • Inspect the output directories
    • Examine the log information
  • Contents:

    • How to run ESMValTool
    • esmvaltool -c user-config.yml recipe.yml
    • A basic recipe that takes a simple dataset and produces a simple plot.
    • We’ve found that the best example here is a scalar (time series) field, like the thetaoga (global average ocean temperature). This data is small and light, (hundreds of kb per file).
  • Discussion:

    • Inspect the example recipe
    • What do you think it will produce?
    • Exercise: Run the example recipe to produce a simple time series of ~20 years of data.
  • Discussion: Inspect the output:

    • Plots
    • Logs
    • Preprocessed netcdf
    • Provenance and citation information
    • Settings.yml and metadata/yml files
  • Exercise:

    • edit the file to include other models or a different variable and re-run.
  • Exercise:

    • edit the recipe to run:
    • Atmosphere: Temperature at 2m
    • Land surface: Average land surface tempureate in your local region.
    • Ocean: Surface ocean temperature
  • Callout: Common issues & tips

    • ESMValTool can’t locate the data (user didn’t correctly edit user-config.yml)
    • Esmvaltool not found (user didn’t active or correctly install conda)
    • Diagnostic path problems (explain ESMValTool’s methods to determine diagnostic path, and how it should appear in the recipe)
    • FX files not found.
    • The preprocessor works but the diagnostic fails. How to tell them appart and how to re-run a failed diagnostic (but not the preprocessor)
    • Your recipe’s name/project/reference isn’t recognised by ESMValTool.
  • Key points:

    • You can’t break A a recipe does not break by fiddling with it
    • Log information is useful to How to interpret the first warnings/errors
    • The dataset section in the recipe relates to Understanding the directory structure of CMIP data on your server/disk and knowing how to use data from different experiments such as CMIP/ScenarioMIP.
@ledm ledm added lesson Develop lessons material enhancement New feature or request labels Jun 26, 2020
@ledm ledm assigned ledm and BenMGeo Jun 26, 2020
@ledm
Copy link
Contributor Author

ledm commented Jun 26, 2020

We're working in a google doc. When we're happy with that content, we'll copy it into the respository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lesson Develop lessons material
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants