harp Training 2022

Agenda

[All times are CET (UTC + 1h)]


Day 1 : 16 February 2022

10:00 - 10:15 : Welcome and Introduction

Welcome to the course with pratical information and a brief introudction to your instructors.

10:15 - 11:00 : An Introduction to R [Andrew]

You will learn some of the basics of working in R, including common data types and classes, installing and attaching packages, vectors and arrays and basic math operations.

11:00 - 11:15 : Break

11:15 - 12:00 : Data Frames and Lists [Andrew]

You will be introduced to data frames and lists - two of the most useful classes for storing data in R. harp makes extensive use of both data frames and lists, so this lesson serves to provide a foundation for working with harp. You will be shown how to manipulate data in data frames and introduced to the concept of tidy data.

12:00 - 13:00 : Lunch

13:00 - 13:45 : Troubleshooting harp Installation

If you've had any problems installing harp, this session will give you an opportunity to get help from your instructors to install harp successfully.

13:45 - 14:00 : Break

14:00 - 15:00 : Reading and Transforming Forecast and Observations Data with harp [Andrew]

You will be introduced to harp's main functions for reading external data:

  • read_grid()
  • read_forecast()
  • read_obs_file()
  • read_obs()
  • read_analysis()
You will be shown how to use these functions to transform gridded data to point data, other grids or vertical cross sections and how to write point forecast and observations data to harp's SQLite format that enables fast access to the data.


Day 2 : 17 February 2022

10:00 - 11:00 : Point Verification : Deterministic [Andrew]

You will be introduced to the harp point verification workflow, read > join > verify > plot, for deterministic forecasts and the functions needed to follow this workflow:

  • read_point_forecast()
  • read_point_obs()
  • join_to_fcst()
  • det_verify()
  • plot_point_verif()

11:00 - 11:15 : Break

11:15 - 12:00 : Point Verification : Ensembles [Andrew]

We will extend what we learned in the previous lesson to apply the same workflow to ensemble forecasts. You will also learn how to deal with lagged ensembles, and if time allows, multimodel ensembles. You will be introduced to the main ensemble verification function and functions for producing specific scores:

  • ens_verify()
  • ens_spread_and_skill()
  • ens_crps()
  • ens_rank_histogram()
  • ens_brier()
  • ens_reliability()
  • ens_roc()
  • ens_value()

12:00 - 13:00 : Lunch

13:00 - 13:45 : harpSpatial 1 [Alex]

You will be introduced to the harpSpatial package, and shown how to run spatial verifcation in harp using the verify_spatial() function.

13:45 - 14:00 : Break

14:00 - 15:00 : harpSpatial 2 [Alex]

We will continue to explore the harpSpatial package and how to plot spatial verification scores using the plot_spatial_verif() function.


Day 3 : 18 February 2022

10:00 - 10:45 : harp in a Production Environment [Mikko]

You will be shown how MetCoOp has implemented harp into their production chains to run operationally. You will also be shown how MetCoOp have set up a shinyserver to share verfication resuts internally.

10:45 - 11:00 : Break

11:00 - 12:00 : Point Verification by Groups [Andrew]

You will be introcuded to the groupings argument to harp's point verification functions. This enables you to group data together and get verification scores for each group. This will include grouping by vertical level to get scores for vertical profiles, grouping by valid time, grouping by forecast cycle and by groups of weather stations.

12:00 - 13:00 : Lunch

13:00 - 13:45 : Statistical Significance and Score Cards [Andrew]

You will be shown how to compute the statistical signficance of verification scores using bootstrapping, how to take account of serial correlations in the data and how to plot the results on score cards.

13:45 - 14:00 : Break

14:00 - 15:00 : Plotting Forecast Data [Andrew]

You will be shown some of harp's methods for plotting forecast data, as well as getting some tips on how use the ggplot2 package to make beautiful charts tailored to your own needs.

15:00 - 15:15 : Introducing harp Live Coding Sessions [Andrew]

In the weeks after the course, we will run some live coding sessions where you can learn about the workflows we use in the real world, using real data with harp. You will have the opportunity to see how to incorporate harp functions into reusable scripts, how to build your own package that makes use of harp functions, and how to build functions that harp can use to read data in any format. We will also go through how to make automated reports and some much more advanced plotting techniques.