diff --git a/wavy/quicklookmod.py b/wavy/quicklookmod.py index b08857c..cca9bc9 100755 --- a/wavy/quicklookmod.py +++ b/wavy/quicklookmod.py @@ -60,8 +60,9 @@ def quicklook(self, a=False, projection=None, **kwargs): plot_var_obs = self.vars.obs_values plot_var_model = self.vars.model_values - if len(plot_lons.shape)<2: - plot_lons, plot_lats = np.meshgrid(plot_lons, plot_lats) + if str(type(self)) != "": + if len(plot_lons.shape) < 2: + plot_lons, plot_lats = np.meshgrid(plot_lons, plot_lats) fs = kwargs.get('fs', 12)