![]() ![]() arange ( 870, 1050, 10 ), colors = 'black', label = True, linewidths = 2 ) # 20CR2c label mg. plot ( ax_2c, prmsl_m, scale = 0.01, resolution = 0.25, levels = numpy. arange ( 870, 1050, 10 ), colors = 'blue', label = False, linewidths = 0.1 ) # Add the ensemble mean - with labels prmsl_m = prmsl. plot ( ax_2c, prmsl, scale = 0.01, type = 'spaghetti', resolution = 0.25, levels = numpy. load ( 'prmsl', dte, version = '2c' ) # Contour spaghetti plot of ensemble members mg. ![]() plot ( ax_2c, obs_h, radius = 0.25, facecolor = 'red', zorder = 100 ) # load the 2c pressures prmsl = twcr. plot ( ax_2c, obs, radius = 0.15 ) # Highlight the Hurricane obs obs_h = obs if not obs_h. load_observations_fortime ( dte, version = '2c' ) mg. background_img ( name = 'GreyT', resolution = 'low' ) # Add the observations from 2c obs = twcr. background_img ( name = 'GreyT', resolution = 'low' ) land_img_3 = ax_3. set_extent ( extent, crs = projection ) # Background, grid and land for both ax_2c. add_axes (, projection = projection ) ax_3. set_extent ( extent, crs = projection ) ax_3 = fig. add_axes (, projection = projection ) ax_2c. RotatedPole ( pole_longitude = 110, pole_latitude = 56 ) scale = 30 extent = # Two side-by-side plots ax_2c = fig. sqrt ( 2 )), # Width, Height (inches) dpi = 100, facecolor = ( 0.88, 0.88, 0.88, 1 ), edgecolor = None, linewidth = 0.0, frameon = False, subplotpars = None, tight_layout = None ) canvas = FigureCanvas ( fig ) # US-centred projection projection = ccrs. ![]() datetime ( year, month, day, hour ) # Landscape page fig = Figure ( figsize = ( 22, 22 / math. #!/usr/bin/env python # US region weather plot # Compare pressures from 20CRV3 and 20CRV2c import math import datetime import numpy import pandas import iris import iris.analysis import matplotlib from _agg import \įigureCanvasAgg as FigureCanvas from matplotlib.figure import Figure import cartopy import cartopy.crs as ccrs import Meteorographica as mg import IRData.twcr as twcr # Date to show year = 1900 month = 9 day = 8 hour = 0o6 dte = datetime. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |