Skip to content

Commit

Permalink
Merge pull request #124 from so-wise/dcj_i123
Browse files Browse the repository at this point in the history
Paper revisions R2
  • Loading branch information
Dan(i) Jones authored Apr 27, 2023
2 parents 8b6a56c + af4b5bd commit 03c1f71
Show file tree
Hide file tree
Showing 8 changed files with 1,260 additions and 1,711 deletions.
175 changes: 79 additions & 96 deletions src/1_profile_distribution.ipynb

Large diffs are not rendered by default.

96 changes: 61 additions & 35 deletions src/2b-justPlot_antarctic-K4.ipynb

Large diffs are not rendered by default.

1,695 changes: 436 additions & 1,259 deletions src/3b_analyse_classes-K4.ipynb

Large diffs are not rendered by default.

399 changes: 204 additions & 195 deletions src/4_seasonal_analysis.ipynb

Large diffs are not rendered by default.

43 changes: 22 additions & 21 deletions src/7_calc_fH.ipynb

Large diffs are not rendered by default.

222 changes: 202 additions & 20 deletions src/8_examine_tSNE.ipynb

Large diffs are not rendered by default.

256 changes: 171 additions & 85 deletions src/plot_tools.py

Large diffs are not rendered by default.

85 changes: 85 additions & 0 deletions src/z_cbar.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "9db246d2-bd4b-4bc8-8051-5336216a46fc",
"metadata": {},
"outputs": [],
"source": [
"import matplotlib\n",
"import matplotlib.pyplot as plt\n",
"import matplotlib.colors as colors\n",
"import matplotlib.cm as cmx\n",
"import matplotlib as mpl"
]
},
{
"cell_type": "code",
"execution_count": 21,
"id": "4729cc08-9239-4cfa-83d2-af07d951399d",
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAEAAAAC4CAYAAABTqOqqAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAIyklEQVR4nO2de4wdZRnGf8/W0gul0FqoBEiKQEtbYAsUrFQjcjF4iYrRKlGp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N8I14Au4Lu2JwMzgG9JmkIThcc32H4ynd9BkkfgKOr0Cn2V2+F9vLo5/y3tzs59kCE83oOkCSRRohX0eoW+Sng8Nw0RHgeQNAr4E3C57e1pqu2aE34KAEgaSrLzd9q+Jy1umuzyAuYBz9m+vmRV02SXnwl8FXha0r/TsmtJxgU0RXb5f9L3D7EU2eVrTWFAtIBoCgOiBURTGBAtIJrCgGgB0TS9AZVfn98D6zfnb3z7rvx160XTHwGFAdECoikMiBYQTWFAtIBoCgOiBURTGBAtIJpwAyTdJqlD0jMlZU2VXX4+yZuipTRPdnnbfwd633M2VXb5cjRGdvnNe1rYsTl/9KyrswX6MT4ggoYZH9CL5sguX4HmyS4v6S6Swc2TJLWn4fDmyS5v+6I+VhXZ5etBYUC0gGgKA6IFRFMYEC0gmsKAaAHRNL0BFb8Kd+/ZQfeWl/K3vmtT/rp1oumPgMKAaAHRFAZEC4imMCBaQDSFAdECoikMiBYQTUMYIOkCSc9LekFSzSLB5Qg3IE2nezPwcWAKcFH69nhdCDcAOBN4wfZLtvcCfyAJj9eFSrfDb7J7E7y2On/re7cl7VTmKOCVkuV24AP5O+0ffRpg+ylJrby5M//PzSVMl/REyXLv8Hi5t0ZdpqwmVHwgUi5HTw5WAbdWWN8OHFOyfDSw/gD0m4lGuAasBE6QdKykg0h+hP3eenXeCNHhLknfBpaQpMO8zfaz9epfdt1Ot4akEU6BUAoDogVEUxgQLSCawoBoAdE0vQH/B1AwJSy4IVSIAAAAAElFTkSuQmCC\n",
"text/plain": [
"<Figure size 21.6x432 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"ploc = 'plots/plots_WeddellClassOnly_top1000m_K04_forPaperRevisions_deleteThis/'\n",
"\n",
"bounds = [0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50]\n",
"cmap = plt.get_cmap('cividis')\n",
"\n",
"fig, ax = plt.subplots(figsize=(0.3,6.0)) \n",
"fig.subplots_adjust(bottom=0.5) \n",
"fig.colorbar(mpl.cm.ScalarMappable(norm=mpl.colors.BoundaryNorm(bounds, cmap.N, extend='max'), \n",
" cmap=cmap), \n",
" cax=ax, \n",
" orientation='vertical', \n",
" label=\"Count\")\n",
"\n",
"# \n",
"plt.savefig(ploc + 'NEWhistogram_latlon_map_colorbar' + 'imetric' + '.png', bbox_inches='tight')\n",
"plt.savefig(ploc + 'NEWhistogram_latlon_map_colorbar' + 'imetric' + '.pdf', bbox_inches='tight')"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "cbdf316d-ae06-45f2-9e69-f07d7f5d7e81",
"metadata": {},
"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.9.7"
}
},
"nbformat": 4,
"nbformat_minor": 5
}

0 comments on commit 03c1f71

Please sign in to comment.