-
Notifications
You must be signed in to change notification settings - Fork 295
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
Fix the cf_writer to accept single-valued time coordinate variable #508
Conversation
Codecov Report
@@ Coverage Diff @@
## master #508 +/- ##
=========================================
Coverage ? 76.51%
=========================================
Files ? 136
Lines ? 18904
Branches ? 0
=========================================
Hits ? 14464
Misses ? 4440
Partials ? 0
Continue to review full report at Codecov.
|
This seems to be an issue in xarray >= 0.10.4 pydata/xarray#2563 |
This PR adds flexibility to the cf_writer. It fixes the time coordinate when it's a single value, and adds it as a dimension if possible.
git diff origin/master -- "*py" | flake8 --diff