Summary of changes and related issue
Add functionality to optionally load in warming levels. This allows for lazy loading with xarray and for more data manipulation/subsetting before having to load data into memory.
Relevant motivation and context
We want to have the option to load in warming levels data or not. This can be toggled with the wl.wl_params.load_data =True/False parameter.
Type of change
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
How Has This Been Tested?
In a notebook using warming levels.
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
Description of PR
Summary of changes and related issue Add functionality to optionally load in warming levels. This allows for lazy loading with xarray and for more data manipulation/subsetting before having to load data into memory.
Relevant motivation and context We want to have the option to load in warming levels data or not. This can be toggled with the
wl.wl_params.load_data =True/False
parameter.Type of change
How Has This Been Tested?
In a notebook using warming levels.
Checklist: