From 3d7edcd3bba5e536ce11440f6c3456b043975418 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Mon, 4 Oct 2021 12:32:12 -0500 Subject: [PATCH] minor --- modules/util/plot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/util/plot.py b/modules/util/plot.py index 10e8ec96..af7ab02f 100644 --- a/modules/util/plot.py +++ b/modules/util/plot.py @@ -15,7 +15,7 @@ import cartopy.crs as ccrs import xarray as xr import os import h5py -from util.util import get_grid_values_all, get_cartopy_crs +from util.util import get_grid_values_all, get_cartopy_crs, homedir from util.setup import home_dir @@ -249,7 +249,7 @@ def make_icing_image(h5f, ice_lons, ice_lats, clvrx_str_time, satellite, domain, title = 'GOES-16, '+clvrx_str_time+' >50% Probability Icing' plt.title(title, loc='left', fontweight='bold', fontsize=24) - ImageDirAndName = os.path.join('/Users/tomrink', imagename+'_'+clvrx_str_time) + ImageDirAndName = os.path.join(homedir, imagename+'_'+clvrx_str_time) fig.savefig(ImageDirAndName) -- GitLab