Skip to content

data api client design

emanuel-schmid edited this page Jan 4, 2022 · 20 revisions

Discussion of the data-api client requirements and implementation

Motivation

The data-api client, climada.util.api_client.Client is meant for

  • providing a generic python interface to the public CLIMADA data api
  • creating climada Python objects such as Exposures, Hazard or ImpactFunc, 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.

Methods

  • ...

Clone this wiki locally