Skip to content

ecmwf-lab/climetlab-google-drive-source

Repository files navigation

climetlab-google_drive_source

A source plugin for climetlab for the source google-drive.

Features

In this README is a description of how to use the source provided by the python package google_drive_source.

Source description

Read a publicly accessible file from google drive as if it was local (i.e. cache the file locally).

Using climetlab to access the data

See the demo notebooks Binder

The climetlab python package allows easy access to the data with a few lines of code such as:

!pip install climetlab climetlab-google-drive-source
import climetlab as cml
ds = cml.load_source("google-drive", file_id="...")
# use ds as you would use cml.load("file", filename)

Todo

Add authentification support. Perhaps using the package pydrive2?

Support and contributing

Open a issue on github or a pull request.

LICENSE

See the LICENSE file. (C) Copyright 2022 European Centre for Medium-Range Weather Forecasts. This software is licensed under the terms of the Apache Licence Version 2.0 which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. In applying this licence, ECMWF does not waive the privileges and immunities granted to it by virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.

Authors

Florian Pinault and al.

See also the CONTRIBUTORS.md file.