cal-adapt / climakitae

A Python toolkit for retrieving, visualizing, and performing scientific analyses with data from the Cal-Adapt Analytics Engine.
https://climakitae.readthedocs.io
BSD 3-Clause "New" or "Revised" License
19 stars 2 forks source link

Debugging WL for WRF simulation 4 degree case #353

Closed claalmve closed 3 months ago

claalmve commented 3 months ago

Description of PR

Currently, the warming_levels.ipynb notebook is breaking due to the fact that are no WRF simulations that reach 4 degrees warming (a small win for the world). This PR addresses this bug by creating conditional statements for if/when there are no simulations that reach a certain degree of warming.

Summary of changes and related issue We want to still use warming levels and warming levels visualizations even if no simulations reach a certain degree of warming.

Relevant motivation and context We want our notebooks to run properly.

Dependencies required for this change?

Fixes # (issue), delete if not necessary

Type of change

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Ran through warming_levels.ipynb

Checklist: