NGEET / tools-fates-landusedata

Python tool for processing LUH2 data for use with FATES Landuse run modes
Other
0 stars 2 forks source link

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

Open samsrabin opened 1 month ago

samsrabin commented 1 month ago

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: