diff --git a/RU/.gitattributes b/RU/.gitattributes index 9abd2058819fae6e5f68d95ef7ffd1a2abad7650..44a043b3aa6964811a2d76e7d3ce982a0a98629f 100644 --- a/RU/.gitattributes +++ b/RU/.gitattributes @@ -1 +1,2 @@ *.nc filter=lfs diff=lfs merge=lfs -text +*.mat filter=lfs diff=lfs merge=lfs -text diff --git a/RU/PLOT/cris_ru_plot.m b/RU/PLOT/cris_ru_plot.m index feb07d0ffc0d938e4eaf242ad5e0e3faafa89442..0f536e7a82c3c78c7d8eb70872e040bcc15f4334 100644 --- a/RU/PLOT/cris_ru_plot.m +++ b/RU/PLOT/cris_ru_plot.m @@ -103,9 +103,9 @@ for ii = 1:length(bands) end grid on if ii == 3 - pos = get(gca,'position') + pos = get(gca,'position'); h_l = legend(leg_str); - h_pos = get(h_l,'Pos') + h_pos = get(h_l,'Pos'); set(h_l,'Position',[1-h_pos(3),h_pos(2:4)]); end diff --git a/RU/TEST_OUTPUT/SNDR.J1.CRIS.20180401T2254.m06.g230.L1B.std.v03_08.G.201214201329_RU.mat b/RU/TEST_OUTPUT/SNDR.J1.CRIS.20180401T2254.m06.g230.L1B.std.v03_08.G.201214201329_RU.mat new file mode 100644 index 0000000000000000000000000000000000000000..b894979afb5bb822d56757dec792a8a3a47d01f5 --- /dev/null +++ b/RU/TEST_OUTPUT/SNDR.J1.CRIS.20180401T2254.m06.g230.L1B.std.v03_08.G.201214201329_RU.mat @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b6f5fdbb0e8054732dbb56e2d242d8c1bae1aeed17289332099cc0599c951ae +size 315733536 diff --git a/RU/TEST_OUTPUT/SNDR.J1.CRIS.20180401T2254.m06.g230.L1B.std.v03_08.G.201214201329_RUopts.mat b/RU/TEST_OUTPUT/SNDR.J1.CRIS.20180401T2254.m06.g230.L1B.std.v03_08.G.201214201329_RUopts.mat new file mode 100644 index 0000000000000000000000000000000000000000..b8e495f53fd740f94ece7a79fdc08555bb1361d0 --- /dev/null +++ b/RU/TEST_OUTPUT/SNDR.J1.CRIS.20180401T2254.m06.g230.L1B.std.v03_08.G.201214201329_RUopts.mat @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d46ce0a9a258d0ec111c97ceebd74c24d0e33f725cfb399767e6af11544a7618 +size 409 diff --git a/RU/TEST_OUTPUT/SNDR.SNPP.CRIS.20180401T2206.m06.g222.L1B.std.v03_08.G.201231185850_RU.mat b/RU/TEST_OUTPUT/SNDR.SNPP.CRIS.20180401T2206.m06.g222.L1B.std.v03_08.G.201231185850_RU.mat new file mode 100644 index 0000000000000000000000000000000000000000..24a58a0b54d23ca02e6ee78d59bdd282c0162e63 --- /dev/null +++ b/RU/TEST_OUTPUT/SNDR.SNPP.CRIS.20180401T2206.m06.g222.L1B.std.v03_08.G.201231185850_RU.mat @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f0f84f195d6d87376180908d9f5c2f9d10b86ae201ba6479139ec40ca214092 +size 315255262 diff --git a/RU/TEST_OUTPUT/SNDR.SNPP.CRIS.20180401T2206.m06.g222.L1B.std.v03_08.G.201231185850_RUopts.mat b/RU/TEST_OUTPUT/SNDR.SNPP.CRIS.20180401T2206.m06.g222.L1B.std.v03_08.G.201231185850_RUopts.mat new file mode 100644 index 0000000000000000000000000000000000000000..3b18f46c88c0ac9488b3b0e4aa7a0242dcf03631 --- /dev/null +++ b/RU/TEST_OUTPUT/SNDR.SNPP.CRIS.20180401T2206.m06.g222.L1B.std.v03_08.G.201231185850_RUopts.mat @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:296b98f75e94e71fa8cc17f3c451ecf953577b22282c36d6fc8f0dbd9833679a +size 413 diff --git a/RU/cris_calbudget_1gran_nc_wrapper.m b/RU/cris_calbudget_1gran_nc_wrapper.m index 09e290791780dc0a0d8ca88b27c42caf91a2c49b..66441c1a89cad3a89b23ed823b30f7bda9389651 100644 --- a/RU/cris_calbudget_1gran_nc_wrapper.m +++ b/RU/cris_calbudget_1gran_nc_wrapper.m @@ -43,16 +43,20 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% START: USER INPUT %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% set l1b_pname, l1b_fname, ru_code_pname, saveTotalRU_FLAG, pname_out for your configuration +%% two examples are provided for the test input data granules -%% Example 1: SNPP -%sat_name = 'SNPP'; % set to 'J1' or 'SNPP' -%l1b_fname = 'SNDR.SNPP.CRIS.20180401T1306.m06.g132.L1B.std.v03_08.G.201231182944.nc'; % set to file name of v3 L1b granule +l1b_pname = '/Users/joet/git/cris_l1b_user/RU/TEST_INPUT'; % set to path to v3 L1b granule + +%% Example 1: SNPP; uncomment the two lines below to run the SNPP test granule +sat_name = 'SNPP'; % set to 'J1' or 'SNPP' +l1b_fname = 'SNDR.SNPP.CRIS.20180401T1306.m06.g132.L1B.std.v03_08.G.201231182944.nc'; % set to file name of v3 L1b granule %l1b_fname = 'SNDR.SNPP.CRIS.20180401T2206.m06.g222.L1B.std.v03_08.G.201231185850.nc'; % set to file name of v3 L1b granule -%% Example 1: NOAA-20/JPSS-1 -sat_name = 'J1'; % set to 'J1' or 'SNPP' -l1b_fname = 'SNDR.J1.CRIS.20180401T2254.m06.g230.L1B.std.v03_08.G.201214201329.nc'; % set to file name of v3 L1b granule -l1b_pname = '/Users/joet/git/cris_l1b_user/RU/TEST_INPUT'; % set to path to v3 L1b granule +%% Example 2: NOAA-20/JPSS-1; uncomment two the lines below to run the NOAA-20 test granule +%sat_name = 'J1'; % set to 'J1' or 'SNPP' +%l1b_fname = 'SNDR.J1.CRIS.20180401T2254.m06.g230.L1B.std.v03_08.G.201214201329.nc'; % set to file name of v3 L1b granule + ru_code_pname = pwd; % set to path of the RU code saveTotalRU_FLAG = 1; % set to 1 if you want to save the RSS RU to a mat file