Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Defined cases for Atlantic, Indik, and Pacific Ocean in plot_transect_map #12

@crodehacke

Description

@crodehacke

I would like to suggest to allow restricting the plot_transect_map to the three ocean basis.

plot_transect_map(lon_start, lat_start, lon_end, lat_end,
                      mesh, npoints=30, view = 'w', stock_img=False):
    :
    if view=='w':
      :
      :
    elif view=='atl':
        # Atlantic
        ax = plt.subplot(111, projection=ccrs.Mercator(central_longitude=0))
        ax.set_extent([25, -85, -75, 70], crs=ccrs.PlateCarree())
    elif view=='ind':
        # Indik
        ax = plt.subplot(111, projection=ccrs.Mercator(central_longitude=70))
        ax.set_extent([140, +15, -75, 30], crs=ccrs.PlateCarree())
    elif view=='pac':
        # Pacific
        ax = plt.subplot(111, projection=ccrs.Mercator(central_longitude=-180))
        ax.set_extent([-255, -70, -75, 67], crs=ccrs.PlateCarree())   
    else:
:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions