Skip to content

Add new unit tests for basic behaviors in simple_storage EconVars and Climate, fix docstr#50

Merged
brews merged 6 commits intomainfrom
storage_tests
Sep 26, 2022
Merged

Add new unit tests for basic behaviors in simple_storage EconVars and Climate, fix docstr#50
brews merged 6 commits intomainfrom
storage_tests

Conversation

@brews
Copy link
Copy Markdown
Member

@brews brews commented Sep 22, 2022

Adding new unit tests to explicitly cover some basic behaviors that I'm seeing in how the package is used for EPA prototype. Specifically, this improves testing for Climate and EconVars in dscim.menu.simple_storage.

Includes a minor docstr fix to Climate. The "ecs_mask*" arguments look like they can sometimes be None and optional. Updated to show that.

Testing for what I'm seeing as some basic behaviors.
@brews brews self-assigned this Sep 22, 2022
Testing for what I'm seeing as some basic behaviors, focusing on EPA prototype parameters for input.
@brews brews changed the title Draft: Add new unit tests for basic behaviors in dscim.menu.simple_storage Draft: Add new unit tests for basic behaviors in simple_storage EconVars and Climate, fix docstr Sep 23, 2022
@brews brews added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 23, 2022
@brews brews changed the title Draft: Add new unit tests for basic behaviors in simple_storage EconVars and Climate, fix docstr Add new unit tests for basic behaviors in simple_storage EconVars and Climate, fix docstr Sep 23, 2022
@brews brews requested a review from kemccusker September 23, 2022 00:57
# This struction might appear weird, but matches that used for initial EPA estimates.
ds_in = xr.Dataset(
{
"__xarray_dataarray_variable__": (["gas"], test_numbers),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh yeah, we should update that file it looks like

Copy link
Copy Markdown
Member

@kemccusker kemccusker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@brews brews merged commit 5e31abb into main Sep 26, 2022
@brews brews deleted the storage_tests branch September 26, 2022 18:30
JMGilbert pushed a commit that referenced this pull request Jan 18, 2023
JMGilbert pushed a commit that referenced this pull request Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants