%load NASAs OMG data 2020
%load output.mat % [NASA (2021)]
lon = file(:,1); % Longitude
lat = file(:,2); % Latitude
ind_depth = find(depth<=2);
set(gca,'ydir','reverse','linewidth',2,'fontsize',20)
set(gca,'ydir','reverse','linewidth',2,'fontsize',20)
ind_disko = find(lat >= 68 & lat <= 72 & lon <= 90 & lon >= 50);
lon_disko = lon(ind_disko);
lat_disko = lat(ind_disko);
depth_disko = depth(ind_disko);
temp_disko = temp(ind_disko);
sal_disko = sal(ind_disko);
%% MAP Greenland with 2020 OMG stations (red) plus highlighted Disko Bay stations (blue)
clf, axis([-80 -5 55 90])
topoplot(axis,-5:1/8:0),hold on % [Lilly (2021)]
topoplot continents, latratio(55) % [Lilly (2021)]
a = plot(lon.*(-1),lat,'wo','markerfacecolor','r');
b = plot(lon_disko.*(-1),lat_disko,'wo','markerfacecolor','b');
hc=colorbar;hc.Label.String='Bathymetry [km]';
title('NASAs OMG Data 2020 (stations)');
legend([a b],'Stations','Disko Bay','location','southeast')
set(gca,'fontsize',15,'linewidth',2)
clf, axis([-65 -50 66 73])
topoplot(axis,-5:1/8:0) % [Lilly (2021)]
topoplot continents, latratio(55) % [Lilly (2021)]
b = plot(lon.*(-1),lat,'wo','markerfacecolor','r')
b =
Line with properties:
Color: [1 1 1]
LineStyle: 'none'
LineWidth: 0.5000
Marker: 'o'
MarkerSize: 6
MarkerFaceColor: [1 0 0]
XData: [1×1438059 double]
YData: [1×1438059 double]
ZData: [1×0 double]
Show all properties
c = plot(lon_disko.*(-1),lat_disko,'wo','markerfacecolor','b');
hc=colorbar;hc.Label.String='Bathymetry [km]';
title('Disko Bay - NASAs OMG Data 2020 (stations)');
set(gca,'fontsize',20,'linewidth',2);
% How many stations airborned XCTD profiles to we have in Disko Bay?
% [lat_disko_station,lon_disko_station,num] = hista(lat_disko,lon_disko,0.1);
% number_stations_disko = length(num)
lat_disko_station = unique(lat_disko,'stable');
lon_disko_station = unique(lon_disko),'stable';
50.2077
50.5087
50.6596
50.8530
51.2437
51.3276
51.3933
51.6555
51.9380
51.9614
% find the profile and corresponding parameters
ind = find(lon_disko == lon_disko_station(profile,1));
depth1 = depth_disko(ind);
clf, axis([-65 -50 66 73])
topoplot(axis,-5:1/8:0) % [Lilly (2021)]
topoplot continents, latratio(55) % [Lilly (2021)]
e = plot(lon1.*(-1),lat1,'wo','markerfacecolor','b');
hc=colorbar;hc.Label.String='Bathymetry [km]';
title('Disko Bay - NASAs OMG Data 2020 (stations 2)');
set(gca,'fontsize',20,'linewidth',2);
clf, plot(temp1,depth1,'LineWidth',3)
xlabel('Temperature [degree C]')
set(gca,'linewidth',2,'fontsize',20)
set(gca,'ydir','reverse')
clf, plot(sal1,depth1,'linewidth',2)
set(gca,'ydir','reverse')
set(gca,'linewidth',2,'fontsize',20)
% Convert in-situ temperature t, salinity and depth z to pressure, absolute
% salinity SA and potential temperature pt
% The GSW toolbox of McDougall and Barker (2011) is used for the following compuations:
p = gsw_p_from_z(z*(-1),lat1);
SA = gsw_SA_from_SP(s,p,lat1,lon1)
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
set(gca,'ydir','reverse')
% For the same profile, use the following routines to estimate potential
% density at both zero and 1000-dbar pressure as well as the freezing point
pt = gsw_pt_from_t(SA,t,p,0)
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
set(gca,'ydir','reverse')
%3 use the following routines to estimate pot. density at both zero and
%1000-dbar pressure as well as the freezing point
% conservative temperature
CT = gsw_CT_from_t(SA,t,p)
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
set(gca,'ydir','reverse')
% potential density to zero pressure
r0 = gsw_sigma0(SA,CT)
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
set(gca,'ydir','reverse')
% potential density to 1000m pressure
r1 = gsw_sigma1(SA,CT)
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
set(gca,'ydir','reverse')
tf = gsw_CT_freezing_poly(SA,p,1)
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
NaN
set(gca,'ydir','reverse')
% Plot the profile to compare in-situ with pontential temperature
clf, plot(t,p,'linewidth',3)
xlabel('Temperature [deg C]')
ylabel('Pressure [dbar]')
legend('in-situ','potential','location','southwest')
set(gca,'fontsize',20,'linewidth',2)
set(gca,'ydir','reverse')
% Plot the profile of absolute salinity... and potential density
xlabel('Absolute Salinity')
ylabel('Pressure [dbar]')
set(gca,'fontsize',20,'linewidth',2)
set(gca,'ydir','reverse')
xlabel('pot. density [kg/m^3]')
ylabel('Pressure [dbar]')
set(gca,'fontsize',20,'linewidth',2)
set(gca,'ydir','reverse')
legend('zero pressure','1000-m pressure','location','southwest')
% Estimate and plot a first metric on the heat-content within the water
% profile as the positive difference of the potential temperature and the
% freezing point temperature
clf, plot(T,p,'linewidth',3)
xlabel('pot temp - freezing point [deg C]')
ylabel('Pressure [dbar]')
set(gca,'linewidth',2,'fontsize',20)
set(gca,'ydir','reverse')