## 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](https://github.com/ecmwf-lab/climetlab-google-drive-source/tree/main/notebooks)
[](https://mybinder.org/v2/gh/ecmwf-lab/climetlab-google-drive-source/main?urlpath=lab)
- [demo.ipynb](https://github.com/ecmwf-lab/climetlab-google-drive-source/tree/main/notebooks/demo.ipynb)
[](https://nbviewer.jupyter.org/github/ecmwf-lab/climetlab-google-drive-source/blob/main/notebooks/demo.ipynb)
[](https://colab.research.google.com/github/ecmwf-lab/climetlab-google-drive-source/blob/main/notebooks/demo.ipynb)
[](https://mybinder.org/v2/gh/ecmwf-lab/climetlab-google-drive-source/main?filepath=notebooks/demo.ipynb)
[<img src="https://deepnote.com/buttons/launch-in-deepnote-small.svg">](https://deepnote.com/launch?name=MyProject&url=https://github.com/ecmwf-lab/climetlab-google-drive-source/tree/main/notebooks/demo.ipynb)
The climetlab python package allows easy access to the data with a few lines of code such as:
``` python
!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.
Raw data
{
"_id": null,
"home_page": "http://github.com/ecmwf-lab/climetlab-google-drive-source",
"name": "climetlab-google-drive-source",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "meteorology",
"author": "Florian Pinault",
"author_email": "Florian.Pinault@ecmwf.int",
"download_url": "https://files.pythonhosted.org/packages/95/06/904cad2f5200899fee74189fc1e4b53b6299808acbf3f464a33f7c276fe7/climetlab_google_drive_source-0.1.5.tar.gz",
"platform": null,
"description": "## climetlab-google_drive_source\n\nA source plugin for climetlab for the source google-drive.\n\n\nFeatures\n--------\n\nIn this README is a description of how to use the source provided by the python package google_drive_source.\n\n## Source description\n\nRead a publicly accessible file from google drive as if it was local (i.e. cache the file locally).\n\n## Using climetlab to access the data\n\nSee the [demo notebooks](https://github.com/ecmwf-lab/climetlab-google-drive-source/tree/main/notebooks)\n[](https://mybinder.org/v2/gh/ecmwf-lab/climetlab-google-drive-source/main?urlpath=lab)\n\n\n- [demo.ipynb](https://github.com/ecmwf-lab/climetlab-google-drive-source/tree/main/notebooks/demo.ipynb)\n[](https://nbviewer.jupyter.org/github/ecmwf-lab/climetlab-google-drive-source/blob/main/notebooks/demo.ipynb) \n[](https://colab.research.google.com/github/ecmwf-lab/climetlab-google-drive-source/blob/main/notebooks/demo.ipynb) \n[](https://mybinder.org/v2/gh/ecmwf-lab/climetlab-google-drive-source/main?filepath=notebooks/demo.ipynb)\n[<img src=\"https://deepnote.com/buttons/launch-in-deepnote-small.svg\">](https://deepnote.com/launch?name=MyProject&url=https://github.com/ecmwf-lab/climetlab-google-drive-source/tree/main/notebooks/demo.ipynb)\n\n\n\nThe climetlab python package allows easy access to the data with a few lines of code such as:\n``` python\n\n!pip install climetlab climetlab-google-drive-source\nimport climetlab as cml\nds = cml.load_source(\"google-drive\", file_id=\"...\")\n# use ds as you would use cml.load(\"file\", filename)\n```\n\nTodo\n----\n\nAdd authentification support. Perhaps using the package pydrive2?\n\n\nSupport and contributing\n------------------------\n\nOpen a issue on github or a pull request.\n\nLICENSE\n-------\n\nSee the LICENSE file.\n(C) Copyright 2022 European Centre for Medium-Range Weather Forecasts.\nThis software is licensed under the terms of the Apache Licence Version 2.0\nwhich can be obtained at http://www.apache.org/licenses/LICENSE-2.0.\nIn applying this licence, ECMWF does not waive the privileges and immunities\ngranted to it by virtue of its status as an intergovernmental organisation\nnor does it submit to any jurisdiction.\n\nAuthors\n-------\n\nFlorian Pinault and al.\n\nSee also the CONTRIBUTORS.md file.",
"bugtrack_url": null,
"license": "Apache License Version 2.0",
"summary": "A source plugin for climetlab for the source google-drive",
"version": "0.1.5",
"split_keywords": [
"meteorology"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9506904cad2f5200899fee74189fc1e4b53b6299808acbf3f464a33f7c276fe7",
"md5": "862eb1baaf73735a6bb087f291de6f7a",
"sha256": "02c518ec2a5e2e2004735af9ab0239dff511c39e978bc8d5941d32d0057d2b39"
},
"downloads": -1,
"filename": "climetlab_google_drive_source-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "862eb1baaf73735a6bb087f291de6f7a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8661,
"upload_time": "2023-01-23T15:14:28",
"upload_time_iso_8601": "2023-01-23T15:14:28.772017Z",
"url": "https://files.pythonhosted.org/packages/95/06/904cad2f5200899fee74189fc1e4b53b6299808acbf3f464a33f7c276fe7/climetlab_google_drive_source-0.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-23 15:14:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "ecmwf-lab",
"github_project": "climetlab-google-drive-source",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"tox": true,
"lcname": "climetlab-google-drive-source"
}