Maps of CTD stations of NASA's OMG Project
Tianyu Zhou, 10/12/2021, at UDel
1. The Map of all the Stations around Greenland (2016-2021)
Define the latitude and longitude range of the mapped region
Start to creat a map of Greenland. This requires the m_map toolbox (https://www.eoas.ubc.ca/~rich/map.html)
set(f,'units','centimeters','position',[1,1,12*1.5,9*1.5],'color','w')
m_proj('lambert','lon',[lon_start lon_end],'lat',[lat_start lat_end]);
Read bathymetry data around Greenland which are provided by GEBCO (https://www.gebco.net/)
fbath = '../data/GEBCO/gebco_Greenland.nc';
lat_bath = ncread(fbath,'lat');
lon_bath = ncread(fbath,'lon');
elevation = ncread(fbath,'elevation');
lat_bath = lat_bath(1:6:end);
lon_bath = lon_bath(1:6:end);
elevation = elevation(1:6:end,1:6:end);
elevation(elevation>=0) = nan;
[lat_bath,lon_bath] = meshgrid(lat_bath,lon_bath);
m_pcolor(lon_bath,lat_bath,elevation)
m_contour(lon_bath,lat_bath,elevation,[-3000 -3000],'k','linewidth',1)
m_contour(lon_bath,lat_bath,elevation,[-1000 -1000],'k','linewidth',1)
m_grid('box','on','linest','none','fontname','times','linewidth',0.1,...
'tickdir','out','backcolor',[1 1 1],'Fontsize',20);
m_gshhs_l('patch',[0.6 0.6 0.6]);
Read latitude and longitude (they are stored in a '.mat' file) of all the stations and plot them on the map
load(['../data/lonlat_',num2str(year),'.mat'])
m_plot(-lon,lat,'o','markersize',3,'color',[0.8500 0.3250 0.0980],'markerfacecolor',[0.8500 0.3250 0.0980])
Colorbar settings
colorbar('Position',[0.79 0.56 0.02 0.32],'fontname','times','fontsize',15)
2. The Map of Stations in Nares Strait (2016-2021)
Define the latitude and longitude range of Nares Strait
Load data located within Nares Strait (pre-selected and stored in a '.mat' file)
load('../data/OMG_data_Nares')
profi_num = size(output,1);
Create a map of Nares Strait
set(f,'units','centimeters','position',[1,1,12*1.5,9*1.5],'color','w')
m_proj('mercator','lon',[lon_start lon_end],'lat',[lat_start lat_end]);
m_pcolor(lon_bath,lat_bath,elevation)
m_contour(lon_bath,lat_bath,elevation,[-300 -300],'k','linewidth',1)
m_grid('box','on','linest','none','fontname','times','linewidth',0.1,'tickdir','out','backcolor',[1 1 1],'Fontsize',20);
m_gshhs_h('patch',[0.6 0.6 0.6]);
m_plot(-output{n,3},output{n,4},'.','color','r','markersize',20)
Colorbar settings
set(gca,'fontsize',16,'color','w');