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

Add minor syntax changes (extra spaces here and there). Also move the verbose...

Add minor syntax changes (extra spaces here and there). Also move the verbose statments to after the return so they actually get run!
parent d4aee511
......@@ -68,9 +68,8 @@ function data = get_NCEP_forcing(Mobj, modelTime)
subname = 'get_NCEP_forcing';
global ftbverbose;
if(ftbverbose);
fprintf('\n')
fprintf(['begin : ' subname '\n'])
if ftbverbose
fprintf('\nbegin : %s\n', subname)
end
% Get the extent of the model domain (in spherical)
......@@ -118,7 +117,7 @@ ncep.pevpr = ['http://www.esrl.noaa.gov/psd/thredds/dodsC/Datasets/ncep.reanaly
fields = fieldnames(ncep);
for aa=1:length(fields)
for aa = 1:length(fields)
data.(fields{aa}).data = [];
data.(fields{aa}).time = [];
data.(fields{aa}).lat = [];
......@@ -344,8 +343,6 @@ data.lon = data.(fields{1}).lon;
data.lon(data.lon > 180) = data.lon(data.lon > 180) - 360;
data.lat = data.(fields{1}).lat;
return
% Have a look at some data.
% [X, Y] = meshgrid(data.lon, data.lat);
% for i=1:size(data.uwnd.data, 3)
......@@ -357,6 +354,9 @@ return
% axis('equal','tight')
% pause(0.1)
% end
if ftbverbose;
if ftbverbose
fprintf(['end : ' subname '\n'])
end
return
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