sfregosi / agate

agate: Acoustic Glider Analysis Tools and Environment. MATLAB-based tools for working with passive acoustic underwater gliders.
https://sfregosi.github.io/agate/
GNU General Public License v3.0
2 stars 2 forks source link

`createBasemap`: allow `bathyOn` argument to be default or specify file #75

Closed sfregosi closed 2 months ago

sfregosi commented 2 months ago

In createBasemap, can either set bathymetry plotting on or off. If it's on, it looks for a CONFIG.map.bathyFile and if that is not specified it prompts to select the basemap.

Modify this to allow for the argument to EITHER be an integer (0 off, 1 on) or be a char that specifies a file if you want to plot bathy that is other than the file specified in the configuration file.

The configuration file one is often high resolution resulting in very large image file sizes. This would allow for one time specifying a lower res file.

sfregosi commented 2 months ago

0fefd203b1c38547a472272dd0ffa544a9c90908