Skip to content

Commit

Permalink
Merge pull request #28 from Coastal-Imaging-Research-Network/version-1.1
Browse files Browse the repository at this point in the history
Add version number function and version to bathy struct
  • Loading branch information
KateBrodie authored Dec 12, 2017
2 parents 8bcebf2 + c683755 commit df84f40
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
2 changes: 2 additions & 0 deletions analyzeBathyCollect.m
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@

bathy = fixBathyTide(bathy);

bathy.version = cBathyVersion();

%if ((exist(bathy.params.tideFunction) == 2)) % existing function
% try
% foo = parseFilename(bathy.sName);
Expand Down
33 changes: 33 additions & 0 deletions cBathyVersion.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
function version = cBathyVersion()

% version = cBathyVersion();
%
% return the version number of cBathy, to be saved with the cBathy
% struct.

version = 1.1;

%
% Copyright (C) 2017 Coastal Imaging Research Network
% and Oregon State University

% This program is free software: you can redistribute it and/or
% modify it under the terms of the GNU General Public License as
% published by the Free Software Foundation, version 3 of the
% License.

% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.

% You should have received a copy of the GNU General Public License
% along with this program. If not, see
% <http://www.gnu.org/licenses/>.

% CIRN: https://coastal-imaging-research-network.github.io/
% CIL: http://cil-www.coas.oregonstate.edu
%
%key cBathy
%

0 comments on commit df84f40

Please sign in to comment.