{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import pyvista as pv\n", "import numpy as np\n", "import xarray as xr\n", "\n", "from ipygany import PolyMesh, Scene, IsoColor, WarpByScalar, ColorBar, colormaps\n", "from ipywidgets import VBox, FloatSlider, FileUpload, Dropdown, jslink, FloatRangeSlider, AppLayout\n" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
<xarray.Dataset>\n", "Dimensions: (lat: 180, lon: 360)\n", "Coordinates:\n", " * lon (lon) float64 0.0 1.0 2.0 3.0 4.0 ... 355.0 356.0 357.0 358.0 359.0\n", " * lat (lat) float64 -89.5 -88.5 -87.5 -86.5 -85.5 ... 86.5 87.5 88.5 89.5\n", "Data variables:\n", " TOPO (lat, lon) float32 544.3 529.1 505.7 ... -1.231e+03 -1.254e+03\n", "Attributes:\n", " CDI: Climate Data Interface version 1.9.9 (https://mpimet.mpg.de...\n", " Conventions: COARDS, CF-1.5\n", " GMT_version: 5.4.5 [64-bit]\n", " history: Thu Feb 04 16:14:31 2021: cdo remapbil,r360x180 paleobathy-...\n", " NCO: netCDF Operators version 4.9.7 (Homepage = http://nco.sf.ne...\n", " CDO: Climate Data Operators version 1.9.9 (https://mpimet.mpg.de...
array([ 0., 1., 2., ..., 357., 358., 359.])
array([-89.5, -88.5, -87.5, -86.5, -85.5, -84.5, -83.5, -82.5, -81.5, -80.5,\n", " -79.5, -78.5, -77.5, -76.5, -75.5, -74.5, -73.5, -72.5, -71.5, -70.5,\n", " -69.5, -68.5, -67.5, -66.5, -65.5, -64.5, -63.5, -62.5, -61.5, -60.5,\n", " -59.5, -58.5, -57.5, -56.5, -55.5, -54.5, -53.5, -52.5, -51.5, -50.5,\n", " -49.5, -48.5, -47.5, -46.5, -45.5, -44.5, -43.5, -42.5, -41.5, -40.5,\n", " -39.5, -38.5, -37.5, -36.5, -35.5, -34.5, -33.5, -32.5, -31.5, -30.5,\n", " -29.5, -28.5, -27.5, -26.5, -25.5, -24.5, -23.5, -22.5, -21.5, -20.5,\n", " -19.5, -18.5, -17.5, -16.5, -15.5, -14.5, -13.5, -12.5, -11.5, -10.5,\n", " -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,\n", " 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, 9.5,\n", " 10.5, 11.5, 12.5, 13.5, 14.5, 15.5, 16.5, 17.5, 18.5, 19.5,\n", " 20.5, 21.5, 22.5, 23.5, 24.5, 25.5, 26.5, 27.5, 28.5, 29.5,\n", " 30.5, 31.5, 32.5, 33.5, 34.5, 35.5, 36.5, 37.5, 38.5, 39.5,\n", " 40.5, 41.5, 42.5, 43.5, 44.5, 45.5, 46.5, 47.5, 48.5, 49.5,\n", " 50.5, 51.5, 52.5, 53.5, 54.5, 55.5, 56.5, 57.5, 58.5, 59.5,\n", " 60.5, 61.5, 62.5, 63.5, 64.5, 65.5, 66.5, 67.5, 68.5, 69.5,\n", " 70.5, 71.5, 72.5, 73.5, 74.5, 75.5, 76.5, 77.5, 78.5, 79.5,\n", " 80.5, 81.5, 82.5, 83.5, 84.5, 85.5, 86.5, 87.5, 88.5, 89.5])
array([[ 544.33844, 529.1336 , 505.7425 , ..., 529.88007, 544.7237 ,\n", " 548.46295],\n", " [ 646.48083, 628.5785 , 610.77954, ..., 670.039 , 662.1315 ,\n", " 654.1082 ],\n", " [ 880.4769 , 906.01886, 911.0824 , ..., 885.28925, 891.17224,\n", " 889.92816],\n", " ...,\n", " [-4719.797 , -4718.3755 , -4717.9883 , ..., -4719.708 , -4719.596 ,\n", " -4719.3984 ],\n", " [-4180.9995 , -4132.8135 , -3559.212 , ..., -4186.6777 , -4168.1567 ,\n", " -4168.214 ],\n", " [-1267.2255 , -1256.2627 , -1238.0942 , ..., -1215.5485 , -1230.6118 ,\n", " -1253.6396 ]], dtype=float32)