opendatacube / datacube-notebooks Goto Github PK
View Code? Open in Web Editor NEWExtra documentation about using ODC with Jupyter Notebooks
License: Apache License 2.0
Extra documentation about using ODC with Jupyter Notebooks
License: Apache License 2.0
Hi,
I tried to reproduce your workflow for different remote sensing dataset since I cannot import the datacube API successfully. I don't understand this function
def _flatten_shallow(arr):
return arr.reshape(arr.shape[0] * arr.shape[1])
Could it be possible for the author to explain the reshape array function? shape[0] for time dimension?
shape[1] for the NDVI values ?
Thanks!
Problem:
I would like to run the notebooks to familiarize with the ODC library, but without the necessary datasets the examples are not very useful.
Solution:
Please provide a small how-to with sources for downloading the data and creating the necessary .conf and .yaml file for what is needed in the notebooks.
###Objective
Running notebook 'SatSummit_Samoa_Landsat_clouds' from opendatacube/datacube_notebooks here. It already contains utils folder with necessary data_cube_utilties.
###Expected
from utils.data_cube_utilities.dc_rgb import rgb
should work
###Observed
ModuleNotFoundError Traceback (most recent call last)
/tmp/ipykernel_5859/1040841299.py in
----> 1 from utils.data_cube_utilities.dc_rgb import rgb
~/hostspace/datacube-notebooks/Cloud Analysis/../utils/data_cube_utilities/dc_rgb.py in
3 import numpy as np
4
----> 5 from .plotter_utils import figure_ratio, xarray_set_axes_labels, retrieve_or_create_fig_ax
6
7 # Change the bands (RGB) here if you want other false color combinations
ModuleNotFoundError: No module named 'utils.data_cube_utilities.plotter_utils'
###Environemnt
Open Data Cube core, version 1.8.6, Ubuntu 20.04.3 LTS, gdal 3.4.0
_n64_to_datetime needs Python datetime module imported.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.