Skip to content

Fix CHELSA-W5E5 precipitation scaling #94

Open
@juseg

Description

I overlooked the different precipitation units in CHELSA-W5E5 data when implementing #86. This issue was brought to my attention by the following line in hyoga.open.atmosphere(), which currently fails not because of different units, but because the 'time' dimension is called 'month' in the new source.

# convert precipitation to kg m-2 day-1
ds['precipitation'] /= xr.DataArray(months, coords={'time': ds.time})

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions