diff --git a/modules/util/plot.py b/modules/util/plot.py index 10e8ec962fb6fd195650573d50542e554287d2f2..af7ab02f6168f1ccd561f945ad1b4eddf6bb9eb5 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)