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:
Require --overwrite to overwrite existing output. Resolves NGEET/tools-fates-landusedata#16.
Make output parent directory, if needed. Resolves NGEET/tools-fates-landusedata#17.
Check for write access before processing. Resolves NGEET/tools-fates-landusedata#18.
Depends on merges of #23 and #24. Will rebase once those are in.
Bugfix: Somehow
regridder
can affect its input! This was manifesting asds_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 toxesmf
.) Note that this does NOT affect the values actually written.Argument improvements:
--overwrite
to overwrite existing output. Resolves NGEET/tools-fates-landusedata#16.