Created
August 10, 2021 17:24
-
-
Save andersy005/4c1b432dd0a030cee28b9e9c910d70dc to your computer and use it in GitHub Desktop.
Accessing data on NCAR Stratus Object Storage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "cells": [ | |
| { | |
| "cell_type": "code", | |
| "execution_count": 1, | |
| "id": "71aade19-5a47-4fe2-9352-113211c62077", | |
| "metadata": {}, | |
| "outputs": [], | |
| "source": [ | |
| "import fsspec\n", | |
| "import xarray as xr" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 4, | |
| "id": "34b3fef9-c40c-43aa-8448-7b3a3dcb7139", | |
| "metadata": {}, | |
| "outputs": [], | |
| "source": [ | |
| "fs = fsspec.filesystem('s3', anon=True, client_kwargs={'endpoint_url': 'https://stratus.ucar.edu'})" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 5, | |
| "id": "3ee0dd40-a3be-4f5a-98d8-ebacb9f028df", | |
| "metadata": {}, | |
| "outputs": [ | |
| { | |
| "data": { | |
| "text/plain": [ | |
| "['ncar-cesm-lens/atm',\n", | |
| " 'ncar-cesm-lens/ice_nh',\n", | |
| " 'ncar-cesm-lens/ice_sh',\n", | |
| " 'ncar-cesm-lens/lnd',\n", | |
| " 'ncar-cesm-lens/ocn']" | |
| ] | |
| }, | |
| "execution_count": 5, | |
| "metadata": {}, | |
| "output_type": "execute_result" | |
| } | |
| ], | |
| "source": [ | |
| "fs.ls('ncar-cesm-lens')" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 6, | |
| "id": "0e467685-6da2-4fbc-8b8b-99ac68c92cbd", | |
| "metadata": {}, | |
| "outputs": [ | |
| { | |
| "data": { | |
| "text/plain": [ | |
| "['ncar-cesm-lens/atm/monthly/cesmLE-20C-FLNS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-FLNSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-FLUT.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-FSNS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-FSNSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-FSNTOA.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-ICEFRAC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-LHFLX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-PRECC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-PRECL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-PRECSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-PRECSL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-PSL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-Q.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-SHFLX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-T.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-TMQ.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-TREFHT.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-TREFHTMN.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-TREFHTMX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-TS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-U.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-V.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C-Z3.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-FLNS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-FLNSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-FLUT.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-FSNS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-FSNSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-FSNTOA.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-ICEFRAC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-LHFLX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-PRECC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-PRECL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-PRECSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-PRECSL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-PSL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-Q.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-SHFLX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-T.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-TMQ.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-TREFHT.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-TREFHTMN.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-TREFHTMX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-TS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-U.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-V.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-20C_185001_191912-Z3.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-FLNS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-FLNSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-FLUT.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-FSNS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-FSNSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-FSNTOA.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-ICEFRAC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-LHFLX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-PRECC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-PRECL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-PRECSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-PRECSL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-PS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-PSL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-Q.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-SHFLX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-T.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-TMQ.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-TREFHT.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-TREFHTMN.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-TREFHTMX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-TS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-U.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-V.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL-Z3.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-FLNS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-FLNSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-FLUT.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-FSNS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-FSNSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-FSNTOA.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-ICEFRAC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-LHFLX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-PRECC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-PRECL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-PRECSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-PRECSL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-PSL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-Q.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-SHFLX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-T.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-TMQ.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-TREFHT.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-TREFHTMN.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-TREFHTMX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-TS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-U.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-V.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-CTRL_AMIP-Z3.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-FLNS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-FLNSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-FLUT.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-FSNS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-FSNSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-FSNTOA.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-ICEFRAC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-LHFLX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-PRECC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-PRECL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-PRECSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-PRECSL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-PSL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-Q.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-SHFLX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-T.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-TMQ.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-TREFHT.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-TREFHTMN.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-TREFHTMX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-TS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-U.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-HIST-Z3.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-FLNS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-FLNSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-FLUT.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-FSNS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-FSNSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-FSNTOA.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-ICEFRAC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-LHFLX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-PRECC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-PRECL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-PRECSC.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-PRECSL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-PS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-PSL.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-Q.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-SHFLX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-T.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-TMQ.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-TREFHT.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-TREFHTMN.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-TREFHTMX.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-TS.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-U.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-V.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-RCP85-Z3.zarr',\n", | |
| " 'ncar-cesm-lens/atm/monthly/cesmLE-TEST.zarr']" | |
| ] | |
| }, | |
| "execution_count": 6, | |
| "metadata": {}, | |
| "output_type": "execute_result" | |
| } | |
| ], | |
| "source": [ | |
| "fs.ls('ncar-cesm-lens/atm/monthly')" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 7, | |
| "id": "0734054e-a5f3-491d-8d14-9fc99a6bfa38", | |
| "metadata": {}, | |
| "outputs": [], | |
| "source": [ | |
| "mapper = fs.get_mapper('ncar-cesm-lens/atm/monthly/cesmLE-RCP85-FLNS.zarr')" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 8, | |
| "id": "3fbc55a9-f00a-4a7b-914a-166acaa6dd23", | |
| "metadata": {}, | |
| "outputs": [ | |
| { | |
| "data": { | |
| "text/html": [ | |
| "<div><svg style=\"position: absolute; width: 0; height: 0; overflow: hidden\">\n", | |
| "<defs>\n", | |
| "<symbol id=\"icon-database\" viewBox=\"0 0 32 32\">\n", | |
| "<path d=\"M16 0c-8.837 0-16 2.239-16 5v4c0 2.761 7.163 5 16 5s16-2.239 16-5v-4c0-2.761-7.163-5-16-5z\"></path>\n", | |
| "<path d=\"M16 17c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n", | |
| "<path d=\"M16 26c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z\"></path>\n", | |
| "</symbol>\n", | |
| "<symbol id=\"icon-file-text2\" viewBox=\"0 0 32 32\">\n", | |
| "<path d=\"M28.681 7.159c-0.694-0.947-1.662-2.053-2.724-3.116s-2.169-2.030-3.116-2.724c-1.612-1.182-2.393-1.319-2.841-1.319h-15.5c-1.378 0-2.5 1.121-2.5 2.5v27c0 1.378 1.122 2.5 2.5 2.5h23c1.378 0 2.5-1.122 2.5-2.5v-19.5c0-0.448-0.137-1.23-1.319-2.841zM24.543 5.457c0.959 0.959 1.712 1.825 2.268 2.543h-4.811v-4.811c0.718 0.556 1.584 1.309 2.543 2.268zM28 29.5c0 0.271-0.229 0.5-0.5 0.5h-23c-0.271 0-0.5-0.229-0.5-0.5v-27c0-0.271 0.229-0.5 0.5-0.5 0 0 15.499-0 15.5 0v7c0 0.552 0.448 1 1 1h7v19.5z\"></path>\n", | |
| "<path d=\"M23 26h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n", | |
| "<path d=\"M23 22h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n", | |
| "<path d=\"M23 18h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z\"></path>\n", | |
| "</symbol>\n", | |
| "</defs>\n", | |
| "</svg>\n", | |
| "<style>/* CSS stylesheet for displaying xarray objects in jupyterlab.\n", | |
| " *\n", | |
| " */\n", | |
| "\n", | |
| ":root {\n", | |
| " --xr-font-color0: var(--jp-content-font-color0, rgba(0, 0, 0, 1));\n", | |
| " --xr-font-color2: var(--jp-content-font-color2, rgba(0, 0, 0, 0.54));\n", | |
| " --xr-font-color3: var(--jp-content-font-color3, rgba(0, 0, 0, 0.38));\n", | |
| " --xr-border-color: var(--jp-border-color2, #e0e0e0);\n", | |
| " --xr-disabled-color: var(--jp-layout-color3, #bdbdbd);\n", | |
| " --xr-background-color: var(--jp-layout-color0, white);\n", | |
| " --xr-background-color-row-even: var(--jp-layout-color1, white);\n", | |
| " --xr-background-color-row-odd: var(--jp-layout-color2, #eeeeee);\n", | |
| "}\n", | |
| "\n", | |
| "html[theme=dark],\n", | |
| "body.vscode-dark {\n", | |
| " --xr-font-color0: rgba(255, 255, 255, 1);\n", | |
| " --xr-font-color2: rgba(255, 255, 255, 0.54);\n", | |
| " --xr-font-color3: rgba(255, 255, 255, 0.38);\n", | |
| " --xr-border-color: #1F1F1F;\n", | |
| " --xr-disabled-color: #515151;\n", | |
| " --xr-background-color: #111111;\n", | |
| " --xr-background-color-row-even: #111111;\n", | |
| " --xr-background-color-row-odd: #313131;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-wrap {\n", | |
| " display: block;\n", | |
| " min-width: 300px;\n", | |
| " max-width: 700px;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-text-repr-fallback {\n", | |
| " /* fallback to plain text repr when CSS is not injected (untrusted notebook) */\n", | |
| " display: none;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-header {\n", | |
| " padding-top: 6px;\n", | |
| " padding-bottom: 6px;\n", | |
| " margin-bottom: 4px;\n", | |
| " border-bottom: solid 1px var(--xr-border-color);\n", | |
| "}\n", | |
| "\n", | |
| ".xr-header > div,\n", | |
| ".xr-header > ul {\n", | |
| " display: inline;\n", | |
| " margin-top: 0;\n", | |
| " margin-bottom: 0;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-obj-type,\n", | |
| ".xr-array-name {\n", | |
| " margin-left: 2px;\n", | |
| " margin-right: 10px;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-obj-type {\n", | |
| " color: var(--xr-font-color2);\n", | |
| "}\n", | |
| "\n", | |
| ".xr-sections {\n", | |
| " padding-left: 0 !important;\n", | |
| " display: grid;\n", | |
| " grid-template-columns: 150px auto auto 1fr 20px 20px;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-section-item {\n", | |
| " display: contents;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-section-item input {\n", | |
| " display: none;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-section-item input + label {\n", | |
| " color: var(--xr-disabled-color);\n", | |
| "}\n", | |
| "\n", | |
| ".xr-section-item input:enabled + label {\n", | |
| " cursor: pointer;\n", | |
| " color: var(--xr-font-color2);\n", | |
| "}\n", | |
| "\n", | |
| ".xr-section-item input:enabled + label:hover {\n", | |
| " color: var(--xr-font-color0);\n", | |
| "}\n", | |
| "\n", | |
| ".xr-section-summary {\n", | |
| " grid-column: 1;\n", | |
| " color: var(--xr-font-color2);\n", | |
| " font-weight: 500;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-section-summary > span {\n", | |
| " display: inline-block;\n", | |
| " padding-left: 0.5em;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-section-summary-in:disabled + label {\n", | |
| " color: var(--xr-font-color2);\n", | |
| "}\n", | |
| "\n", | |
| ".xr-section-summary-in + label:before {\n", | |
| " display: inline-block;\n", | |
| " content: '►';\n", | |
| " font-size: 11px;\n", | |
| " width: 15px;\n", | |
| " text-align: center;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-section-summary-in:disabled + label:before {\n", | |
| " color: var(--xr-disabled-color);\n", | |
| "}\n", | |
| "\n", | |
| ".xr-section-summary-in:checked + label:before {\n", | |
| " content: '▼';\n", | |
| "}\n", | |
| "\n", | |
| ".xr-section-summary-in:checked + label > span {\n", | |
| " display: none;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-section-summary,\n", | |
| ".xr-section-inline-details {\n", | |
| " padding-top: 4px;\n", | |
| " padding-bottom: 4px;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-section-inline-details {\n", | |
| " grid-column: 2 / -1;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-section-details {\n", | |
| " display: none;\n", | |
| " grid-column: 1 / -1;\n", | |
| " margin-bottom: 5px;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-section-summary-in:checked ~ .xr-section-details {\n", | |
| " display: contents;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-array-wrap {\n", | |
| " grid-column: 1 / -1;\n", | |
| " display: grid;\n", | |
| " grid-template-columns: 20px auto;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-array-wrap > label {\n", | |
| " grid-column: 1;\n", | |
| " vertical-align: top;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-preview {\n", | |
| " color: var(--xr-font-color3);\n", | |
| "}\n", | |
| "\n", | |
| ".xr-array-preview,\n", | |
| ".xr-array-data {\n", | |
| " padding: 0 5px !important;\n", | |
| " grid-column: 2;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-array-data,\n", | |
| ".xr-array-in:checked ~ .xr-array-preview {\n", | |
| " display: none;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-array-in:checked ~ .xr-array-data,\n", | |
| ".xr-array-preview {\n", | |
| " display: inline-block;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-dim-list {\n", | |
| " display: inline-block !important;\n", | |
| " list-style: none;\n", | |
| " padding: 0 !important;\n", | |
| " margin: 0;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-dim-list li {\n", | |
| " display: inline-block;\n", | |
| " padding: 0;\n", | |
| " margin: 0;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-dim-list:before {\n", | |
| " content: '(';\n", | |
| "}\n", | |
| "\n", | |
| ".xr-dim-list:after {\n", | |
| " content: ')';\n", | |
| "}\n", | |
| "\n", | |
| ".xr-dim-list li:not(:last-child):after {\n", | |
| " content: ',';\n", | |
| " padding-right: 5px;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-has-index {\n", | |
| " font-weight: bold;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-var-list,\n", | |
| ".xr-var-item {\n", | |
| " display: contents;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-var-item > div,\n", | |
| ".xr-var-item label,\n", | |
| ".xr-var-item > .xr-var-name span {\n", | |
| " background-color: var(--xr-background-color-row-even);\n", | |
| " margin-bottom: 0;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-var-item > .xr-var-name:hover span {\n", | |
| " padding-right: 5px;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-var-list > li:nth-child(odd) > div,\n", | |
| ".xr-var-list > li:nth-child(odd) > label,\n", | |
| ".xr-var-list > li:nth-child(odd) > .xr-var-name span {\n", | |
| " background-color: var(--xr-background-color-row-odd);\n", | |
| "}\n", | |
| "\n", | |
| ".xr-var-name {\n", | |
| " grid-column: 1;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-var-dims {\n", | |
| " grid-column: 2;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-var-dtype {\n", | |
| " grid-column: 3;\n", | |
| " text-align: right;\n", | |
| " color: var(--xr-font-color2);\n", | |
| "}\n", | |
| "\n", | |
| ".xr-var-preview {\n", | |
| " grid-column: 4;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-var-name,\n", | |
| ".xr-var-dims,\n", | |
| ".xr-var-dtype,\n", | |
| ".xr-preview,\n", | |
| ".xr-attrs dt {\n", | |
| " white-space: nowrap;\n", | |
| " overflow: hidden;\n", | |
| " text-overflow: ellipsis;\n", | |
| " padding-right: 10px;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-var-name:hover,\n", | |
| ".xr-var-dims:hover,\n", | |
| ".xr-var-dtype:hover,\n", | |
| ".xr-attrs dt:hover {\n", | |
| " overflow: visible;\n", | |
| " width: auto;\n", | |
| " z-index: 1;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-var-attrs,\n", | |
| ".xr-var-data {\n", | |
| " display: none;\n", | |
| " background-color: var(--xr-background-color) !important;\n", | |
| " padding-bottom: 5px !important;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-var-attrs-in:checked ~ .xr-var-attrs,\n", | |
| ".xr-var-data-in:checked ~ .xr-var-data {\n", | |
| " display: block;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-var-data > table {\n", | |
| " float: right;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-var-name span,\n", | |
| ".xr-var-data,\n", | |
| ".xr-attrs {\n", | |
| " padding-left: 25px !important;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-attrs,\n", | |
| ".xr-var-attrs,\n", | |
| ".xr-var-data {\n", | |
| " grid-column: 1 / -1;\n", | |
| "}\n", | |
| "\n", | |
| "dl.xr-attrs {\n", | |
| " padding: 0;\n", | |
| " margin: 0;\n", | |
| " display: grid;\n", | |
| " grid-template-columns: 125px auto;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-attrs dt,\n", | |
| ".xr-attrs dd {\n", | |
| " padding: 0;\n", | |
| " margin: 0;\n", | |
| " float: left;\n", | |
| " padding-right: 10px;\n", | |
| " width: auto;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-attrs dt {\n", | |
| " font-weight: normal;\n", | |
| " grid-column: 1;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-attrs dt:hover span {\n", | |
| " display: inline-block;\n", | |
| " background: var(--xr-background-color);\n", | |
| " padding-right: 10px;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-attrs dd {\n", | |
| " grid-column: 2;\n", | |
| " white-space: pre-wrap;\n", | |
| " word-break: break-all;\n", | |
| "}\n", | |
| "\n", | |
| ".xr-icon-database,\n", | |
| ".xr-icon-file-text2 {\n", | |
| " display: inline-block;\n", | |
| " vertical-align: middle;\n", | |
| " width: 1em;\n", | |
| " height: 1.5em !important;\n", | |
| " stroke-width: 0;\n", | |
| " stroke: currentColor;\n", | |
| " fill: currentColor;\n", | |
| "}\n", | |
| "</style><pre class='xr-text-repr-fallback'><xarray.Dataset>\n", | |
| "Dimensions: (lat: 192, lon: 288, member_id: 40, nbnd: 2, time: 1140)\n", | |
| "Coordinates:\n", | |
| " * lat (lat) float64 -90.0 -89.06 -88.12 -87.17 ... 88.12 89.06 90.0\n", | |
| " * lon (lon) float64 0.0 1.25 2.5 3.75 5.0 ... 355.0 356.2 357.5 358.8\n", | |
| " * member_id (member_id) int64 1 2 3 4 5 6 7 8 ... 34 35 101 102 103 104 105\n", | |
| " * time (time) object 2006-01-16 12:00:00 ... 2100-12-16 12:00:00\n", | |
| " time_bnds (time, nbnd) object dask.array<chunksize=(1140, 2), meta=np.ndarray>\n", | |
| "Dimensions without coordinates: nbnd\n", | |
| "Data variables:\n", | |
| " FLNS (member_id, time, lat, lon) float32 dask.array<chunksize=(1, 576, 192, 288), meta=np.ndarray>\n", | |
| "Attributes:\n", | |
| " Conventions: CF-1.0\n", | |
| " NCO: 4.3.4\n", | |
| " Version: $Name$\n", | |
| " host: tcs-f02n07\n", | |
| " important_note: This data is part of the project 'Blind Evalua...\n", | |
| " initial_file: b.e11.B20TRC5CNBDRD.f09_g16.105.cam.i.2006-01-...\n", | |
| " logname: mudryk\n", | |
| " nco_openmp_thread_number: 1\n", | |
| " revision_Id: $Id$\n", | |
| " source: CAM\n", | |
| " title: UNSET\n", | |
| " topography_file: /scratch/p/pjk/mudryk/cesm1_1_2_LENS/inputdata...</pre><div class='xr-wrap' hidden><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-23d6d676-4fea-41aa-95fc-3c6fd573796e' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-23d6d676-4fea-41aa-95fc-3c6fd573796e' class='xr-section-summary' title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>lat</span>: 192</li><li><span class='xr-has-index'>lon</span>: 288</li><li><span class='xr-has-index'>member_id</span>: 40</li><li><span>nbnd</span>: 2</li><li><span class='xr-has-index'>time</span>: 1140</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-d990c4f6-dfa7-4bbe-a960-026954c0f8ab' class='xr-section-summary-in' type='checkbox' checked><label for='section-d990c4f6-dfa7-4bbe-a960-026954c0f8ab' class='xr-section-summary' >Coordinates: <span>(5)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>lat</span></div><div class='xr-var-dims'>(lat)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>-90.0 -89.06 -88.12 ... 89.06 90.0</div><input id='attrs-64e0173d-1805-4407-a7e7-453d7b2963ce' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-64e0173d-1805-4407-a7e7-453d7b2963ce' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-5f10c25f-a408-4195-91a6-f67594654fd6' class='xr-var-data-in' type='checkbox'><label for='data-5f10c25f-a408-4195-91a6-f67594654fd6' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>axis :</span></dt><dd>Y</dd><dt><span>bounds :</span></dt><dd>lat_bnds</dd><dt><span>long_name :</span></dt><dd>latitude</dd><dt><span>standard_name :</span></dt><dd>latitude</dd><dt><span>units :</span></dt><dd>degrees_north</dd></dl></div><div class='xr-var-data'><pre>array([-90. , -89.057594, -88.115181, -87.172775, -86.23037 , -85.287956,\n", | |
| " -84.345551, -83.403145, -82.460732, -81.518326, -80.575912, -79.633507,\n", | |
| " -78.691101, -77.748688, -76.806282, -75.863876, -74.921463, -73.979057,\n", | |
| " -73.036652, -72.094238, -71.151833, -70.209427, -69.267014, -68.324608,\n", | |
| " -67.382202, -66.439789, -65.497383, -64.554977, -63.612564, -62.670158,\n", | |
| " -61.727749, -60.785339, -59.842934, -58.900524, -57.958115, -57.015705,\n", | |
| " -56.073299, -55.13089 , -54.18848 , -53.246075, -52.303665, -51.361256,\n", | |
| " -50.41885 , -49.47644 , -48.534031, -47.591621, -46.649216, -45.706806,\n", | |
| " -44.764397, -43.821991, -42.879581, -41.937172, -40.994766, -40.052357,\n", | |
| " -39.109947, -38.167538, -37.225132, -36.282722, -35.340313, -34.397907,\n", | |
| " -33.455498, -32.513088, -31.570681, -30.628273, -29.685863, -28.743456,\n", | |
| " -27.801046, -26.858639, -25.916231, -24.973822, -24.031414, -23.089005,\n", | |
| " -22.146597, -21.204189, -20.26178 , -19.319372, -18.376963, -17.434555,\n", | |
| " -16.492147, -15.549738, -14.607329, -13.664922, -12.722513, -11.780105,\n", | |
| " -10.837696, -9.895288, -8.95288 , -8.010471, -7.068063, -6.125654,\n", | |
| " -5.183246, -4.240838, -3.298429, -2.356021, -1.413613, -0.471204,\n", | |
| " 0.471204, 1.413613, 2.356021, 3.298429, 4.240838, 5.183246,\n", | |
| " 6.125654, 7.068063, 8.010471, 8.95288 , 9.895288, 10.837696,\n", | |
| " 11.780105, 12.722513, 13.664922, 14.607329, 15.549738, 16.492147,\n", | |
| " 17.434555, 18.376963, 19.319372, 20.26178 , 21.204189, 22.146597,\n", | |
| " 23.089005, 24.031414, 24.973822, 25.916231, 26.858639, 27.801046,\n", | |
| " 28.743456, 29.685863, 30.628273, 31.570681, 32.513088, 33.455498,\n", | |
| " 34.397907, 35.340313, 36.282722, 37.225132, 38.167538, 39.109947,\n", | |
| " 40.052357, 40.994766, 41.937172, 42.879581, 43.821991, 44.764397,\n", | |
| " 45.706806, 46.649216, 47.591621, 48.534031, 49.47644 , 50.41885 ,\n", | |
| " 51.361256, 52.303665, 53.246075, 54.18848 , 55.13089 , 56.073299,\n", | |
| " 57.015705, 57.958115, 58.900524, 59.842934, 60.785339, 61.727749,\n", | |
| " 62.670158, 63.612564, 64.554977, 65.497383, 66.439789, 67.382202,\n", | |
| " 68.324608, 69.267014, 70.209427, 71.151833, 72.094238, 73.036652,\n", | |
| " 73.979057, 74.921463, 75.863876, 76.806282, 77.748688, 78.691101,\n", | |
| " 79.633507, 80.575912, 81.518326, 82.460732, 83.403145, 84.345551,\n", | |
| " 85.287956, 86.23037 , 87.172775, 88.115181, 89.057594, 90. ])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>lon</span></div><div class='xr-var-dims'>(lon)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 1.25 2.5 ... 356.2 357.5 358.8</div><input id='attrs-a99a65b3-e194-40b5-aa06-9e81285854ec' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-a99a65b3-e194-40b5-aa06-9e81285854ec' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-385a4533-209d-4551-a35b-0f4d8c8cd741' class='xr-var-data-in' type='checkbox'><label for='data-385a4533-209d-4551-a35b-0f4d8c8cd741' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>long_name :</span></dt><dd>longitude</dd><dt><span>units :</span></dt><dd>degrees_east</dd></dl></div><div class='xr-var-data'><pre>array([ 0. , 1.25, 2.5 , ..., 356.25, 357.5 , 358.75])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>member_id</span></div><div class='xr-var-dims'>(member_id)</div><div class='xr-var-dtype'>int64</div><div class='xr-var-preview xr-preview'>1 2 3 4 5 6 ... 101 102 103 104 105</div><input id='attrs-85237c0e-ad37-479d-8c71-0d16721083c1' class='xr-var-attrs-in' type='checkbox' disabled><label for='attrs-85237c0e-ad37-479d-8c71-0d16721083c1' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-629450ef-b06b-4538-b8ee-5ee868a6f13e' class='xr-var-data-in' type='checkbox'><label for='data-629450ef-b06b-4538-b8ee-5ee868a6f13e' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'></dl></div><div class='xr-var-data'><pre>array([ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,\n", | |
| " 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28,\n", | |
| " 29, 30, 31, 32, 33, 34, 35, 101, 102, 103, 104, 105])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>time</span></div><div class='xr-var-dims'>(time)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>2006-01-16 12:00:00 ... 2100-12-...</div><input id='attrs-17362ed2-3f7b-4748-8007-2fc5145e3933' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-17362ed2-3f7b-4748-8007-2fc5145e3933' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-244c3786-d0b3-4a91-a29b-ad342ab73e8f' class='xr-var-data-in' type='checkbox'><label for='data-244c3786-d0b3-4a91-a29b-ad342ab73e8f' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>bounds :</span></dt><dd>time_bnds</dd><dt><span>long_name :</span></dt><dd>time</dd></dl></div><div class='xr-var-data'><pre>array([cftime.DatetimeNoLeap(2006, 1, 16, 12, 0, 0, 0, has_year_zero=True),\n", | |
| " cftime.DatetimeNoLeap(2006, 2, 15, 0, 0, 0, 0, has_year_zero=True),\n", | |
| " cftime.DatetimeNoLeap(2006, 3, 16, 12, 0, 0, 0, has_year_zero=True),\n", | |
| " ...,\n", | |
| " cftime.DatetimeNoLeap(2100, 10, 16, 12, 0, 0, 0, has_year_zero=True),\n", | |
| " cftime.DatetimeNoLeap(2100, 11, 16, 0, 0, 0, 0, has_year_zero=True),\n", | |
| " cftime.DatetimeNoLeap(2100, 12, 16, 12, 0, 0, 0, has_year_zero=True)],\n", | |
| " dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>time_bnds</span></div><div class='xr-var-dims'>(time, nbnd)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>dask.array<chunksize=(1140, 2), meta=np.ndarray></div><input id='attrs-11f8659f-602d-4a7e-a63b-37d33c882d18' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-11f8659f-602d-4a7e-a63b-37d33c882d18' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-97715c5e-3f70-42e6-ad3d-a39447a6f38e' class='xr-var-data-in' type='checkbox'><label for='data-97715c5e-3f70-42e6-ad3d-a39447a6f38e' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>long_name :</span></dt><dd>time interval endpoints</dd></dl></div><div class='xr-var-data'><table>\n", | |
| "<tr>\n", | |
| "<td>\n", | |
| "<table>\n", | |
| " <thead>\n", | |
| " <tr><td> </td><th> Array </th><th> Chunk </th></tr>\n", | |
| " </thead>\n", | |
| " <tbody>\n", | |
| " <tr><th> Bytes </th><td> 17.81 kiB </td> <td> 17.81 kiB </td></tr>\n", | |
| " <tr><th> Shape </th><td> (1140, 2) </td> <td> (1140, 2) </td></tr>\n", | |
| " <tr><th> Count </th><td> 2 Tasks </td><td> 1 Chunks </td></tr>\n", | |
| " <tr><th> Type </th><td> object </td><td> numpy.ndarray </td></tr>\n", | |
| " </tbody>\n", | |
| "</table>\n", | |
| "</td>\n", | |
| "<td>\n", | |
| "<svg width=\"75\" height=\"170\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n", | |
| "\n", | |
| " <!-- Horizontal lines -->\n", | |
| " <line x1=\"0\" y1=\"0\" x2=\"25\" y2=\"0\" style=\"stroke-width:2\" />\n", | |
| " <line x1=\"0\" y1=\"120\" x2=\"25\" y2=\"120\" style=\"stroke-width:2\" />\n", | |
| "\n", | |
| " <!-- Vertical lines -->\n", | |
| " <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"120\" style=\"stroke-width:2\" />\n", | |
| " <line x1=\"25\" y1=\"0\" x2=\"25\" y2=\"120\" style=\"stroke-width:2\" />\n", | |
| "\n", | |
| " <!-- Colored Rectangle -->\n", | |
| " <polygon points=\"0.0,0.0 25.412616514582485,0.0 25.412616514582485,120.0 0.0,120.0\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n", | |
| "\n", | |
| " <!-- Text -->\n", | |
| " <text x=\"12.706308\" y=\"140.000000\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >2</text>\n", | |
| " <text x=\"45.412617\" y=\"60.000000\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,45.412617,60.000000)\">1140</text>\n", | |
| "</svg>\n", | |
| "</td>\n", | |
| "</tr>\n", | |
| "</table></div></li></ul></div></li><li class='xr-section-item'><input id='section-5695f574-4ec0-4e33-846b-aa38e1c665a8' class='xr-section-summary-in' type='checkbox' checked><label for='section-5695f574-4ec0-4e33-846b-aa38e1c665a8' class='xr-section-summary' >Data variables: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>FLNS</span></div><div class='xr-var-dims'>(member_id, time, lat, lon)</div><div class='xr-var-dtype'>float32</div><div class='xr-var-preview xr-preview'>dask.array<chunksize=(1, 576, 192, 288), meta=np.ndarray></div><input id='attrs-65999280-0c7c-4bc5-94ab-050ec9bd75b8' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-65999280-0c7c-4bc5-94ab-050ec9bd75b8' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-368e71ca-44ae-4935-9122-aec270843ed6' class='xr-var-data-in' type='checkbox'><label for='data-368e71ca-44ae-4935-9122-aec270843ed6' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>Sampling_Sequence :</span></dt><dd>rad_lwsw</dd><dt><span>cell_methods :</span></dt><dd>time: mean</dd><dt><span>long_name :</span></dt><dd>Net longwave flux at surface</dd><dt><span>units :</span></dt><dd>W/m2</dd></dl></div><div class='xr-var-data'><table>\n", | |
| "<tr>\n", | |
| "<td>\n", | |
| "<table>\n", | |
| " <thead>\n", | |
| " <tr><td> </td><th> Array </th><th> Chunk </th></tr>\n", | |
| " </thead>\n", | |
| " <tbody>\n", | |
| " <tr><th> Bytes </th><td> 9.39 GiB </td> <td> 121.50 MiB </td></tr>\n", | |
| " <tr><th> Shape </th><td> (40, 1140, 192, 288) </td> <td> (1, 576, 192, 288) </td></tr>\n", | |
| " <tr><th> Count </th><td> 81 Tasks </td><td> 80 Chunks </td></tr>\n", | |
| " <tr><th> Type </th><td> float32 </td><td> numpy.ndarray </td></tr>\n", | |
| " </tbody>\n", | |
| "</table>\n", | |
| "</td>\n", | |
| "<td>\n", | |
| "<svg width=\"367\" height=\"161\" style=\"stroke:rgb(0,0,0);stroke-width:1\" >\n", | |
| "\n", | |
| " <!-- Horizontal lines -->\n", | |
| " <line x1=\"0\" y1=\"0\" x2=\"32\" y2=\"0\" style=\"stroke-width:2\" />\n", | |
| " <line x1=\"0\" y1=\"25\" x2=\"32\" y2=\"25\" style=\"stroke-width:2\" />\n", | |
| "\n", | |
| " <!-- Vertical lines -->\n", | |
| " <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"25\" style=\"stroke-width:2\" />\n", | |
| " <line x1=\"0\" y1=\"0\" x2=\"0\" y2=\"25\" />\n", | |
| " <line x1=\"1\" y1=\"0\" x2=\"1\" y2=\"25\" />\n", | |
| " <line x1=\"2\" y1=\"0\" x2=\"2\" y2=\"25\" />\n", | |
| " <line x1=\"4\" y1=\"0\" x2=\"4\" y2=\"25\" />\n", | |
| " <line x1=\"4\" y1=\"0\" x2=\"4\" y2=\"25\" />\n", | |
| " <line x1=\"5\" y1=\"0\" x2=\"5\" y2=\"25\" />\n", | |
| " <line x1=\"6\" y1=\"0\" x2=\"6\" y2=\"25\" />\n", | |
| " <line x1=\"8\" y1=\"0\" x2=\"8\" y2=\"25\" />\n", | |
| " <line x1=\"8\" y1=\"0\" x2=\"8\" y2=\"25\" />\n", | |
| " <line x1=\"9\" y1=\"0\" x2=\"9\" y2=\"25\" />\n", | |
| " <line x1=\"10\" y1=\"0\" x2=\"10\" y2=\"25\" />\n", | |
| " <line x1=\"12\" y1=\"0\" x2=\"12\" y2=\"25\" />\n", | |
| " <line x1=\"12\" y1=\"0\" x2=\"12\" y2=\"25\" />\n", | |
| " <line x1=\"13\" y1=\"0\" x2=\"13\" y2=\"25\" />\n", | |
| " <line x1=\"14\" y1=\"0\" x2=\"14\" y2=\"25\" />\n", | |
| " <line x1=\"16\" y1=\"0\" x2=\"16\" y2=\"25\" />\n", | |
| " <line x1=\"16\" y1=\"0\" x2=\"16\" y2=\"25\" />\n", | |
| " <line x1=\"17\" y1=\"0\" x2=\"17\" y2=\"25\" />\n", | |
| " <line x1=\"18\" y1=\"0\" x2=\"18\" y2=\"25\" />\n", | |
| " <line x1=\"20\" y1=\"0\" x2=\"20\" y2=\"25\" />\n", | |
| " <line x1=\"21\" y1=\"0\" x2=\"21\" y2=\"25\" />\n", | |
| " <line x1=\"21\" y1=\"0\" x2=\"21\" y2=\"25\" />\n", | |
| " <line x1=\"22\" y1=\"0\" x2=\"22\" y2=\"25\" />\n", | |
| " <line x1=\"24\" y1=\"0\" x2=\"24\" y2=\"25\" />\n", | |
| " <line x1=\"25\" y1=\"0\" x2=\"25\" y2=\"25\" />\n", | |
| " <line x1=\"25\" y1=\"0\" x2=\"25\" y2=\"25\" />\n", | |
| " <line x1=\"26\" y1=\"0\" x2=\"26\" y2=\"25\" />\n", | |
| " <line x1=\"28\" y1=\"0\" x2=\"28\" y2=\"25\" />\n", | |
| " <line x1=\"29\" y1=\"0\" x2=\"29\" y2=\"25\" />\n", | |
| " <line x1=\"29\" y1=\"0\" x2=\"29\" y2=\"25\" />\n", | |
| " <line x1=\"30\" y1=\"0\" x2=\"30\" y2=\"25\" />\n", | |
| " <line x1=\"32\" y1=\"0\" x2=\"32\" y2=\"25\" style=\"stroke-width:2\" />\n", | |
| "\n", | |
| " <!-- Colored Rectangle -->\n", | |
| " <polygon points=\"0.0,0.0 32.33516421179213,0.0 32.33516421179213,25.412616514582485 0.0,25.412616514582485\" style=\"fill:#8B4903A0;stroke-width:0\"/>\n", | |
| "\n", | |
| " <!-- Text -->\n", | |
| " <text x=\"16.167582\" y=\"45.412617\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >40</text>\n", | |
| " <text x=\"52.335164\" y=\"12.706308\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(0,52.335164,12.706308)\">1</text>\n", | |
| "\n", | |
| "\n", | |
| " <!-- Horizontal lines -->\n", | |
| " <line x1=\"102\" y1=\"0\" x2=\"172\" y2=\"70\" style=\"stroke-width:2\" />\n", | |
| " <line x1=\"102\" y1=\"41\" x2=\"172\" y2=\"111\" style=\"stroke-width:2\" />\n", | |
| "\n", | |
| " <!-- Vertical lines -->\n", | |
| " <line x1=\"102\" y1=\"0\" x2=\"102\" y2=\"41\" style=\"stroke-width:2\" />\n", | |
| " <line x1=\"137\" y1=\"35\" x2=\"137\" y2=\"76\" />\n", | |
| " <line x1=\"172\" y1=\"70\" x2=\"172\" y2=\"111\" style=\"stroke-width:2\" />\n", | |
| "\n", | |
| " <!-- Colored Rectangle -->\n", | |
| " <polygon points=\"102.0,0.0 172.58823529411765,70.58823529411765 172.58823529411765,111.84025976537296 102.0,41.252024471255304\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n", | |
| "\n", | |
| " <!-- Horizontal lines -->\n", | |
| " <line x1=\"102\" y1=\"0\" x2=\"144\" y2=\"0\" style=\"stroke-width:2\" />\n", | |
| " <line x1=\"137\" y1=\"35\" x2=\"180\" y2=\"35\" />\n", | |
| " <line x1=\"172\" y1=\"70\" x2=\"215\" y2=\"70\" style=\"stroke-width:2\" />\n", | |
| "\n", | |
| " <!-- Vertical lines -->\n", | |
| " <line x1=\"102\" y1=\"0\" x2=\"172\" y2=\"70\" style=\"stroke-width:2\" />\n", | |
| " <line x1=\"144\" y1=\"0\" x2=\"215\" y2=\"70\" style=\"stroke-width:2\" />\n", | |
| "\n", | |
| " <!-- Colored Rectangle -->\n", | |
| " <polygon points=\"102.0,0.0 144.93784374479722,0.0 215.52607903891487,70.58823529411765 172.58823529411765,70.58823529411765\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n", | |
| "\n", | |
| " <!-- Horizontal lines -->\n", | |
| " <line x1=\"172\" y1=\"70\" x2=\"215\" y2=\"70\" style=\"stroke-width:2\" />\n", | |
| " <line x1=\"172\" y1=\"111\" x2=\"215\" y2=\"111\" style=\"stroke-width:2\" />\n", | |
| "\n", | |
| " <!-- Vertical lines -->\n", | |
| " <line x1=\"172\" y1=\"70\" x2=\"172\" y2=\"111\" style=\"stroke-width:2\" />\n", | |
| " <line x1=\"215\" y1=\"70\" x2=\"215\" y2=\"111\" style=\"stroke-width:2\" />\n", | |
| "\n", | |
| " <!-- Colored Rectangle -->\n", | |
| " <polygon points=\"172.58823529411765,70.58823529411765 215.52607903891487,70.58823529411765 215.52607903891487,111.84025976537296 172.58823529411765,111.84025976537296\" style=\"fill:#ECB172A0;stroke-width:0\"/>\n", | |
| "\n", | |
| " <!-- Text -->\n", | |
| " <text x=\"194.057157\" y=\"131.840260\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" >288</text>\n", | |
| " <text x=\"235.526079\" y=\"91.214248\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(-90,235.526079,91.214248)\">192</text>\n", | |
| " <text x=\"127.294118\" y=\"96.546142\" font-size=\"1.0rem\" font-weight=\"100\" text-anchor=\"middle\" transform=\"rotate(45,127.294118,96.546142)\">1140</text>\n", | |
| "</svg>\n", | |
| "</td>\n", | |
| "</tr>\n", | |
| "</table></div></li></ul></div></li><li class='xr-section-item'><input id='section-11f4d12e-4761-4220-9133-3c5a7dc5dbbb' class='xr-section-summary-in' type='checkbox' ><label for='section-11f4d12e-4761-4220-9133-3c5a7dc5dbbb' class='xr-section-summary' >Attributes: <span>(12)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'><dt><span>Conventions :</span></dt><dd>CF-1.0</dd><dt><span>NCO :</span></dt><dd>4.3.4</dd><dt><span>Version :</span></dt><dd>$Name$</dd><dt><span>host :</span></dt><dd>tcs-f02n07</dd><dt><span>important_note :</span></dt><dd>This data is part of the project 'Blind Evaluation of Lossy Data-Compression in LENS'. Please exercise caution before using this data for other purposes.</dd><dt><span>initial_file :</span></dt><dd>b.e11.B20TRC5CNBDRD.f09_g16.105.cam.i.2006-01-01-00000.nc</dd><dt><span>logname :</span></dt><dd>mudryk</dd><dt><span>nco_openmp_thread_number :</span></dt><dd>1</dd><dt><span>revision_Id :</span></dt><dd>$Id$</dd><dt><span>source :</span></dt><dd>CAM</dd><dt><span>title :</span></dt><dd>UNSET</dd><dt><span>topography_file :</span></dt><dd>/scratch/p/pjk/mudryk/cesm1_1_2_LENS/inputdata/atm/cam/topo/USGS-gtopo30_0.9x1.25_remap_c051027.nc</dd></dl></div></li></ul></div></div>" | |
| ], | |
| "text/plain": [ | |
| "<xarray.Dataset>\n", | |
| "Dimensions: (lat: 192, lon: 288, member_id: 40, nbnd: 2, time: 1140)\n", | |
| "Coordinates:\n", | |
| " * lat (lat) float64 -90.0 -89.06 -88.12 -87.17 ... 88.12 89.06 90.0\n", | |
| " * lon (lon) float64 0.0 1.25 2.5 3.75 5.0 ... 355.0 356.2 357.5 358.8\n", | |
| " * member_id (member_id) int64 1 2 3 4 5 6 7 8 ... 34 35 101 102 103 104 105\n", | |
| " * time (time) object 2006-01-16 12:00:00 ... 2100-12-16 12:00:00\n", | |
| " time_bnds (time, nbnd) object dask.array<chunksize=(1140, 2), meta=np.ndarray>\n", | |
| "Dimensions without coordinates: nbnd\n", | |
| "Data variables:\n", | |
| " FLNS (member_id, time, lat, lon) float32 dask.array<chunksize=(1, 576, 192, 288), meta=np.ndarray>\n", | |
| "Attributes:\n", | |
| " Conventions: CF-1.0\n", | |
| " NCO: 4.3.4\n", | |
| " Version: $Name$\n", | |
| " host: tcs-f02n07\n", | |
| " important_note: This data is part of the project 'Blind Evalua...\n", | |
| " initial_file: b.e11.B20TRC5CNBDRD.f09_g16.105.cam.i.2006-01-...\n", | |
| " logname: mudryk\n", | |
| " nco_openmp_thread_number: 1\n", | |
| " revision_Id: $Id$\n", | |
| " source: CAM\n", | |
| " title: UNSET\n", | |
| " topography_file: /scratch/p/pjk/mudryk/cesm1_1_2_LENS/inputdata..." | |
| ] | |
| }, | |
| "execution_count": 8, | |
| "metadata": {}, | |
| "output_type": "execute_result" | |
| } | |
| ], | |
| "source": [ | |
| "ds = xr.open_zarr(mapper, consolidated=True)\n", | |
| "ds" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": null, | |
| "id": "89416a90-36c4-43d9-be97-d4dde6c06087", | |
| "metadata": {}, | |
| "outputs": [], | |
| "source": [] | |
| } | |
| ], | |
| "metadata": { | |
| "kernelspec": { | |
| "display_name": "Python [conda env:playground]", | |
| "language": "python", | |
| "name": "conda-env-playground-py" | |
| }, | |
| "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.8.8" | |
| }, | |
| "widgets": { | |
| "application/vnd.jupyter.widget-state+json": { | |
| "state": {}, | |
| "version_major": 2, | |
| "version_minor": 0 | |
| } | |
| } | |
| }, | |
| "nbformat": 4, | |
| "nbformat_minor": 5 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment