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

Add arguments, improve output processing, keep time attributes #25

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

samsrabin
Copy link

@samsrabin samsrabin commented Sep 10, 2024

Depends on merges of #23 and #24. Will rebase once those are in.

Bugfix: Somehow regridder can affect its input! This was manifesting as ds_to_regrid["time"] losing its attributes. I fixed this (238aff7) by ensuring that it always receives a copy. If you'd like, I can make a separate PR for this, or I can move it into #23 (which otherwise will conflict). (Also, this should probably be reported as a bug to xesmf.) Note that this does NOT affect the values actually written.

Argument improvements:

@samsrabin samsrabin changed the title Add argument and improve arg processing Add arguments and improve arg processing Sep 10, 2024
@samsrabin samsrabin marked this pull request as draft September 11, 2024 13:41
Somehow regridder can affect its input! This was manifesting as ds_to_regrid["time"] losing its attributes.
@samsrabin samsrabin changed the title Add arguments and improve arg processing BUGFIX, + add arguments and improve arg processing Sep 11, 2024
@samsrabin samsrabin changed the title BUGFIX, + add arguments and improve arg processing Add arguments, improve output processing, keep time attributes Sep 11, 2024
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.

Check for write permissions early Make output directory if needed Overwriting should not be on by default
1 participant