Replies: 6 comments
-
I am happy to share some code, how I import exposure data as a CLIMADA-user. 1. Exposure = Population Count from
|
Beta Was this translation helpful? Give feedback.
-
A late follow-up on this. I am quite aligned with @thomini : not too fancy things should be needed to load most of exposure data out there. Yet, sometimes some handling is needed. Here are a collected few examples: https://github.com/ChrisFairless/nccs-supply-chain/blob/main/docs/exposures.ipynb so the question remains, does it make sense to have a place (stand alone file, ad hoc class) in CLIMADA to easien access to all these various exposures ? |
Beta Was this translation helpful? Give feedback.
-
I still do not really understand what you are thinking of, but sure, why not. Can you make a proposal? |
Beta Was this translation helpful? Give feedback.
-
mmh, actually there are several options/proposals listed above... I think this issue is about finding what is desired way forward.. or we simply close it. |
Beta Was this translation helpful? Give feedback.
-
Yes, indeed! Sorry for not being clear. What I meant is an actual simple example of how you would think of implementing you favorite options from the ones above. I do not really see at the moment how something more general than having all the methods from GeoPandas, direct imports from all OpenStreetMap, as well as functions to handle all polygons an lines, which are all currently available, would look like. Thus, an example from your side would help tremendously. The only example I can see from the attached notebook that might benefit from extra methods are the handling of netcdf files. This can be easily solved by writing a Also, concerning the API, we already have exposures data on it, so please feel free to add more. Finally, maybe someone else sees a more general implementation, so we can well expand the discussion! |
Beta Was this translation helpful? Give feedback.
-
Thanks for converting this topic to "discussion", it's indeed where it belongs. I agree with you that most functionalities are already in CLIMADA, and I don't see the need for any extra function at least for the data I worked with so far. My proposal is really to have a tutorial (or the like) somewhere, where one goes and attaches the few lines of code required to manipulate a given dataset and make it a CLIMADA exposure. This will not only serve the intended purpose (i.e. having ready-to-use-code for various exposures) but would also indirectly constitute a list of the various exposure data out there (which may actually be an even more interesting thing to have). I am not sure though where such notebook should be located in the project folder structure. |
Beta Was this translation helpful? Give feedback.
-
As more and more socio-economic data are loaded into CLIMADA, the question arises on whether and how we want to make their access easier to the wider community. Some of these may require a bit of processing (e.g., current LitPop), some others may be almost plug-and-play but yet potentially require some ad hoc operation.
Options so far:
exposure_list
class where all the implemented low hanging fruits exposures are presentBeta Was this translation helpful? Give feedback.
All reactions