diff --git a/docs/Users_Guide/figure/tmp_500hPa.png b/docs/Users_Guide/figure/tmp_500hPa.png index ea48477e..d8be105c 100644 Binary files a/docs/Users_Guide/figure/tmp_500hPa.png and b/docs/Users_Guide/figure/tmp_500hPa.png differ diff --git a/docs/Users_Guide/figure/tmp_pbl.png b/docs/Users_Guide/figure/tmp_pbl.png index 097b5d6a..d02e6542 100644 Binary files a/docs/Users_Guide/figure/tmp_pbl.png and b/docs/Users_Guide/figure/tmp_pbl.png differ diff --git a/docs/Users_Guide/figure/ugrd_28.0N-120.0E-26.0N-75.0E.png b/docs/Users_Guide/figure/ugrd_28.0N-120.0E-26.0N-75.0E.png index a2920241..6ce7ca54 100644 Binary files a/docs/Users_Guide/figure/ugrd_28.0N-120.0E-26.0N-75.0E.png and b/docs/Users_Guide/figure/ugrd_28.0N-120.0E-26.0N-75.0E.png differ diff --git a/metplotpy/contributed/fv3_physics_tend/cross_section_vert.py b/metplotpy/contributed/fv3_physics_tend/cross_section_vert.py index 9e22070a..7f922056 100644 --- a/metplotpy/contributed/fv3_physics_tend/cross_section_vert.py +++ b/metplotpy/contributed/fv3_physics_tend/cross_section_vert.py @@ -242,12 +242,14 @@ def main(): longitude_of_central_meridian=-97.5, latitude_of_projection_origin=fv3["standard_parallel"]).metpy.assign_y_x( force=True, tolerance=55000*units.m) - logging.info("Define cross section.") - cross = cross_section(da2plot, startpt, endpt) # dequantify moves units from DataArray to attributes. Now they show up in colorbar. + # and avoid NotImplementedError: Don't yet support nd fancy indexing from cross_section() da2plot = da2plot.metpy.dequantify() + logging.info("Define cross section.") + cross = cross_section(da2plot, startpt, endpt) + logging.info("plot pcolormesh") # normalized width and height of inset. Shrink colorbar to provide space. wid_inset, hgt_inset = 0.18, 0.18 @@ -287,7 +289,7 @@ def main(): # Annotate figure with args namespace and timestamp fineprint = f"{args} " - fineprint += f", created {datetime.datetime.now(tz=None)}" + fineprint += f"created {datetime.datetime.now(tz=None)}" if nofineprint: logging.debug(fineprint) else: diff --git a/metplotpy/contributed/fv3_physics_tend/planview_fv3.py b/metplotpy/contributed/fv3_physics_tend/planview_fv3.py index b3ad5956..215bb46b 100644 --- a/metplotpy/contributed/fv3_physics_tend/planview_fv3.py +++ b/metplotpy/contributed/fv3_physics_tend/planview_fv3.py @@ -300,9 +300,9 @@ def main(): title = f'{da2plot.coords["long_name"].data} {title}' plt.suptitle(title, wrap=True) - # Annotate figure with args namespace, total area, and timestamp + # Annotate figure with args namespace and timestamp fineprint = f"{args} " - fineprint += (f"created {datetime.datetime.now(tz=None)}") + fineprint += f"created {datetime.datetime.now(tz=None)}" if nofineprint: logging.debug(fineprint) else: