IAMconsortium / pyam

Analysis & visualization of energy & climate scenarios
https://pyam-iamc.readthedocs.io/
Apache License 2.0
226 stars 118 forks source link

interpolate function raises Error when getting a numpy.int64 #376

Closed l-welder closed 4 years ago

l-welder commented 4 years ago

Hi pyam-developer-team,

the interpolate function in the core module raises an error when it get a numpy.int 64 value:

grafik

I was able to fix this locally by casting the numpy.int64 to a regular int... @gidden mentioned that this might happen because of my windows OS... I do not know if it is maybe worthwhile to adapt the interpolate function to avoid this error?

danielhuppmann commented 4 years ago

Thanks @l-welder for raising this issue - it was fixed (supposedly) in #370, but that was after the release v0.5.0. I assume that you installed from pip or conda?

Can you try installing from the master branch on GitHub and check if this solves your problem?

danielhuppmann commented 4 years ago

@l-welder did you try to install the latest version from master and can you confirm whether this issues still is solved there?

danielhuppmann commented 4 years ago

This should be fixed with release 0.6.0, please re-open if the issue persists