diff --git a/notebooks/tutorial/HimawariAllBands.ipynb b/notebooks/tutorial/HimawariAllBands.ipynb new file mode 100644 index 00000000..0b5f3eff --- /dev/null +++ b/notebooks/tutorial/HimawariAllBands.ipynb @@ -0,0 +1,924 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "id": "0d2396c4-4c8c-4488-88a9-793c0f3c38e9", + "metadata": {}, + "outputs": [], + "source": [ + "import pyearthtools.data\n", + "import pyearthtools.pipeline\n", + "import warnings\n", + "import numpy as np\n", + "import site_archive_nci\n", + "import xarray as xr\n", + "\n", + "import pyearthtools.pipeline.operations.xarray.normalisation" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "id": "fbb2c4f3-204c-4252-b0aa-c473be399f95", + "metadata": {}, + "outputs": [], + "source": [ + "sat_accessor = pyearthtools.data.archive.HimawariChannels(bands=['OBS_B01', 'OBS_B02'])" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "id": "a445b7a3-e1df-4d29-8413-67e2889d269e", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
<xarray.Dataset> Size: 6GB\n", + "Dimensions: (time: 6, y: 11000, x: 11000)\n", + "Coordinates:\n", + " * time (time) datetime64[ns] 48B 2020-10-31T06:00:...\n", + " * x (x) float64 88kB -5.5e+06 ... 5.5e+06\n", + " * y (y) float64 88kB 5.5e+06 ... -5.5e+06\n", + "Data variables:\n", + " channel_0002_scaled_radiance (time, y, x) float32 3GB dask.array<chunksize=(1, 3040, 11000), meta=np.ndarray>\n", + " geostationary (time) float32 24B 9.969e+36 ... 9.969e+36\n", + " scan_line_time (time, y) datetime64[ns] 528kB dask.array<chunksize=(1, 11000), meta=np.ndarray>\n", + " channel_0001_scaled_radiance (time, y, x) float32 3GB dask.array<chunksize=(1, 3040, 11000), meta=np.ndarray>\n", + "Attributes: (12/53)\n", + " Conventions: CF-1.6\n", + " Metadata_Conventions: Unidata Dataset Discovery v1.0\n", + " acknowledgment: See disclaimer\n", + " cdm_data_type: grid\n", + " comment: AGLS observations geometry product\n", + " contributor_name: Commonwealth of Australia, Bureau of Met...\n", + " ... ...\n", + " platform: Himawari-8\n", + " platform_launch_date: 20141007T051600Z\n", + " wmo_platform_name: Himawari-8\n", + " wmo_satellite_number: 173\n", + " NCO: netCDF Operators version 4.7.7 (Homepage...\n", + " product_version: 1.0