Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Achim Morschhauser
OBS_MAT
Commits
a866e04e
Commit
a866e04e
authored
Jun 04, 2018
by
Achim Morschhauser
Browse files
GAN2XLS bugfix
parent
640cb8f4
Changes
4
Hide whitespace changes
Inline
Side-by-side
calculate_baselines_environment.m
View file @
a866e04e
...
...
@@ -19,8 +19,9 @@ clear all
close
all
figure
station
=
'GAN0j'
;
%station = 'SMA0g'; % c or d or g or s or l for datalogger
station
=
'WNG5g'
;
% c or d or g or s or l for datalogger
%
station = 'WNG5g'; % c or d or g or s or l for datalogger
%station = 'NGK0g'; % c or d or g or s or l for datalogger
%station = 'TDC1d'; % c or d or g or s or l for datalogger
%station = 'VNA1s'; % c or d or g or s or l for datalogger
...
...
@@ -37,9 +38,9 @@ timeshift_array = [-300:1:300]';
number_DI
=
1000
;
% read in all DI-measurements for this year
number_DI
=
5
;
% read in the last x measurements in this year
number_DI
=
0
;
% use date range from below
year
=
201
8
;
start_mmdd
=
'0
509
'
;
end___mmdd
=
'0
509
'
;
year
=
201
4
;
start_mmdd
=
'0
101
'
;
end___mmdd
=
'0
101
'
;
...
...
lib/write_DI_xls.m
View file @
a866e04e
...
...
@@ -159,7 +159,7 @@ clearvars tmp
% Residuals
tmp
=
num2cell
(
zeros
(
8
,
1
));
my_xlswrite
(
opsys
,
file_new
,
tmp
,
1
,
'
D
19'
);
my_xlswrite
(
opsys
,
file_new
,
tmp
,
1
,
'
E
19'
);
clearvars
tmp
% /////////////////////////////////////////////////////////////////////
...
...
@@ -175,6 +175,7 @@ for i=1:length(fields)
tmp
{
2
*
i
-
1
}
=
tmpval
;
tmp
{
2
*
i
}
=
tmpval
;
end
tmp
{
end
+
1
}
=
tmp
{
end
};
my_xlswrite
(
opsys
,
file_new
,
tmp
',1,'
B37
'
);
clearvars
tmp
...
...
@@ -187,12 +188,13 @@ for i=1:length(fields)
tmp
{
2
*
i
-
1
}
=
tmpval
;
tmp
{
2
*
i
}
=
tmpval
;
end
tmp
{
end
+
1
}
=
NaN
;
my_xlswrite
(
opsys
,
file_new
,
tmp
',1,'
D37
'
);
clearvars
tmp
% Residuals
tmp
=
num2cell
(
zeros
(
8
,
1
));
tmp
=
num2cell
(
zeros
(
9
,
1
));
my_xlswrite
(
opsys
,
file_new
,
tmp
,
1
,
'E37'
);
clearvars
tmp
...
...
tools/DI_GAN2014/DI_GAN_201401010625.xls
0 → 100644
View file @
a866e04e
File added
tools/DI_GAN2014/DI_GAN_201401010645.xls
0 → 100644
View file @
a866e04e
File added
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment