Due to a shift in policy, from 0900 GMT on Wednesday 14th July 2021, we will be disabling ssh access to the server for external users. External users who wish to continue to access code repositories on the server will need to switch to using https. This can be accomplished in the following way: 1) On the repo on gitlab, use the clone dialogue and select ‘Clone with HTTPS’ to get the address of the repo; 2) From within the checkout of your repo run: $ git remote set-url origin HTTPS_ADDRESS. Here, replace HTTPS_ADDRESS with the address you have just copied from GitLab. Pulls and pushes will now require you to enter a username and password rather than using a ssh key. If you would prefer not to enter a password each time, you might consider caching your login credentials.

Commit 4e501d65 authored by Pierre Cazenave's avatar Pierre Cazenave

Remove email address

parent 638c678e
function show_sigma(meshfile,bathfile,sigmafile,varargin)
% plot a sigma distribution along a user-selected line
% function [] = show_sigma(meshfile,bathfile,sigmafile)
% show_sigma(meshfile,bathfile,sigmafile)
% plot a sigma distribution along a user-selected line
......@@ -20,7 +20,7 @@ function show_sigma(meshfile,bathfile,sigmafile,varargin)
% Author(s):
% Geoff Cowles (University of Massachusetts Dartmouth)
% Pierre Cazenave (Plymouth Marine Laboratory, pica@pml.ac.uk)
% Pierre Cazenave (Plymouth Marine Laboratory)
% Revision history
% 2013-01-08 Added more resilient reading of the sigma coordinates file
......@@ -151,7 +151,7 @@ ds = (xt(2)-xt(1))/(npts-1);
xline = xt(1):ds:xt(2);
ds = (yt(2)-yt(1))/(npts-1);
yline = yt(1):ds:yt(2);
plot(xline, yline, 'r+')
plot(xline, yline, 'w+')
sline = zeros(1, npts);
for i=2:npts
sline(i) = sline(i-1) + sqrt((xline(i)-xline(i-1))^2 + (yline(i)-yline(i-1))^2);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment