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

Issue 182 Fix: Xarray Future Warning #183

Merged

Conversation

scrasmussen
Copy link
Member

TYPE: bug issue fix

KEYWORDS: Xarray, Python, Aggregation

SOURCE: Soren Rasmussen, NCAR

DESCRIPTION OF CHANGES: Fix for warning of a future switch in xarray. Just switched from Dataset.dims to Dataset.sizes in aggregate_parallel_files.py script to fix it.

ISSUE: Fixes #182

TESTS CONDUCTED: Compared results of new and previous aggregation script, they were identical.

$ nccmp -ds icar_out_2010-09-01_00-00-00.nc icar_out_2010-09-01_00-00-00.nc.orig
Files "icar_out_2010-09-01_00-00-00.nc" and "icar_out_2010-09-01_00-00-00.nc.orig" are identical.

Checklist

…ataset.sizes in aggregate_parallel_files.py script
@gutmann gutmann merged commit 247cc0d into NCAR:develop Apr 16, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants