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 4387bdb1 authored by Pierre Cazenave's avatar Pierre Cazenave

Trim trailing whitespace.

parent c14e06f7
......@@ -31,7 +31,7 @@ function dataz = grid_vert_interp(Mobj, lon, lat, data, depth, mask, varargin)
% specifies the coordinates to use for the extrapolation (e.g.
% 'extrapolate', [Mobj.lonc, Mobj.latc] to extrapolate onto the element
% centres). Defaults to the element nodes (i.e. [Mobj.lon, Mobj.lat]).
%
%
% OUTPUT:
% x by y by z array of vertically interpolated values at each regular
% grid location.
......@@ -43,7 +43,7 @@ function dataz = grid_vert_interp(Mobj, lon, lat, data, depth, mask, varargin)
% Extrapolate using the element centres.
% grid_vert_interp(Mobj, lon, lat, data, depth, mask, ...
% 'extrapolate', [Mobj.lonc, Mobj.latc])
%
%
% Author(s):
% Pierre Cazenave (Plymouth Marine Laboratory)
%
......@@ -131,7 +131,7 @@ parfor xi = 1:nx
xdata = squeeze(data(xi, :, :));
xdepth = squeeze(depth(xi, :, :));
xmask = mask(xi, :);
% Preallocate the arrays for the inner loop.
ydata = nan(ny, fz);
for yi = 1:ny
......@@ -152,7 +152,7 @@ parfor xi = 1:nx
else
% Use the FVCOM node's sigma depths to interpolate this regular
% grid position's temperature and salinity data.
% Get the FVCOM depths closest to this regular grid position.
try
tfz = Mobj.siglayz(mi, :);
......
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