Skip to content

Commit

Permalink
bugfix in plotting of satellite data on map
Browse files Browse the repository at this point in the history
  • Loading branch information
bohlinger committed Nov 6, 2024
1 parent 2920dc7 commit e1daa7a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wavy/quicklookmod.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)) != "<class 'wavy.satellite_module.satellite_class'>":
if len(plot_lons.shape) < 2:
plot_lons, plot_lats = np.meshgrid(plot_lons, plot_lats)

fs = kwargs.get('fs', 12)

Expand Down

0 comments on commit e1daa7a

Please sign in to comment.