[//]: # ()
<ul style="text-align: center;">
<img src="https://raw.githubusercontent.com/alan-turing-institute/deepsensor/main/figs/DeepSensorLogo2.png" width="700"/>
</ul>
<ul style="margin-top:0px;">
<p style="text-align: center; font-size: 15px">A Python package and open-source project for modelling environmental
data with neural processes</p>
-----------
[](https://github.com/alan-turing-institute/deepsensor/releases)
[](https://alan-turing-institute.github.io/deepsensor/)

[](https://coveralls.io/github/alan-turing-institute/deepsensor?branch=main)
[](https://github.com/psf/black)
[](https://ai4environment.slack.com/archives/C05NQ76L87R)
[](#contributors)
[](https://github.com/alan-turing-institute/deepsensor/blob/main/LICENSE)
DeepSensor streamlines the application of neural processes (NPs) to environmental sciences by
providing a simple interface for building, training, and evaluating NPs using `xarray` and `pandas`
data. Our developers and users form an open-source community whose vision is to accelerate the next
generation of environmental ML research. The DeepSensor Python package facilitates this by
drastically reducing the time and effort required to apply NPs to environmental prediction tasks.
This allows DeepSensor users to focus on the science and rapidly iterate on ideas.
DeepSensor is an experimental package, and we
welcome [contributions from the community](https://github.com/alan-turing-institute/deepsensor/blob/main/CONTRIBUTING.md).
We have an active Slack channel for code and research discussions; you can join by [signing up for the Turing Environment & Sustainability stakeholder community](https://forms.office.com/pages/responsepage.aspx?id=p_SVQ1XklU-Knx-672OE-ZmEJNLHTHVFkqQ97AaCfn9UMTZKT1IwTVhJRE82UjUzMVE2MThSOU5RMC4u). The form includes a question on signing up for the Slack team, where you can find DeepSensor's channel.

Why neural processes?
-----------
NPs are a highly flexible class of probabilistic models that offer unique opportunities to model
satellite observations, climate model output, and in-situ measurements.
Their key features are the ability to:
- ingest multiple data streams of pointwise or gridded modalities
- handle missing data and varying resolutions
- predict at arbitrary target locations
- quantify prediction uncertainty
These capabilities make NPs well suited to a range of
spatio-temporal data fusion tasks such as downscaling, sensor placement, gap-filling, and forecasting.
Why DeepSensor?
-----------
This package aims to faithfully match the flexibility of NPs with a simple and intuitive interface.
Under the hood, DeepSensor wraps around the
powerful [neuralprocessess](https://github.com/wesselb/neuralprocesses) package for core modelling
functionality, while allowing users to stay in the familiar [xarray](https://xarray.pydata.org)
and [pandas](https://pandas.pydata.org) world from end-to-end.
DeepSensor also provides convenient plotting tools and active learning functionality for finding
optimal [sensor placements](https://doi.org/10.1017/eds.2023.22).
Documentation
-----------
We have an extensive documentation page [here](https://alan-turing-institute.github.io/deepsensor/),
containing steps for getting started, a user guide built from reproducible Jupyter notebooks,
learning resources, research ideas, community information, an API reference, and more!
DeepSensor Gallery
-----------
For real-world DeepSensor research demonstrators, check out the
[DeepSensor Gallery](https://github.com/tom-andersson/deepsensor_gallery).
Consider submitting a notebook showcasing your research!
Deep learning library agnosticism
-----------
DeepSensor leverages the [backends](https://github.com/wesselb/lab) package to be compatible with
either [PyTorch](https://pytorch.org/) or [TensorFlow](https://www.tensorflow.org/).
Simply `import deepsensor.torch` or `import deepsensor.tensorflow` to choose between them!
Quick start
----------
Here we will demonstrate a simple example of training a convolutional conditional neural process
(ConvCNP) to spatially interpolate random grid cells of NCEP reanalysis air temperature data
over the US. First, pip install the package. In this case we will use the PyTorch backend
(note: follow the [PyTorch installation instructions](https://pytorch.org/) if you
want GPU support).
```bash
pip install deepsensor
pip install torch
```
We can go from imports to predictions with a trained model in less than 30 lines of code!
```python
import deepsensor.torch
from deepsensor.data import DataProcessor, TaskLoader
from deepsensor.model import ConvNP
from deepsensor.train import Trainer
import xarray as xr
import pandas as pd
import numpy as np
from tqdm import tqdm
# Load raw data
ds_raw = xr.tutorial.open_dataset("air_temperature")
# Normalise data
data_processor = DataProcessor(x1_name="lat", x2_name="lon")
ds = data_processor(ds_raw)
# Set up task loader
task_loader = TaskLoader(context=ds, target=ds)
# Set up ConvNP, which by default instantiates a ConvCNP with Gaussian marginals
model = ConvNP(data_processor, task_loader)
# Generate training tasks with up 100 grid cells as context and all grid cells
# as targets
train_tasks = []
for date in pd.date_range("2013-01-01", "2014-11-30")[::7]:
N_context = np.random.randint(0, 100)
task = task_loader(date, context_sampling=N_context, target_sampling="all")
train_tasks.append(task)
# Train model
trainer = Trainer(model, lr=5e-5)
for epoch in tqdm(range(10)):
batch_losses = trainer(train_tasks)
# Predict on new task with 50 context points and a dense grid of target points
test_task = task_loader("2014-12-31", context_sampling=50)
pred = model.predict(test_task, X_t=ds_raw)
```
After training, the model can predict directly to `xarray` in your data's original units and
coordinate system:
```python
>>> pred["air"]
<xarray.Dataset>
Dimensions: (time: 1, lat: 25, lon: 53)
Coordinates:
* time (time) datetime64[ns] 2014-12-31
* lat (lat) float32 75.0 72.5 70.0 67.5 65.0 ... 25.0 22.5 20.0 17.5 15.0
* lon (lon) float32 200.0 202.5 205.0 207.5 ... 322.5 325.0 327.5 330.0
Data variables:
mean (time, lat, lon) float32 267.7 267.2 266.4 ... 297.5 297.8 297.9
std (time, lat, lon) float32 9.855 9.845 9.848 ... 1.356 1.36 1.487
```
We can also predict directly to `pandas` containing a timeseries of predictions at off-grid
locations
by passing a `numpy` array of target locations to the `X_t` argument of `.predict`:
```python
# Predict at two off-grid locations over December 2014 with 50 random, fixed context points
test_tasks = task_loader(pd.date_range("2014-12-01", "2014-12-31"), 50, seed_override=42)
pred = model.predict(test_tasks, X_t=np.array([[50, 280], [40, 250]]).T)
```
```python
>>> pred["air"]
mean std
time lat lon
2014-12-01 50 280 260.282562 5.743976
40 250 270.770111 4.271546
2014-12-02 50 280 255.572098 6.165956
40 250 277.588745 3.727404
2014-12-03 50 280 260.894196 6.02924
... ... ...
2014-12-29 40 250 266.594421 4.268469
2014-12-30 50 280 250.936386 7.048379
40 250 262.225464 4.662592
2014-12-31 50 280 249.397919 7.167142
40 250 257.955505 4.697775
[62 rows x 2 columns]
```
DeepSensor offers far more functionality than this simple example demonstrates.
For more information on the package's capabilities, check out the
[User Guide](https://alan-turing-institute.github.io/deepsensor/user-guide/index.html)
in the documentation.
## Citing DeepSensor
If you use DeepSensor in your research, please consider citing this repository.
You can generate a BiBTeX entry by clicking the 'Cite this repository' button
on the top right of this page.
## Funding
DeepSensor is funded by [The Alan Turing Institute](https://www.turing.ac.uk/) under the [Environmental monitoring: blending satellite and surface data](https://www.turing.ac.uk/research/research-projects/environmental-monitoring-blending-satellite-and-surface-data) and [Scivision](https://www.turing.ac.uk/research/research-projects/scivision) projects, led by PI [Dr Scott Hosking](https://www.turing.ac.uk/people/researchers/scott-hosking).
## Contributors
We appreciate all contributions to DeepSensor, big or small, code-related or not, and we thank all
contributors below for supporting open-source software and research.
For code-specific contributions, check out our graph of [code contributions](https://github.com/alan-turing-institute/deepsensor/graphs/contributors).
See our [contribution guidelines](https://github.com/alan-turing-institute/deepsensor/blob/main/CONTRIBUTING.md)
if you would like to join this list!
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/acocac"><img src="https://avatars.githubusercontent.com/u/13321552?v=4?s=100" width="100px;" alt="Alejandro ©"/><br /><sub><b>Alejandro ©</b></sub></a><br /><a href="#userTesting-acocac" title="User Testing">📓</a> <a href="#bug-acocac" title="Bug reports">🐛</a> <a href="#mentoring-acocac" title="Mentoring">🧑🏫</a> <a href="#ideas-acocac" title="Ideas, Planning, & Feedback">🤔</a> <a href="#research-acocac" title="Research">🔬</a> <a href="#code-acocac" title="Code">💻</a> <a href="#test-acocac" title="Tests">⚠️</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/annavaughan"><img src="https://avatars.githubusercontent.com/u/45528489?v=4?s=100" width="100px;" alt="Anna Vaughan"/><br /><sub><b>Anna Vaughan</b></sub></a><br /><a href="#research-annavaughan" title="Research">🔬</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://davidwilby.dev"><img src="https://avatars.githubusercontent.com/u/24752124?v=4?s=100" width="100px;" alt="David Wilby"/><br /><sub><b>David Wilby</b></sub></a><br /><a href="#doc-davidwilby" title="Documentation">📖</a> <a href="#test-davidwilby" title="Tests">⚠️</a> <a href="#maintenance-davidwilby" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://inconsistentrecords.co.uk"><img src="https://avatars.githubusercontent.com/u/731727?v=4?s=100" width="100px;" alt="Jim Circadian"/><br /><sub><b>Jim Circadian</b></sub></a><br /><a href="#ideas-JimCircadian" title="Ideas, Planning, & Feedback">🤔</a> <a href="#projectManagement-JimCircadian" title="Project Management">📆</a> <a href="#maintenance-JimCircadian" title="Maintenance">🚧</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jonas-scholz123"><img src="https://avatars.githubusercontent.com/u/37850411?v=4?s=100" width="100px;" alt="Jonas Scholz"/><br /><sub><b>Jonas Scholz</b></sub></a><br /><a href="#userTesting-jonas-scholz123" title="User Testing">📓</a> <a href="#research-jonas-scholz123" title="Research">🔬</a> <a href="#code-jonas-scholz123" title="Code">💻</a> <a href="#bug-jonas-scholz123" title="Bug reports">🐛</a> <a href="#ideas-jonas-scholz123" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://www.westerling.nu"><img src="https://avatars.githubusercontent.com/u/7298727?v=4?s=100" width="100px;" alt="Kalle Westerling"/><br /><sub><b>Kalle Westerling</b></sub></a><br /><a href="#doc-kallewesterling" title="Documentation">📖</a> <a href="#infra-kallewesterling" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#ideas-kallewesterling" title="Ideas, Planning, & Feedback">🤔</a> <a href="#projectManagement-kallewesterling" title="Project Management">📆</a> <a href="#promotion-kallewesterling" title="Promotion">📣</a> <a href="#question-kallewesterling" title="Answering Questions">💬</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://kenzaxtazi.github.io"><img src="https://avatars.githubusercontent.com/u/43008274?v=4?s=100" width="100px;" alt="Kenza Tazi"/><br /><sub><b>Kenza Tazi</b></sub></a><br /><a href="#ideas-kenzaxtazi" title="Ideas, Planning, & Feedback">🤔</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="http://magnusross.github.io/about"><img src="https://avatars.githubusercontent.com/u/51709759?v=4?s=100" width="100px;" alt="Magnus Ross"/><br /><sub><b>Magnus Ross</b></sub></a><br /><a href="#tutorial-magnusross" title="Tutorials">✅</a> <a href="#data-magnusross" title="Data">🔣</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://nilsleh.info/"><img src="https://avatars.githubusercontent.com/u/35272119?v=4?s=100" width="100px;" alt="Nils Lehmann"/><br /><sub><b>Nils Lehmann</b></sub></a><br /><a href="#ideas-nilsleh" title="Ideas, Planning, & Feedback">🤔</a> <a href="#userTesting-nilsleh" title="User Testing">📓</a> <a href="#bug-nilsleh" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/polpel"><img src="https://avatars.githubusercontent.com/u/56694450?v=4?s=100" width="100px;" alt="Paolo Pelucchi"/><br /><sub><b>Paolo Pelucchi</b></sub></a><br /><a href="#userTesting-polpel" title="User Testing">📓</a> <a href="#bug-polpel" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://rohitrathore.netlify.app/"><img src="https://avatars.githubusercontent.com/u/42641738?v=4?s=100" width="100px;" alt="Rohit Singh Rathaur"/><br /><sub><b>Rohit Singh Rathaur</b></sub></a><br /><a href="#code-RohitRathore1" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://scotthosking.com"><img src="https://avatars.githubusercontent.com/u/10783052?v=4?s=100" width="100px;" alt="Scott Hosking"/><br /><sub><b>Scott Hosking</b></sub></a><br /><a href="#fundingFinding-scotthosking" title="Funding Finding">🔍</a> <a href="#ideas-scotthosking" title="Ideas, Planning, & Feedback">🤔</a> <a href="#projectManagement-scotthosking" title="Project Management">📆</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.bas.ac.uk/profile/tomand"><img src="https://avatars.githubusercontent.com/u/26459412?v=4?s=100" width="100px;" alt="Tom Andersson"/><br /><sub><b>Tom Andersson</b></sub></a><br /><a href="#code-tom-andersson" title="Code">💻</a> <a href="#research-tom-andersson" title="Research">🔬</a> <a href="#maintenance-tom-andersson" title="Maintenance">🚧</a> <a href="#bug-tom-andersson" title="Bug reports">🐛</a> <a href="#test-tom-andersson" title="Tests">⚠️</a> <a href="#tutorial-tom-andersson" title="Tutorials">✅</a> <a href="#doc-tom-andersson" title="Documentation">📖</a> <a href="#review-tom-andersson" title="Reviewed Pull Requests">👀</a> <a href="#talk-tom-andersson" title="Talks">📢</a> <a href="#question-tom-andersson" title="Answering Questions">💬</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://wessel.ai"><img src="https://avatars.githubusercontent.com/u/1444448?v=4?s=100" width="100px;" alt="Wessel"/><br /><sub><b>Wessel</b></sub></a><br /><a href="#research-wesselb" title="Research">🔬</a> <a href="#code-wesselb" title="Code">💻</a> <a href="#ideas-wesselb" title="Ideas, Planning, & Feedback">🤔</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="http://patel-zeel.github.io"><img src="https://avatars.githubusercontent.com/u/59758528?v=4?s=100" width="100px;" alt="Zeel B Patel"/><br /><sub><b>Zeel B Patel</b></sub></a><br /><a href="#bug-patel-zeel" title="Bug reports">🐛</a> <a href="#code-patel-zeel" title="Code">💻</a> <a href="#userTesting-patel-zeel" title="User Testing">📓</a> <a href="#ideas-patel-zeel" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ots22"><img src="https://avatars.githubusercontent.com/u/5434836?v=4?s=100" width="100px;" alt="ots22"/><br /><sub><b>ots22</b></sub></a><br /><a href="#ideas-ots22" title="Ideas, Planning, & Feedback">🤔</a></td>
</tr>
</tbody>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
Raw data
{
"_id": null,
"home_page": "https://github.com/alan-turing-institute/deepsensor",
"name": "deepsensor",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": "Tom R. Andersson",
"author_email": "tomandersson3@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/86/e4/7db93f84851814d7f14ab2678bb16a7a85285ecf2aae64ee33e9c65a3c17/deepsensor-0.4.2.tar.gz",
"platform": "unix",
"description": "[//]: # ()\n<ul style=\"text-align: center;\">\n<img src=\"https://raw.githubusercontent.com/alan-turing-institute/deepsensor/main/figs/DeepSensorLogo2.png\" width=\"700\"/>\n</ul>\n\n<ul style=\"margin-top:0px;\">\n\n\n<p style=\"text-align: center; font-size: 15px\">A Python package and open-source project for modelling environmental\ndata with neural processes</p>\n\n-----------\n\n[](https://github.com/alan-turing-institute/deepsensor/releases)\n[](https://alan-turing-institute.github.io/deepsensor/)\n\n[](https://coveralls.io/github/alan-turing-institute/deepsensor?branch=main)\n[](https://github.com/psf/black)\n[](https://ai4environment.slack.com/archives/C05NQ76L87R)\n[](#contributors)\n[](https://github.com/alan-turing-institute/deepsensor/blob/main/LICENSE)\n\nDeepSensor streamlines the application of neural processes (NPs) to environmental sciences by\nproviding a simple interface for building, training, and evaluating NPs using `xarray` and `pandas`\ndata. Our developers and users form an open-source community whose vision is to accelerate the next\ngeneration of environmental ML research. The DeepSensor Python package facilitates this by\ndrastically reducing the time and effort required to apply NPs to environmental prediction tasks.\nThis allows DeepSensor users to focus on the science and rapidly iterate on ideas.\n\nDeepSensor is an experimental package, and we\nwelcome [contributions from the community](https://github.com/alan-turing-institute/deepsensor/blob/main/CONTRIBUTING.md).\nWe have an active Slack channel for code and research discussions; you can join by [signing up for the Turing Environment & Sustainability stakeholder community](https://forms.office.com/pages/responsepage.aspx?id=p_SVQ1XklU-Knx-672OE-ZmEJNLHTHVFkqQ97AaCfn9UMTZKT1IwTVhJRE82UjUzMVE2MThSOU5RMC4u). The form includes a question on signing up for the Slack team, where you can find DeepSensor's channel.\n\n\n\nWhy neural processes?\n-----------\nNPs are a highly flexible class of probabilistic models that offer unique opportunities to model\nsatellite observations, climate model output, and in-situ measurements.\nTheir key features are the ability to:\n\n- ingest multiple data streams of pointwise or gridded modalities\n- handle missing data and varying resolutions\n- predict at arbitrary target locations\n- quantify prediction uncertainty\n\nThese capabilities make NPs well suited to a range of\nspatio-temporal data fusion tasks such as downscaling, sensor placement, gap-filling, and forecasting.\n\nWhy DeepSensor?\n-----------\nThis package aims to faithfully match the flexibility of NPs with a simple and intuitive interface.\nUnder the hood, DeepSensor wraps around the\npowerful [neuralprocessess](https://github.com/wesselb/neuralprocesses) package for core modelling\nfunctionality, while allowing users to stay in the familiar [xarray](https://xarray.pydata.org)\nand [pandas](https://pandas.pydata.org) world from end-to-end.\nDeepSensor also provides convenient plotting tools and active learning functionality for finding\noptimal [sensor placements](https://doi.org/10.1017/eds.2023.22).\n\nDocumentation\n-----------\nWe have an extensive documentation page [here](https://alan-turing-institute.github.io/deepsensor/),\ncontaining steps for getting started, a user guide built from reproducible Jupyter notebooks,\nlearning resources, research ideas, community information, an API reference, and more!\n\nDeepSensor Gallery\n-----------\nFor real-world DeepSensor research demonstrators, check out the\n[DeepSensor Gallery](https://github.com/tom-andersson/deepsensor_gallery).\nConsider submitting a notebook showcasing your research!\n\nDeep learning library agnosticism\n-----------\nDeepSensor leverages the [backends](https://github.com/wesselb/lab) package to be compatible with\neither [PyTorch](https://pytorch.org/) or [TensorFlow](https://www.tensorflow.org/).\nSimply `import deepsensor.torch` or `import deepsensor.tensorflow` to choose between them!\n\nQuick start\n----------\n\nHere we will demonstrate a simple example of training a convolutional conditional neural process\n(ConvCNP) to spatially interpolate random grid cells of NCEP reanalysis air temperature data\nover the US. First, pip install the package. In this case we will use the PyTorch backend\n(note: follow the [PyTorch installation instructions](https://pytorch.org/) if you\nwant GPU support).\n\n```bash\npip install deepsensor\npip install torch\n```\n\nWe can go from imports to predictions with a trained model in less than 30 lines of code!\n\n```python\nimport deepsensor.torch\nfrom deepsensor.data import DataProcessor, TaskLoader\nfrom deepsensor.model import ConvNP\nfrom deepsensor.train import Trainer\n\nimport xarray as xr\nimport pandas as pd\nimport numpy as np\nfrom tqdm import tqdm\n\n# Load raw data\nds_raw = xr.tutorial.open_dataset(\"air_temperature\")\n\n# Normalise data\ndata_processor = DataProcessor(x1_name=\"lat\", x2_name=\"lon\")\nds = data_processor(ds_raw)\n\n# Set up task loader\ntask_loader = TaskLoader(context=ds, target=ds)\n\n# Set up ConvNP, which by default instantiates a ConvCNP with Gaussian marginals\nmodel = ConvNP(data_processor, task_loader)\n\n# Generate training tasks with up 100 grid cells as context and all grid cells\n# as targets\ntrain_tasks = []\nfor date in pd.date_range(\"2013-01-01\", \"2014-11-30\")[::7]:\n N_context = np.random.randint(0, 100)\n task = task_loader(date, context_sampling=N_context, target_sampling=\"all\")\n train_tasks.append(task)\n\n# Train model\ntrainer = Trainer(model, lr=5e-5)\nfor epoch in tqdm(range(10)):\n batch_losses = trainer(train_tasks)\n\n# Predict on new task with 50 context points and a dense grid of target points\ntest_task = task_loader(\"2014-12-31\", context_sampling=50)\npred = model.predict(test_task, X_t=ds_raw)\n```\n\nAfter training, the model can predict directly to `xarray` in your data's original units and\ncoordinate system:\n\n```python\n>>> pred[\"air\"]\n<xarray.Dataset>\nDimensions: (time: 1, lat: 25, lon: 53)\nCoordinates:\n * time (time) datetime64[ns] 2014-12-31\n * lat (lat) float32 75.0 72.5 70.0 67.5 65.0 ... 25.0 22.5 20.0 17.5 15.0\n * lon (lon) float32 200.0 202.5 205.0 207.5 ... 322.5 325.0 327.5 330.0\nData variables:\n mean (time, lat, lon) float32 267.7 267.2 266.4 ... 297.5 297.8 297.9\n std (time, lat, lon) float32 9.855 9.845 9.848 ... 1.356 1.36 1.487\n```\n\nWe can also predict directly to `pandas` containing a timeseries of predictions at off-grid\nlocations\nby passing a `numpy` array of target locations to the `X_t` argument of `.predict`:\n\n```python\n# Predict at two off-grid locations over December 2014 with 50 random, fixed context points\ntest_tasks = task_loader(pd.date_range(\"2014-12-01\", \"2014-12-31\"), 50, seed_override=42)\npred = model.predict(test_tasks, X_t=np.array([[50, 280], [40, 250]]).T)\n```\n\n```python\n>>> pred[\"air\"]\n mean std\ntime lat lon \n2014-12-01 50 280 260.282562 5.743976\n 40 250 270.770111 4.271546\n2014-12-02 50 280 255.572098 6.165956\n 40 250 277.588745 3.727404\n2014-12-03 50 280 260.894196 6.02924\n... ... ...\n2014-12-29 40 250 266.594421 4.268469\n2014-12-30 50 280 250.936386 7.048379\n 40 250 262.225464 4.662592\n2014-12-31 50 280 249.397919 7.167142\n 40 250 257.955505 4.697775\n\n[62 rows x 2 columns]\n```\n\nDeepSensor offers far more functionality than this simple example demonstrates.\nFor more information on the package's capabilities, check out the\n[User Guide](https://alan-turing-institute.github.io/deepsensor/user-guide/index.html)\nin the documentation.\n\n## Citing DeepSensor\n\nIf you use DeepSensor in your research, please consider citing this repository.\nYou can generate a BiBTeX entry by clicking the 'Cite this repository' button\non the top right of this page.\n\n## Funding\n\nDeepSensor is funded by [The Alan Turing Institute](https://www.turing.ac.uk/) under the [Environmental monitoring: blending satellite and surface data](https://www.turing.ac.uk/research/research-projects/environmental-monitoring-blending-satellite-and-surface-data) and [Scivision](https://www.turing.ac.uk/research/research-projects/scivision) projects, led by PI [Dr Scott Hosking](https://www.turing.ac.uk/people/researchers/scott-hosking).\n\n## Contributors\n\nWe appreciate all contributions to DeepSensor, big or small, code-related or not, and we thank all\ncontributors below for supporting open-source software and research.\nFor code-specific contributions, check out our graph of [code contributions](https://github.com/alan-turing-institute/deepsensor/graphs/contributors).\nSee our [contribution guidelines](https://github.com/alan-turing-institute/deepsensor/blob/main/CONTRIBUTING.md)\nif you would like to join this list!\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n <tbody>\n <tr>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/acocac\"><img src=\"https://avatars.githubusercontent.com/u/13321552?v=4?s=100\" width=\"100px;\" alt=\"Alejandro \u00a9\"/><br /><sub><b>Alejandro \u00a9</b></sub></a><br /><a href=\"#userTesting-acocac\" title=\"User Testing\">\ud83d\udcd3</a> <a href=\"#bug-acocac\" title=\"Bug reports\">\ud83d\udc1b</a> <a href=\"#mentoring-acocac\" title=\"Mentoring\">\ud83e\uddd1\u200d\ud83c\udfeb</a> <a href=\"#ideas-acocac\" title=\"Ideas, Planning, & Feedback\">\ud83e\udd14</a> <a href=\"#research-acocac\" title=\"Research\">\ud83d\udd2c</a> <a href=\"#code-acocac\" title=\"Code\">\ud83d\udcbb</a> <a href=\"#test-acocac\" title=\"Tests\">\u26a0\ufe0f</a></td>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/annavaughan\"><img src=\"https://avatars.githubusercontent.com/u/45528489?v=4?s=100\" width=\"100px;\" alt=\"Anna Vaughan\"/><br /><sub><b>Anna Vaughan</b></sub></a><br /><a href=\"#research-annavaughan\" title=\"Research\">\ud83d\udd2c</a></td>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"http://davidwilby.dev\"><img src=\"https://avatars.githubusercontent.com/u/24752124?v=4?s=100\" width=\"100px;\" alt=\"David Wilby\"/><br /><sub><b>David Wilby</b></sub></a><br /><a href=\"#doc-davidwilby\" title=\"Documentation\">\ud83d\udcd6</a> <a href=\"#test-davidwilby\" title=\"Tests\">\u26a0\ufe0f</a> <a href=\"#maintenance-davidwilby\" title=\"Maintenance\">\ud83d\udea7</a></td>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"http://inconsistentrecords.co.uk\"><img src=\"https://avatars.githubusercontent.com/u/731727?v=4?s=100\" width=\"100px;\" alt=\"Jim Circadian\"/><br /><sub><b>Jim Circadian</b></sub></a><br /><a href=\"#ideas-JimCircadian\" title=\"Ideas, Planning, & Feedback\">\ud83e\udd14</a> <a href=\"#projectManagement-JimCircadian\" title=\"Project Management\">\ud83d\udcc6</a> <a href=\"#maintenance-JimCircadian\" title=\"Maintenance\">\ud83d\udea7</a></td>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/jonas-scholz123\"><img src=\"https://avatars.githubusercontent.com/u/37850411?v=4?s=100\" width=\"100px;\" alt=\"Jonas Scholz\"/><br /><sub><b>Jonas Scholz</b></sub></a><br /><a href=\"#userTesting-jonas-scholz123\" title=\"User Testing\">\ud83d\udcd3</a> <a href=\"#research-jonas-scholz123\" title=\"Research\">\ud83d\udd2c</a> <a href=\"#code-jonas-scholz123\" title=\"Code\">\ud83d\udcbb</a> <a href=\"#bug-jonas-scholz123\" title=\"Bug reports\">\ud83d\udc1b</a> <a href=\"#ideas-jonas-scholz123\" title=\"Ideas, Planning, & Feedback\">\ud83e\udd14</a></td>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"http://www.westerling.nu\"><img src=\"https://avatars.githubusercontent.com/u/7298727?v=4?s=100\" width=\"100px;\" alt=\"Kalle Westerling\"/><br /><sub><b>Kalle Westerling</b></sub></a><br /><a href=\"#doc-kallewesterling\" title=\"Documentation\">\ud83d\udcd6</a> <a href=\"#infra-kallewesterling\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">\ud83d\ude87</a> <a href=\"#ideas-kallewesterling\" title=\"Ideas, Planning, & Feedback\">\ud83e\udd14</a> <a href=\"#projectManagement-kallewesterling\" title=\"Project Management\">\ud83d\udcc6</a> <a href=\"#promotion-kallewesterling\" title=\"Promotion\">\ud83d\udce3</a> <a href=\"#question-kallewesterling\" title=\"Answering Questions\">\ud83d\udcac</a></td>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"http://kenzaxtazi.github.io\"><img src=\"https://avatars.githubusercontent.com/u/43008274?v=4?s=100\" width=\"100px;\" alt=\"Kenza Tazi\"/><br /><sub><b>Kenza Tazi</b></sub></a><br /><a href=\"#ideas-kenzaxtazi\" title=\"Ideas, Planning, & Feedback\">\ud83e\udd14</a></td>\n </tr>\n <tr>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"http://magnusross.github.io/about\"><img src=\"https://avatars.githubusercontent.com/u/51709759?v=4?s=100\" width=\"100px;\" alt=\"Magnus Ross\"/><br /><sub><b>Magnus Ross</b></sub></a><br /><a href=\"#tutorial-magnusross\" title=\"Tutorials\">\u2705</a> <a href=\"#data-magnusross\" title=\"Data\">\ud83d\udd23</a></td>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://nilsleh.info/\"><img src=\"https://avatars.githubusercontent.com/u/35272119?v=4?s=100\" width=\"100px;\" alt=\"Nils Lehmann\"/><br /><sub><b>Nils Lehmann</b></sub></a><br /><a href=\"#ideas-nilsleh\" title=\"Ideas, Planning, & Feedback\">\ud83e\udd14</a> <a href=\"#userTesting-nilsleh\" title=\"User Testing\">\ud83d\udcd3</a> <a href=\"#bug-nilsleh\" title=\"Bug reports\">\ud83d\udc1b</a></td>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/polpel\"><img src=\"https://avatars.githubusercontent.com/u/56694450?v=4?s=100\" width=\"100px;\" alt=\"Paolo Pelucchi\"/><br /><sub><b>Paolo Pelucchi</b></sub></a><br /><a href=\"#userTesting-polpel\" title=\"User Testing\">\ud83d\udcd3</a> <a href=\"#bug-polpel\" title=\"Bug reports\">\ud83d\udc1b</a></td>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://rohitrathore.netlify.app/\"><img src=\"https://avatars.githubusercontent.com/u/42641738?v=4?s=100\" width=\"100px;\" alt=\"Rohit Singh Rathaur\"/><br /><sub><b>Rohit Singh Rathaur</b></sub></a><br /><a href=\"#code-RohitRathore1\" title=\"Code\">\ud83d\udcbb</a></td>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://scotthosking.com\"><img src=\"https://avatars.githubusercontent.com/u/10783052?v=4?s=100\" width=\"100px;\" alt=\"Scott Hosking\"/><br /><sub><b>Scott Hosking</b></sub></a><br /><a href=\"#fundingFinding-scotthosking\" title=\"Funding Finding\">\ud83d\udd0d</a> <a href=\"#ideas-scotthosking\" title=\"Ideas, Planning, & Feedback\">\ud83e\udd14</a> <a href=\"#projectManagement-scotthosking\" title=\"Project Management\">\ud83d\udcc6</a></td>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://www.bas.ac.uk/profile/tomand\"><img src=\"https://avatars.githubusercontent.com/u/26459412?v=4?s=100\" width=\"100px;\" alt=\"Tom Andersson\"/><br /><sub><b>Tom Andersson</b></sub></a><br /><a href=\"#code-tom-andersson\" title=\"Code\">\ud83d\udcbb</a> <a href=\"#research-tom-andersson\" title=\"Research\">\ud83d\udd2c</a> <a href=\"#maintenance-tom-andersson\" title=\"Maintenance\">\ud83d\udea7</a> <a href=\"#bug-tom-andersson\" title=\"Bug reports\">\ud83d\udc1b</a> <a href=\"#test-tom-andersson\" title=\"Tests\">\u26a0\ufe0f</a> <a href=\"#tutorial-tom-andersson\" title=\"Tutorials\">\u2705</a> <a href=\"#doc-tom-andersson\" title=\"Documentation\">\ud83d\udcd6</a> <a href=\"#review-tom-andersson\" title=\"Reviewed Pull Requests\">\ud83d\udc40</a> <a href=\"#talk-tom-andersson\" title=\"Talks\">\ud83d\udce2</a> <a href=\"#question-tom-andersson\" title=\"Answering Questions\">\ud83d\udcac</a></td>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"http://wessel.ai\"><img src=\"https://avatars.githubusercontent.com/u/1444448?v=4?s=100\" width=\"100px;\" alt=\"Wessel\"/><br /><sub><b>Wessel</b></sub></a><br /><a href=\"#research-wesselb\" title=\"Research\">\ud83d\udd2c</a> <a href=\"#code-wesselb\" title=\"Code\">\ud83d\udcbb</a> <a href=\"#ideas-wesselb\" title=\"Ideas, Planning, & Feedback\">\ud83e\udd14</a></td>\n </tr>\n <tr>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"http://patel-zeel.github.io\"><img src=\"https://avatars.githubusercontent.com/u/59758528?v=4?s=100\" width=\"100px;\" alt=\"Zeel B Patel\"/><br /><sub><b>Zeel B Patel</b></sub></a><br /><a href=\"#bug-patel-zeel\" title=\"Bug reports\">\ud83d\udc1b</a> <a href=\"#code-patel-zeel\" title=\"Code\">\ud83d\udcbb</a> <a href=\"#userTesting-patel-zeel\" title=\"User Testing\">\ud83d\udcd3</a> <a href=\"#ideas-patel-zeel\" title=\"Ideas, Planning, & Feedback\">\ud83e\udd14</a></td>\n <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/ots22\"><img src=\"https://avatars.githubusercontent.com/u/5434836?v=4?s=100\" width=\"100px;\" alt=\"ots22\"/><br /><sub><b>ots22</b></sub></a><br /><a href=\"#ideas-ots22\" title=\"Ideas, Planning, & Feedback\">\ud83e\udd14</a></td>\n </tr>\n </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python package for modelling xarray and pandas data with neural processes.",
"version": "0.4.2",
"project_urls": {
"Homepage": "https://github.com/alan-turing-institute/deepsensor"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1b29bcba724dbf1c90610085ee17726e28172163830c3fd42f4018245c39b0d9",
"md5": "61952a2540855b8751bfc5a2f98987d2",
"sha256": "afba867bf71abb8722125fb95af17fe4e6d64fda3092f79d0186d4d2b51a29d0"
},
"downloads": -1,
"filename": "deepsensor-0.4.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "61952a2540855b8751bfc5a2f98987d2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 101295,
"upload_time": "2024-10-20T22:11:21",
"upload_time_iso_8601": "2024-10-20T22:11:21.049310Z",
"url": "https://files.pythonhosted.org/packages/1b/29/bcba724dbf1c90610085ee17726e28172163830c3fd42f4018245c39b0d9/deepsensor-0.4.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "86e47db93f84851814d7f14ab2678bb16a7a85285ecf2aae64ee33e9c65a3c17",
"md5": "4342137a7f50a97148821d7ca9411b87",
"sha256": "94e497ff57c64b7a05b6282cda2577ffe0acfde64d79469dd9a5051aeb321639"
},
"downloads": -1,
"filename": "deepsensor-0.4.2.tar.gz",
"has_sig": false,
"md5_digest": "4342137a7f50a97148821d7ca9411b87",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 94920,
"upload_time": "2024-10-20T22:11:22",
"upload_time_iso_8601": "2024-10-20T22:11:22.966464Z",
"url": "https://files.pythonhosted.org/packages/86/e4/7db93f84851814d7f14ab2678bb16a7a85285ecf2aae64ee33e9c65a3c17/deepsensor-0.4.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-20 22:11:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "alan-turing-institute",
"github_project": "deepsensor",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "deepsensor"
}