juseg / hyoga

Paleoglacier modelling framework
https://hyoga.io
GNU General Public License v3.0
8 stars 0 forks source link

Fix CHELSA-W5E5 precipitation scaling #94

Open juseg opened 5 days ago

juseg commented 5 days ago

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.

https://github.com/juseg/hyoga/blob/48391fcfc1186a0611dab4c1d666399f478e3d69/hyoga/open/reprojected.py#L202-L203