Improve performance of LitPop by peanutfun · Pull Request #720 · CLIMADA-project/climada_python

added 3 commits

May 12, 2023 11:26
* Assume data from LitPop is gridded when determining region IDs.
* Add option to pass 'region_id' parameter to LitPop.from_shape.
* Avoid copying data by using np.asarray.
* Streamline computations by relying on numpy broadcasting.

@peanutfun peanutfun marked this pull request as ready for review

May 12, 2023 11:22

@peanutfun

peanutfun

@peanutfun

peanutfun

@peanutfun

chahank

chahank

chahank

chahank

@peanutfun

* Rename return value in local function.
* Remove named argument call in `LitPop.from_shape`.
* Improve `region_id` parameter documentation.

chahank

chahank