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

Merge fix from Karen with regards setting constant temperature and salinity rather than 3D arrays

parent ea590026
......@@ -34,6 +34,8 @@ function write_FVCOM_tsobc(basename,time,nSiglay,in_temp,in_salt,Mobj)
% salinity.
% 2013-01-09 Add support for 3D input temperature and salinity (such as
% might be generated with get_POLCOMS_tsobc.m.
% KJT: Add better check for the size of the input arrays (works with
% scalars).
......@@ -107,7 +109,7 @@ nTimes = numel(time);
nSiglev = nSiglay + 1;
% Create or process the temperature and salinity arrays.
if ndims(in_temp) == 1
if max(size(in_temp)) == 1
inc = 1/real(nSiglay);
siglev = 0:-inc:-1;
siglay = nan(1, nSiglay);
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