{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# FLOR Control Runs\n", "* Wenchang Yang (wenchang@princeton.edu)\n", "* Department of Geosciences, Princeton University" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "ExecuteTime": { "end_time": "2019-06-20T20:36:37.224497Z", "start_time": "2019-06-20T20:36:37.209389Z" }, "code_folding": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "**2019-06-20T16:36:37.214998**\n", ">>> Importing Python 3.7.3 packages...\n", "[OK]: import sys, os, os.path, datetime, glob\n", "[OK]: import numpy as np-1.16.3\n", "[OK]: import matplotlib as mpl-3.0.3; backend: module://ipykernel.pylab.backend_inline\n", "[OK]: #---import matplotlib.pyplot as plt\n", "[OK]: #---from pylab import *\n", "[OK]: import xarray as xr-0.12.1\n", "[OK]: #---import netCDF4\n", "[OK]: #---import dask\n", "[OK]: #---import bottleneck\n", "[OK]: import pandas as pd-0.24.2\n", "[OK]: from mpl_toolkits.basemap import Basemap\n", " PROJ_LIB = /scratch/gpfs/GEOCLIM/wenchang/miniconda3/envs/geoclim/share/proj\n", ">>>Import packages from Wenchang Yang (wython)...\n", "[OK]: import geoplots as gt\n", "[OK]: from geoplots import geoplot, fxyplot, mapplot, xticksyear\n", "[OK]: import geoxarray\n", "[OK]: import filter\n", "[OK]: import xlearn\n", "[OK]: import mysignal as sig\n", "**Done**\n" ] } ], "source": [ "# init\n", "%matplotlib inline\n", "%run -im pythonstartup\n", "%config InlineBackend.figure_format ='retina'\n", "plt.rcParams['figure.dpi'] = 120\n", "# https://www.dataquest.io/blog/jupyter-notebook-tips-tricks-shortcuts/\n", "from IPython.core.interactiveshell import InteractiveShell\n", "InteractiveShell.ast_node_interactivity = \"last\"\n", "# https://stackoverflow.com/questions/41125690/matplotlib-notebook-showing-a-blank-histogram\n", "# in case to switch back to the notebook backend, run the 2 lines below, \n", "# reload(plt)\n", "# %matplotlib notebook" ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "ExecuteTime": { "end_time": "2019-06-20T20:36:41.660123Z", "start_time": "2019-06-20T20:36:41.565720Z" } }, "outputs": [ { "data": { "text/html": [ "
\n",
"Client\n", "
| \n",
"\n",
"Cluster\n", "
| \n",
"