2023-06-05 21:24:44 -07:00
|
|
|
{
|
|
|
|
"cells": [
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 1,
|
|
|
|
"id": "8784196f",
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
|
|
|
"import datacube"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 2,
|
|
|
|
"id": "3c0adfbd",
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
|
|
|
"dc = datacube.Datacube(config='/home/user/.config/datacube/datacube.conf')"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 3,
|
|
|
|
"id": "a0118381",
|
|
|
|
"metadata": {},
|
2023-06-06 16:34:46 -07:00
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "stdout",
|
|
|
|
"output_type": "stream",
|
|
|
|
"text": [
|
|
|
|
"Found 1 datasets\n"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2023-06-05 21:24:44 -07:00
|
|
|
"source": [
|
2023-06-06 16:34:46 -07:00
|
|
|
"datasets = dc.find_datasets(product=\"esa_worldcover_2021\")\n",
|
|
|
|
"\n",
|
|
|
|
"print(f\"Found {len(datasets)} datasets\")\n",
|
|
|
|
"\n",
|
|
|
|
"# Load the first dataset\n",
|
|
|
|
"ds = dc.load(datasets=datasets[0:1])\n",
|
|
|
|
"\n",
|
|
|
|
"#ds = dc.load(product=\"esa_worldcover_2021\")"
|
2023-06-05 21:24:44 -07:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 4,
|
|
|
|
"id": "7921c073",
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "stdout",
|
|
|
|
"output_type": "stream",
|
|
|
|
"text": [
|
|
|
|
"<xarray.Dataset>\n",
|
|
|
|
"Dimensions: (time: 1, latitude: 12874, longitude: 8912)\n",
|
|
|
|
"Coordinates:\n",
|
|
|
|
" * time (time) datetime64[ns] 2021-07-02\n",
|
|
|
|
" * latitude (latitude) float64 43.17 43.17 43.17 ... 42.1 42.1 42.1\n",
|
|
|
|
" * longitude (longitude) float64 20.22 20.22 20.22 ... 20.96 20.96 20.96\n",
|
|
|
|
" spatial_ref int32 4326\n",
|
|
|
|
"Data variables:\n",
|
|
|
|
" classification (time, latitude, longitude) uint8 0 0 0 0 0 0 ... 0 0 0 0 0\n",
|
|
|
|
"Attributes:\n",
|
|
|
|
" crs: EPSG:4326\n",
|
|
|
|
" grid_mapping: spatial_ref\n"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": [
|
|
|
|
"print(ds)"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-06-06 16:34:46 -07:00
|
|
|
"execution_count": 5,
|
2023-06-05 21:24:44 -07:00
|
|
|
"id": "68ff4906",
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"data": {
|
|
|
|
"text/plain": [
|
2023-06-06 16:34:46 -07:00
|
|
|
"<matplotlib.collections.QuadMesh at 0x7f75d4597eb0>"
|
2023-06-05 21:24:44 -07:00
|
|
|
]
|
|
|
|
},
|
2023-06-06 16:34:46 -07:00
|
|
|
"execution_count": 5,
|
2023-06-05 21:24:44 -07:00
|
|
|
"metadata": {},
|
|
|
|
"output_type": "execute_result"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"data": {
|
2023-06-06 16:34:46 -07:00
|
|
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAArEAAAHxCAYAAAB6auTcAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjUuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/YYfK9AAAACXBIWXM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tA25n9fM1eNf5u1pQOl9AE7D7D8fhuz9nd8SuluIr/qMJz5ZOiQYhvl9UEA58zfccI5LWWtsMIK42BFYleYEq7BbOVyD/wxgDNTSk9OKd1y/u9+ydinNOf8LDZYyn9evN0vArgHZrG8R8S5P8DMDf3olNI2zOIXP0DhBnNl6aUAHpZz/pjMeG7zNsze0+Pnrl91r9F5jOD7ALx4nu5bMBtwZdyrpqxp+G0Aj5yrtDsA/BiAN1PMbUrpBzCL63xYhIwodXtSSukOOeebMFvABAD/g9kitkemlL4hpXSLeV0eklI6Ned8CLMQkl9IKZ04vz8Pnl/7OwC+Lc22RLoVZvf173POnwiY80YAz0kpnTqPk3wRs3N3Sumb5vfgi5ipc+pWWU6davDbAL4upfTYlNLxKaVdKaXz5nn+CoCfTindcV7eKWm28l/FvO3QVla3mv+mc/dIKd02zbakehJmi5heJbJ4MmYLE6Uy/JsAnp5Suuf8fl0M4LVOndz083puw2yBHT1zdY/euTL+ZgA/llLakVLaD+CbMfOEUH68rifM80tKdmTbxfP2dHfMQjbItndg9vyeM8+TvCz/x6nrCiussEzkCawuW/1b/cs5A7PB6CrMCMD3Q1/V/QyWfmE1M4CvA/AR9vsszBYJ/T/MXMv/B8B5He2989y+GzEjN/TvicKmD2Omor0
|
2023-06-05 21:24:44 -07:00
|
|
|
"text/plain": [
|
2023-06-06 16:34:46 -07:00
|
|
|
"<Figure size 864x576 with 2 Axes>"
|
2023-06-05 21:24:44 -07:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"metadata": {
|
|
|
|
"needs_background": "light"
|
|
|
|
},
|
|
|
|
"output_type": "display_data"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": [
|
2023-06-06 16:34:46 -07:00
|
|
|
"ds.classification.plot(size=8)"
|
2023-06-05 21:24:44 -07:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-06-06 16:34:46 -07:00
|
|
|
"execution_count": 8,
|
2023-06-05 21:24:44 -07:00
|
|
|
"id": "68cc04b9",
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
2023-06-06 16:34:46 -07:00
|
|
|
"import numpy as np\n",
|
|
|
|
"from matplotlib import colors as mcolours"
|
2023-06-05 21:24:44 -07:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-06-06 16:34:46 -07:00
|
|
|
"execution_count": 10,
|
|
|
|
"id": "26fd1658",
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
|
|
|
"cmap = mcolours.ListedColormap(\n",
|
|
|
|
" [\n",
|
|
|
|
" np.array([0, 0, 0]) / 255,\n",
|
|
|
|
" np.array([0, 100, 0]) / 255,\n",
|
|
|
|
" np.array([255, 187, 34]) / 255,\n",
|
|
|
|
" np.array([255, 255, 76]) / 255,\n",
|
|
|
|
" np.array([240, 150, 255]) / 255,\n",
|
|
|
|
" np.array([250, 0, 0]) / 255,\n",
|
|
|
|
" np.array([180, 180, 180]) / 255,\n",
|
|
|
|
" np.array([240, 240, 240]) / 255,\n",
|
|
|
|
" np.array([0, 100, 200]) / 255,\n",
|
|
|
|
" np.array([0, 150, 160]) / 255,\n",
|
|
|
|
" np.array([0, 207, 117]) / 255,\n",
|
|
|
|
" np.array([250, 230, 160]) / 255,\n",
|
|
|
|
" ]\n",
|
|
|
|
")\n",
|
|
|
|
"\n",
|
|
|
|
"bounds = [-5, 5, 15, 25, 35, 45, 55, 65, 75, 85, 92, 98, 105]\n",
|
|
|
|
"norm = mcolours.BoundaryNorm(np.array(bounds), cmap.N)\n",
|
|
|
|
"cblabels = [\n",
|
|
|
|
" \"no data\",\n",
|
|
|
|
" \"tree cover\",\n",
|
|
|
|
" \"shrubland\",\n",
|
|
|
|
" \"grassland\",\n",
|
|
|
|
" \"cropland\",\n",
|
|
|
|
" \"built up\",\n",
|
|
|
|
" \"bare/sparse vegetation\",\n",
|
|
|
|
" \"snow and ice\",\n",
|
|
|
|
" \"permanent water bodies\",\n",
|
|
|
|
" \"herbaceous wetland\",\n",
|
|
|
|
" \"mangroves\",\n",
|
|
|
|
" \"moss and lichen\",\n",
|
|
|
|
"]"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 15,
|
|
|
|
"id": "bc88d065",
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"data": {
|
|
|
|
"text/html": [
|
|
|
|
"<div>\n",
|
|
|
|
"<style scoped>\n",
|
|
|
|
" .dataframe tbody tr th:only-of-type {\n",
|
|
|
|
" vertical-align: middle;\n",
|
|
|
|
" }\n",
|
|
|
|
"\n",
|
|
|
|
" .dataframe tbody tr th {\n",
|
|
|
|
" vertical-align: top;\n",
|
|
|
|
" }\n",
|
|
|
|
"\n",
|
|
|
|
" .dataframe thead th {\n",
|
|
|
|
" text-align: right;\n",
|
|
|
|
" }\n",
|
|
|
|
"</style>\n",
|
|
|
|
"<table border=\"1\" class=\"dataframe\">\n",
|
|
|
|
" <thead>\n",
|
|
|
|
" <tr style=\"text-align: right;\">\n",
|
|
|
|
" <th></th>\n",
|
|
|
|
" <th></th>\n",
|
|
|
|
" <th>name</th>\n",
|
|
|
|
" <th>dtype</th>\n",
|
|
|
|
" <th>units</th>\n",
|
|
|
|
" <th>nodata</th>\n",
|
|
|
|
" <th>flags_definition</th>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <th>product</th>\n",
|
|
|
|
" <th>measurement</th>\n",
|
|
|
|
" <th></th>\n",
|
|
|
|
" <th></th>\n",
|
|
|
|
" <th></th>\n",
|
|
|
|
" <th></th>\n",
|
|
|
|
" <th></th>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
" </thead>\n",
|
|
|
|
" <tbody>\n",
|
|
|
|
" <tr>\n",
|
|
|
|
" <th>esa_worldcover_2021</th>\n",
|
|
|
|
" <th>classification</th>\n",
|
|
|
|
" <td>classification</td>\n",
|
|
|
|
" <td>uint8</td>\n",
|
|
|
|
" <td>1</td>\n",
|
|
|
|
" <td>0</td>\n",
|
|
|
|
" <td>{'data': {'bits': [0, 1, 2, 3, 4, 5, 6, 7], 'v...</td>\n",
|
|
|
|
" </tr>\n",
|
|
|
|
" </tbody>\n",
|
|
|
|
"</table>\n",
|
|
|
|
"</div>"
|
|
|
|
],
|
|
|
|
"text/plain": [
|
|
|
|
" name dtype units nodata \\\n",
|
|
|
|
"product measurement \n",
|
|
|
|
"esa_worldcover_2021 classification classification uint8 1 0 \n",
|
|
|
|
"\n",
|
|
|
|
" flags_definition \n",
|
|
|
|
"product measurement \n",
|
|
|
|
"esa_worldcover_2021 classification {'data': {'bits': [0, 1, 2, 3, 4, 5, 6, 7], 'v... "
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"execution_count": 15,
|
|
|
|
"metadata": {},
|
|
|
|
"output_type": "execute_result"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": [
|
|
|
|
"measure_list = dc.list_measurements()\n",
|
|
|
|
"measure_list"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 12,
|
|
|
|
"id": "3c8354d8",
|
|
|
|
"metadata": {
|
|
|
|
"collapsed": true
|
|
|
|
},
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"ename": "AttributeError",
|
|
|
|
"evalue": "'_Dataset_PlotMethods' object has no attribute 'imshow'",
|
|
|
|
"output_type": "error",
|
|
|
|
"traceback": [
|
|
|
|
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
|
|
|
|
"\u001b[0;31mAttributeError\u001b[0m Traceback (most recent call last)",
|
|
|
|
"\u001b[0;32m/tmp/ipykernel_31877/3468690862.py\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mim\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mds\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mplot\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mimshow\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcmap\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mcmap\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mnorm\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mnorm\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0madd_colorbar\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mlegend\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mplot_kwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
|
|
|
|
"\u001b[0;31mAttributeError\u001b[0m: '_Dataset_PlotMethods' object has no attribute 'imshow'"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": [
|
|
|
|
"#im = ds.plot.imshow(cmap=cmap, norm=norm, add_colorbar=legend, **plot_kwargs)\n",
|
|
|
|
"## lulc_plot\n",
|
|
|
|
"## supposedly, that function comes from dea-africa / data_cube_utilities repo"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 11,
|
|
|
|
"id": "d0737b2c",
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "stdout",
|
|
|
|
"output_type": "stream",
|
|
|
|
"text": [
|
|
|
|
"Variable Type Data/Info\n",
|
|
|
|
"--------------------------------------\n",
|
|
|
|
"bounds list n=13\n",
|
|
|
|
"cblabels list n=12\n",
|
|
|
|
"cmap ListedColormap <matplotlib.colors.Listed<...>object at 0x7f75dc25ead0>\n",
|
|
|
|
"datacube module <module 'datacube' from '<...>es/datacube/__init__.py'>\n",
|
|
|
|
"datasets list n=1\n",
|
|
|
|
"dc Datacube Datacube<index=Index<db=P<...>er:***@:5432/datacube)>>>\n",
|
|
|
|
"ds Dataset <xarray.Dataset>\\nDimensi<...>rid_mapping: spatial_ref\n",
|
|
|
|
"mcolours module <module 'matplotlib.color<...>es/matplotlib/colors.py'>\n",
|
|
|
|
"norm BoundaryNorm <matplotlib.colors.Bounda<...>object at 0x7f75dc25eb60>\n",
|
|
|
|
"np module <module 'numpy' from '/us<...>kages/numpy/__init__.py'>\n"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": [
|
|
|
|
"%whos"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 16,
|
2023-06-05 21:24:44 -07:00
|
|
|
"id": "8902b8fb",
|
|
|
|
"metadata": {},
|
2023-06-06 16:34:46 -07:00
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "stdout",
|
|
|
|
"output_type": "stream",
|
|
|
|
"text": [
|
|
|
|
"1.8.9\n"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": [
|
|
|
|
"print(datacube.__version__)"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": null,
|
|
|
|
"id": "ca6987c9",
|
|
|
|
"metadata": {},
|
2023-06-05 21:24:44 -07:00
|
|
|
"outputs": [],
|
|
|
|
"source": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"metadata": {
|
|
|
|
"kernelspec": {
|
|
|
|
"display_name": "Python 3 (ipykernel)",
|
|
|
|
"language": "python",
|
|
|
|
"name": "python3"
|
|
|
|
},
|
|
|
|
"language_info": {
|
|
|
|
"codemirror_mode": {
|
|
|
|
"name": "ipython",
|
|
|
|
"version": 3
|
|
|
|
},
|
|
|
|
"file_extension": ".py",
|
|
|
|
"mimetype": "text/x-python",
|
|
|
|
"name": "python",
|
|
|
|
"nbconvert_exporter": "python",
|
|
|
|
"pygments_lexer": "ipython3",
|
|
|
|
"version": "3.10.6"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"nbformat": 4,
|
|
|
|
"nbformat_minor": 5
|
|
|
|
}
|