Skip to content

Instantly share code, notes, and snippets.

View gewitterblitz's full-sized avatar
Dual-Pol Radar & Lightning; Severe Convective Storms; Aerosol-Cloud Interactions

Milind Sharma gewitterblitz

Dual-Pol Radar & Lightning; Severe Convective Storms; Aerosol-Cloud Interactions
View GitHub Profile
import os
import numpy as np
import matplotlib.pyplot as plt
from dedalus import public as de
from dedalus.extras import plot_tools
data = np.load('enmean_9900.npy',allow_pickle=True)
data = data.item()
@gewitterblitz
gewitterblitz / lp_phase_proc_kdp_gatefilter_version
Last active November 6, 2019 05:33
Code to read S-band data and retrieve KDP field using lp_phase_proc algorithm (Giangrande et al., 2012) using PyART gatefilter version
import numpy as np
import matplotlib.pyplot as plt
import matplotlib
from matplotlib import dates
import pyart
import glob
import pandas as pd
from scipy import ndimage, interpolate
import copy
import matplotlib.cm as cm
from glue.config import data_factory
from glue.core import Data
from glue.core.coordinates import Coordinates
from astropy import units as u
from astropy.wcs.wcsapi import BaseLowLevelWCS
import pyart
import numpy as np