-
Notifications
You must be signed in to change notification settings - Fork 152
data api client design
emanuel-schmid edited this page Jan 4, 2022
·
20 revisions
Discussion of the data-api client requirements and implementation
The data-api client, climada.util.api_client.Client is meant for
- providing a generic python interface to the public CLIMADA data api
- creating
climadaPython objects such asExposures,HazardorImpactFunc, from dataset files of the CLIMADA data api in a comfortable, easy to use way.\
The implemented methods are supposed to be as natural as possible and hiding away boilerplate code that downloads files, reads and converts content into CLIMADA objects. Additionally they should take care of caching files on the local filesystem in order to save resources of the api server.
- ...