TEST ID: TC-VER-011

GPP version used: 
run_chain executable release version : 0.0.7
config version : 0.0.7

------------------------------------------------------
Test processing started at Wed Mar  5 12:51:57 GMT 2025
------------------------------------------------------

L1b Files in a test dir from different dates

CRA_IR_1B_HR__SIC_20280103T120129_20280103T120138_20240221T161507_0009_____________ISRD_SIR_______.NC
CRA_IR_1B_HR__SIC_20280104T120129_20280104T120138_20240221T161507_0009_____________ISRD_SIR_______.NC

Lets try processing only files from date range: 2027 (there should be no files in this range)

GPP test command:

run_chain -n seaice -r -d /Users/alanmuir/software/clev2er_sii/test_harness/verification_tests/tc-ver-011/testdata --year 2027  2>&1 | awk '/seaice chain processed/ || /l1b_file_name=/ || /ERROR/' 

Executing GPP command...
[ERROR] : 05/03/2025 12:52:02 : No input files in list exist, please check L1b input directories and files
Command completed...

Were there 0 files processed as expected?


Lets try processing only files from date range: 2028-01-02 to 2028-01-03 (expected 1 file)

GPP test command:

run_chain -n seaice -r -d /Users/alanmuir/software/clev2er_sii/test_harness/verification_tests/tc-ver-011/testdata --start_date 2028-01-02 --end_date 2028-01-03 2>&1 | awk '/seaice chain processed/ || /l1b_file_name=/ || /ERROR/'

Executing GPP command...
[INFO] : 05/03/2025 12:52:09 : l1b_file_name=CRA_IR_1B_HR__SIC_20280103T120129_20280103T120138_20240221T161507_0009_____________ISRD_SIR_______.NC
[INFO] : 05/03/2025 12:52:09 : seaice chain processed 1 L1b files of 1. 0 files skipped, 0 errors
[INFO] : 05/03/2025 12:52:09 : log file (ERRORS): /tmp/error_li_20250305T125209.log
Command completed...

Does this correctly process only 1 file in the time range 2028-01-02 to 2028-01-03?


Lets try processing only files from date range: Jan 2028

GPP test command:

run_chain -n seaice -r -d /Users/alanmuir/software/clev2er_sii/test_harness/verification_tests/tc-ver-011/testdata --year 2028 --month 1 2>&1 | awk '/seaice chain processed/ || /l1b_file_name=/ || /ERROR/' 

Executing GPP command...
[INFO] : 05/03/2025 12:52:13 : l1b_file_name=CRA_IR_1B_HR__SIC_20280103T120129_20280103T120138_20240221T161507_0009_____________ISRD_SIR_______.NC
[INFO] : 05/03/2025 12:52:13 : l1b_file_name=CRA_IR_1B_HR__SIC_20280104T120129_20280104T120138_20240221T161507_0009_____________ISRD_SIR_______.NC
[INFO] : 05/03/2025 12:52:13 : seaice chain processed 2 L1b files of 2. 0 files skipped, 0 errors
[INFO] : 05/03/2025 12:52:13 : log file (ERRORS): /tmp/error_li_012028_20250305T125213.log
Command completed...

Does this correctly process 2 files in the time range of Jan 2028?

------------------------------------------------------
Test processing ended at Wed Mar  5 12:52:15 GMT 2025
------------------------------------------------------
Execution time: 18 seconds
Test TC-VER-011 passed!
