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 a6c09b9f authored by Ricardo Torres's avatar Ricardo Torres 💬

Updated write_FVCOM_restart as a result of potential incompatibility with...

Updated write_FVCOM_restart as a result of potential incompatibility with current matlab version. Related to fillinvalue attribute requiring netcdf.defVarFill instead of fillAtt
parent 93b495f4
......@@ -191,8 +191,11 @@ for ii = 1:numvars
attname = netcdf.inqAttName(nc, varid, j - 1);
attval = netcdf.getAtt(nc, varid, attname);
if startsWith(attname ,{'_FillValue'})
netcdf.defVarFill(ncout, varid,false,attval);
netcdf.putAtt(ncout, varid, attname, attval);
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