PALM-meteo
|
Classes | |
class | BilinearRegridder |
class | CAMxCoordTransform |
class | WRFCoordTransform |
class | WrfPhysics |
Functions | |
def | calc_ph_hybrid (f, it, mu) |
def | calc_ph_sigma (f, it, mu) |
def | wrf_t (f, it) |
def | calc_gp (f, it, ph) |
def | palm_wrf_gw (f, lon, lat, levels, tidx=0) |
def | minterp (interp_heights, data_heights, u, v) |
def | get_wrf_dims (f, lat, lon, xlat, xlong) |
def | calcgw_wrf (f, lat, lon, levels, tidx=0) |
def | calcgw_gfs (v, lat, lon) |
def | combinegw_gfs (grbs, levels, lat, lon) |
Variables | |
metpy_version_master = int(metpy.__version__.split('.', 1)[0]) | |
int | gw_gfs_margin_deg = 5. |
Settings for geostrophic wind. More... | |
int | gw_wrf_margin_km = 10. |
int | gw_alpha = 1. |
ax_ = np.newaxis | |
parser = argparse.ArgumentParser(description=__doc__) | |
help | |
args = parser.parse_args() | |
f = netCDF4.Dataset(args.wrfout) | |
t = WRFCoordTransform(f) | |
mu = f.variables['MUB'][0,:,:] + f.variables['MU'][0,:,:] | |
gp = f.variables['PH'][0,:,:,:] + f.variables['PHB'][0,:,:,:] | |
phf | |
phh | |
def | gp_calc = calc_gp(f, 0, phf) |
def | delta = gp_calc - gp |
def palmmeteo_stdplugins.wrf_utils.calc_gp | ( | f, | |
it, | |||
ph | |||
) |
def palmmeteo_stdplugins.wrf_utils.calc_ph_hybrid | ( | f, | |
it, | |||
mu | |||
) |
def palmmeteo_stdplugins.wrf_utils.calc_ph_sigma | ( | f, | |
it, | |||
mu | |||
) |
def palmmeteo_stdplugins.wrf_utils.calcgw_gfs | ( | v, | |
lat, | |||
lon | |||
) |
def palmmeteo_stdplugins.wrf_utils.calcgw_wrf | ( | f, | |
lat, | |||
lon, | |||
levels, | |||
tidx = 0 |
|||
) |
def palmmeteo_stdplugins.wrf_utils.combinegw_gfs | ( | grbs, | |
levels, | |||
lat, | |||
lon | |||
) |
def palmmeteo_stdplugins.wrf_utils.get_wrf_dims | ( | f, | |
lat, | |||
lon, | |||
xlat, | |||
xlong | |||
) |
A crude method, yet satisfactory for approximate WRF surroundings
def palmmeteo_stdplugins.wrf_utils.minterp | ( | interp_heights, | |
data_heights, | |||
u, | |||
v | |||
) |
Interpolate wind using power law for agl levels
def palmmeteo_stdplugins.wrf_utils.palm_wrf_gw | ( | f, | |
lon, | |||
lat, | |||
levels, | |||
tidx = 0 |
|||
) |
Calculate geostrophic wind from WRF using metpy
def palmmeteo_stdplugins.wrf_utils.wrf_t | ( | f, | |
it | |||
) |
palmmeteo_stdplugins.wrf_utils.args = parser.parse_args() |
palmmeteo_stdplugins.wrf_utils.ax_ = np.newaxis |
palmmeteo_stdplugins.wrf_utils.f = netCDF4.Dataset(args.wrfout) |
palmmeteo_stdplugins.wrf_utils.gp = f.variables['PH'][0,:,:,:] + f.variables['PHB'][0,:,:,:] |
int palmmeteo_stdplugins.wrf_utils.gw_alpha = 1. |
int palmmeteo_stdplugins.wrf_utils.gw_gfs_margin_deg = 5. |
Settings for geostrophic wind.
int palmmeteo_stdplugins.wrf_utils.gw_wrf_margin_km = 10. |
palmmeteo_stdplugins.wrf_utils.help |
palmmeteo_stdplugins.wrf_utils.metpy_version_master = int(metpy.__version__.split('.', 1)[0]) |
palmmeteo_stdplugins.wrf_utils.mu = f.variables['MUB'][0,:,:] + f.variables['MU'][0,:,:] |
palmmeteo_stdplugins.wrf_utils.parser = argparse.ArgumentParser(description=__doc__) |
palmmeteo_stdplugins.wrf_utils.phf |
palmmeteo_stdplugins.wrf_utils.phh |
palmmeteo_stdplugins.wrf_utils.t = WRFCoordTransform(f) |