-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathIceCheck.m
More file actions
19 lines (17 loc) · 818 Bytes
/
Copy pathIceCheck.m
File metadata and controls
19 lines (17 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
%% Determine whether to use the IceFilter
% Written by S. Tuozzolo, 8/2014
% This can be updated in the future with more rivers... and maybe a better
% way for checking about ice. A latitude check?
function [DoIce,icefile] = IceCheck(rivername);
if strcmp(rivername,'Yukon') || strcmp(rivername,'Mackenzie')...
||strcmp(rivername,'Indigirka') || strcmp(rivername,'Kolyma')...
|| strcmp(rivername,'Lena') || strcmp(rivername,'Menzen')...
||strcmp(rivername,'Ob') || strcmp(rivername,'Olenyok')...
|| strcmp(rivername,'Pechora')|| strcmp(rivername,'StLawrence')...
|| strcmp(rivername,'Yenisei');
DoIce=true;
else
DoIce=false;
end
icefile = ['icebreak_' rivername];
end