CLIMADA-project / climada_python

Python (3.8+) version of CLIMADA
GNU General Public License v3.0
291 stars 115 forks source link

Create an empty centroids in Hazard.concat() with CRS from the first haz_list. #881

Closed manniepmkam closed 2 weeks ago

manniepmkam commented 1 month ago

Changes proposed in this PR:

This pull request is a fix for issue #879.

An empty centroids is created in the Hazard.concat() function with the crs from the haz object from the haz_list.

This PR fixes #

PR Author Checklist

PR Reviewer Checklist

emanuel-schmid commented 1 month ago

Very well! Can you add tests and changelog?

manniepmkam commented 2 weeks ago

@manniepmkam, as discussed in person, please

  • fix the linter issue: Line too long

I have updated the line.

The unit test for hazard.base has been updated accordingly. Please review that.

peanutfun commented 2 weeks ago

@manniepmkam Thanks a lot for the bugfix! 🙌