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
cris_l1b
user
Commits
a8bf1ea9
Commit
a8bf1ea9
authored
Mar 30, 2022
by
Joe Taylor
Browse files
simple change to cris_gran_RU_ncparam.m to only save RU output file
no longer uses saveTotalRU_FLAG
parent
0d803bee
Pipeline
#36624
canceled with stage
in 5 minutes and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
RU/cris_gran_RU_ncparam.m
View file @
a8bf1ea9
...
...
@@ -87,7 +87,7 @@ l1b_dat = read_l1b_for_RU(l1b_fname);
%% not needed to calc RU estimate, but used here to record configuration options
%%%%%%%%%%
opts
.
neonl
=
l1b_dat
.
aux
.
neon_wlen
;
save
(
fullfile
(
pname_out
,
sprintf
(
'%sopts.mat'
,
fname_out
)),
'opts'
);
%
save(fullfile(pname_out,sprintf('%sopts.mat',fname_out)), 'opts');
%%%%%%%%%%
% store lat and lon data to RU structure
...
...
@@ -285,7 +285,9 @@ for jj = 1:length(bands)
RU_out
.
(
bands
{
jj
})
.
ru_rad_rss
=
RU
.
(
bands
{
jj
})
.
ru_rad
.
total
;
RU_out
.
(
bands
{
jj
})
.
rad
=
RU
.
(
bands
{
jj
})
.
rad_polcorr
;
end
%%%%%%%%%%%%%%%%%%%% end loop over bands, jj %%%%%%%%%%%%%%%%%%%%
if
saveTotalRU_FLAG
==
1
save
(
fullfile
(
pname_out
,
sprintf
(
'%s.mat'
,
fname_out
)),
'RU_out'
);
end
fprintf
(
1
,
'Saving RU output file\n'
);
RU_out
.
opts
=
opts
;
save
(
fullfile
(
pname_out
,
sprintf
(
'%s.mat'
,
fname_out
)),
'RU'
);
return
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