Skip to content

Instantly share code, notes, and snippets.

View thabbott's full-sized avatar

Tristan Abbott thabbott

View GitHub Profile
@thabbott
thabbott / plot_3d_cloud_field.py
Created January 5, 2021 16:04
Animate cloud water isosurfaces using matplotlib
"""
Make movie of 3D cloud fields
"""
import xarray as xr
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
from matplotlib.colors import LightSource
from skimage import measure
from scipy.interpolate import interp1d
from scipy.ndimage import gaussian_filter