diff --git a/_sources/notebooks/ForcingLTKE.ipynb b/_sources/notebooks/ForcingLTKE.ipynb new file mode 100644 index 0000000..ee4401a --- /dev/null +++ b/_sources/notebooks/ForcingLTKE.ipynb @@ -0,0 +1,995 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "e760bf9f-4601-4521-9f4c-c2be10101c18", + "metadata": { + "jp-MarkdownHeadingCollapsed": true + }, + "source": [ + "# The impact of large-scale forcing scales on clouds.\n" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "id": "24f314f4-f123-48bb-a970-f099f67bdb5a", + "metadata": {}, + "outputs": [], + "source": [ + "# Import packages\n", + "\n", + "from datetime import datetime\n", + "import numpy as np\n", + "import xarray as xr\n", + "import xwrf\n", + "\n", + "import matplotlib.pyplot as plt" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "id": "ad7270ee-57fb-4ddd-b1d7-45448e3df3a4", + "metadata": {}, + "outputs": [], + "source": [ + "\n", + "# The Large Scale Forcing Scale in Simulation 6 is 75 km\n", + "# The Large Scale Forcing Scale in Simulation 7 is 150 km\n", + "# The Large Scale Forcing Scale in Simulation 8 is 300 km" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "id": "019e1abf-b3fe-4c3a-9f71-7356fac5ed2c", + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "ERROR 1: PROJ: proj_create_from_database: Open of /opt/conda/share/proj failed\n" + ] + }, + { + "data": { + "text/html": [ + "
<xarray.Dataset> Size: 72GB\n", + "Dimensions: (Time: 91, z: 226, z_stag: 227, y: 250, x: 250,\n", + " x_stag: 251, y_stag: 251)\n", + "Coordinates:\n", + " XTIME (Time) datetime64[ns] 728B ...\n", + " * Time (Time) datetime64[ns] 728B 2019-04-04T12:00:00 ... 2019-0...\n", + " * y_stag (y_stag) float64 2kB -1.25e+04 -1.24e+04 ... 1.25e+04\n", + " * y (y) float64 2kB -1.245e+04 -1.235e+04 ... 1.245e+04\n", + " * x_stag (x_stag) float64 2kB -1.25e+04 -1.24e+04 ... 1.25e+04\n", + " * x (x) float64 2kB -1.245e+04 -1.235e+04 ... 1.245e+04\n", + "Dimensions without coordinates: z, z_stag\n", + "Data variables: (12/179)\n", + " Times (Time) |S19 2kB b'2019-04-04_12:00:00' ... b'2019-04-05_0...\n", + " CST_CLDLOW (Time) float32 364B ...\n", + " CST_CLDTOT (Time) float32 364B ...\n", + " CST_LWP (Time) float32 364B ...\n", + " CST_IWP (Time) float32 364B ...\n", + " CST_PRECW (Time) float32 364B ...\n", + " ... ...\n", + " CSV_IWC (Time, z, y, x) float32 5GB ...\n", + " CSV_CLDFRAC (Time, z, y, x) float32 5GB ...\n", + " CSS_LWP (Time, y, x) float32 23MB ...\n", + " CSS_IWP (Time, y, x) float32 23MB ...\n", + " CSS_CLDTOT (Time, y, x) float32 23MB ...\n", + " CSS_CLDLOW (Time, y, x) float32 23MB ...\n", + "Attributes: (12/96)\n", + " TITLE: OUTPUT FROM WRF V3.8.1 MODEL\n", + " START_DATE: 2019-04-04_12:00:00\n", + " WEST-EAST_GRID_DIMENSION: 251\n", + " SOUTH-NORTH_GRID_DIMENSION: 251\n", + " BOTTOM-TOP_GRID_DIMENSION: 227\n", + " DX: 100.0\n", + " ... ...\n", + " config_aerosol: NA\n", + " config_forecast_time: 15.0 h\n", + " config_boundary_method: Periodic\n", + " config_microphysics: Thompson (mp_physics=8)\n", + " config_nickname: runlas20190404v1msda2d150km\n", + " simulation_origin_host: cumulus-login2.ccs.ornl.gov