Skip to content

Commit

Permalink
Merge pull request #144 from owang01/circle_boundary
Browse files Browse the repository at this point in the history
Add a new argument circle_boundary for plot_proj_to_latlon_grid
  • Loading branch information
owang01 authored Jan 25, 2023
2 parents 31dfeaa + aac2ec7 commit 4d2513e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ecco_v4_py/tile_plot_proj.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def plot_proj_to_latlon_grid(lons, lats, data,
mapping_method='nearest_neighbor',
radius_of_influence = 112000,
plot_type = 'pcolormesh',
circle_boundary = False,
cmap = None,
cmin = None,
cmax = None,
Expand Down Expand Up @@ -103,6 +104,9 @@ def plot_proj_to_latlon_grid(lons, lats, data,
'pcolormesh' - pcolormesh
'contourf' - filled contour
'points' - plot points at lat/lon locations
circle_boundary : logical, optional, default False
use a circle boundary or not
cmap : matplotlib.colors.Colormap, optional, default None
a colormap for the figure.
Expand Down Expand Up @@ -232,6 +236,7 @@ def plot_proj_to_latlon_grid(lons, lats, data,
lat_lim,
cmin, cmax, ax,
plot_type = plot_type,
circle_boundary = circle_boundary,
cmap = cmap,
show_coastline = show_coastline,
show_colorbar = show_colorbar,
Expand Down Expand Up @@ -317,6 +322,7 @@ def plot_proj_to_latlon_grid(lons, lats, data,
data_epsg_code,
cmin, cmax, ax,
plot_type = plot_type,
circle_boundary = circle_boundary,
cmap = cmap,
show_coastline = show_coastline,
show_colorbar = show_colorbar,
Expand Down

0 comments on commit 4d2513e

Please sign in to comment.