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

Computing bias/rmse/leaderboard from OutputVars #58

Open
18 of 19 tasks
Sbozzolo opened this issue Aug 14, 2024 · 0 comments
Open
18 of 19 tasks

Computing bias/rmse/leaderboard from OutputVars #58

Sbozzolo opened this issue Aug 14, 2024 · 0 comments
Assignees

Comments

@Sbozzolo
Copy link
Member

Sbozzolo commented Aug 14, 2024

⚠️ This SDI is actively being written

The Climate Modeling Alliance

Software Design Issue 📜

Purpose

ClimaCoupler implements a "Leaderboard" module. Fundamentally, this module does two things:

  1. Allow users to specify observational data and compute bias and RMSE between simulated data and observations
  2. Allow users to specify RMSEs for other models and compare how our model performs

While the module works, there are some drawbacks, mostly stemming from the fact that the code is embedded in ClimaCoupler

  • it clunky to use if one has already some output
  • small modifications require going through the entire ClimaCoupler CI (which takes >1 h)
  • it cannot be used by other packages

With this SDI, we move the module from ClimaCoupler to ClimaAnalysis. In the process, we update it to make use of newer features recently introduced in ClimaAnalysis (that will lead to simpler code).

Cost/Benefits/Risks

Benefits include:

  • Fixing the problems above
  • Allowing ClimaLand to directly use this code for comparing against observations
  • Extracting some code that is useful in itself (e.g., computing integrals of OutputVars)

The logic of the code is already implemented and working, so the main cost is developer time.

People and Personnel

Components

Inputs

Results and Deliverables

Scope of Work

At higher level, there are two main components:

  1. computing/plotting bias/rmse
  2. computing/plotting leaderboard

Once this is completed, we will be able to directly compute bias and mse from two OutputVars. Packages like ClimaCoupler will load simulation data and observation data as OutputVars.

SDI Revision Log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants