Skip to content
Snippets Groups Projects
processing.py 418 B
# -*- coding: utf-8 -*-

import numpy as np
import xarray as xr
import metpy.calc as mpcalc
import itertools

from calc_adv_cv import calc_adv

from matplotlib import pyplot as plt
import cartopy.crs as ccrs
import cartopy.feature as cfeature

from waves import WaveTrough, WaveTroughState


# identify troughs in data (should contain U,V,cv), based on the cv climatology
# def identify_troughs(data, cv_clim, cfg):