Statistics and Visualizations of Profiles in Nares Strait (2016-2021)
Tianyu Zhou, 10/12/2021, at UDel
1. Statistics of maximum sampling depth
Load data located within Nares Strait (pre-selected and stored in a '.mat' file)
load('../data/OMG_data_Nares')
profi_num = size(output,1);
year = ones(1,profi_num);
depth_max = ones(1,profi_num);
depth_max(n) = max(data(:,2));
depth_max(n) = max(data(:,3));
Make a histogram showing the distribution of maximum sampling depth
set(f,'units','centimeters','position',[1,1,15.5*1.5,9*1.5],'color','w')
text(700,15,['Total profiles: ',num2str(profi_num)],'color','r','FontSize',FontSize)
xlabel('Maximum Sampling Depth (m)','FontWeight','bold')
ylabel('Counts','FontWeight','bold')
set(gca,'FontSize',FontSize,'tickdir','out')
2. Statistics of sampling year
Make a histogram showing the distributions of years
set(f,'units','centimeters','position',[1,1,15.5*1.5,9*1.5],'color','w')
year_stat(n) = length(find(year==2015+n));
b = bar(2016:2021,year_stat);
text(2015,20,['Total profiles: ',num2str(profi_num)],'color','r','FontSize',FontSize)
set(gca,'FontSize',FontSize,'tickdir','out')
xlabel('Sampling Year','FontWeight','bold')
ylabel('Counts','FontWeight','bold')
3. Visualizations of all profiles (2016-2021)
Temperature profiles
set(f,'units','centimeters','position',[1,1,9*1.2,12*1.2],'color','w')
% delete the abnormal data and make plots
xlabel('Potential Temperature (^{o}C)','FontWeight','bold')
ylabel('Depth (m)','FontWeight','bold')
set(gca,'FontSize',FontSize,'tickdir','out','xaxislocation','top')
Salinity profiles
set(f,'units','centimeters','position',[1,1,9*1.2,12*1.2],'color','w')
% NOTE: a small percentage of probes do not have salinity data
% delete the abnormal data and make plots
xlabel('Salinity (ppt)','FontWeight','bold')
ylabel('Depth (m)','FontWeight','bold')
set(gca,'FontSize',FontSize,'tickdir','out','xaxislocation','top')