ECCO-GROUP / ECCOv4-py

A Python library with routines that support the loading, analysis, and plotting fields of the ECCO Version 4 Ocean and Sea-Ice State Estimate. The ecco_v4_py library builds on several valuable tools such as xmitgcm, gcm, xarray, and dask.
MIT License
31 stars 31 forks source link

Fix potentially incomplete return arrays of plot_proj_to_latlon_grid #138

Closed owang01 closed 2 years ago

owang01 commented 2 years ago

When the plotting is broken into two parts, the three arrays returned by plot_proj_to_latlon_grid (gridded longitude, latitude and data) would only cover part of the globe, the longitude band defined in the second part of the plotting. The fix outputs the arrays that cover the globe from -180E to 180E.