Update docs by adding link to catalog format documentation

This commit is contained in:
2024-08-29 13:51:45 +02:00
parent 221d8ba37a
commit 5b65058b89
4 changed files with 18 additions and 1 deletions

View File

@@ -14,6 +14,9 @@ function [varargout] = extractColumns(catalog, varargin)
% each structure has fields 'field' and 'val'. The function returns the
% values of the requested columns.
%
% For more details on the catalog format, see:
% https://docs.cyfronet.pl/display/ISDOC/Catalog+-+description
%
% Example:
% catalog(1).field = 'ID'; catalog(1).val = [1, 2, 3];
% catalog(2).field = 'Time'; catalog(2).val = [100, 200, 300];
@@ -34,6 +37,9 @@ function column = findColumn(catalog, colName)
% column = FINDCOLUMN(catalog, colName) searches the catalog structure
% for the specified column name and returns its values. If the column
% does not exist, an error is thrown.
%
% Refer to the catalog documentation for further information:
% https://docs.cyfronet.pl/display/ISDOC/Catalog+-+description
for c = 1:length(catalog)
if strcmp(catalog(c).field, colName)