Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add xcube tutorial #26

Merged
merged 3 commits into from
May 17, 2024
Merged

Conversation

konstntokas
Copy link
Contributor

@konstntokas konstntokas commented May 17, 2024

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:

  • add colab batch
  • add 'level 9 xcube' image

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

@konstntokas konstntokas marked this pull request as draft May 17, 2024 09:16
@Sonicious
Copy link

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
Copy link
Contributor Author

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?

Copy link
Member

@davemlz davemlz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved ;)

I will add the figure soon. The colab badge is added automatically.

@davemlz davemlz marked this pull request as ready for review May 17, 2024 19:48
@davemlz
Copy link
Member

davemlz commented May 17, 2024

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

@davemlz davemlz merged commit 131c556 into awesome-spectral-indices:main May 17, 2024
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants