awesome-spectral-indices / spyndex

Awesome Spectral Indices in Python.
https://spyndex.readthedocs.io/
MIT License
191 stars 22 forks source link

Add xcube tutorial #26

Closed konstntokas closed 6 months ago

konstntokas commented 6 months ago

I added the xcube.ipynb to the tutorials which shows an example of using xcube to lazily load Sentinel-2 data from SentinelHub and calculate the spectral indices on the fly using spyndex.

There are few things to add:

@sonicious Can you help me with these two remaining ToDos? Thanks

Sonicious commented 6 months ago

The colab is actually a link. If you check the raw file of the planetary computing, you see it properly:

{
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "[![colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/davemlz/spyndex/blob/main/docs/tutorials/pc.ipynb)\n",
    "![level7](https://raw.githubusercontent.com/davemlz/spyndex/main/docs/_static/level8.png)"
   ]
  }

The graphics were made by @davemlz I guess he has the prototypes to create a new one for you.

konstntokas commented 6 months ago

The colab is actually a link. If you check the raw file of the planetary computing, you see it properly:

{
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "[![colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/davemlz/spyndex/blob/main/docs/tutorials/pc.ipynb)\n",
    "![level7](https://raw.githubusercontent.com/davemlz/spyndex/main/docs/_static/level8.png)"
   ]
  }

The graphics were made by @davemlz I guess he has the prototypes to create a new one for you.

The I guess @davemlz also needs to add the xcube.ipynb to https://colab.research.google.com/github/davemlz/spyndex/blob/main/docs/tutorials, right?

davemlz commented 6 months ago

Earth Engine test failed. But that's ok. It's because of the auth token. I have it in main here. I'm merging ;)