diff --git a/.circleci/config.yml b/.circleci/config.yml index 90c5f95229ff..c703d1ca64c7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,7 +18,7 @@ workflows: repo: MAPL mepodevelop: false run_unit_tests: true - ctest_options: "-LE PERFORMANCE --output-on-failure" + ctest_options: "-LE 'PERFORMANCE|EXTDATA1G_BIG_TESTS|EXTDATA2G_BIG_TESTS' --output-on-failure" # Builds MAPL in a "default" way - GNU # @@ -41,7 +41,7 @@ workflows: repo: MAPL mepodevelop: false run_unit_tests: true - ctest_options: "-E bundleio -LE PERFORMANCE --output-on-failure" + ctest_options: "-E bundleio -LE 'PERFORMANCE|EXTDATA1G_BIG_TESTS|EXTDATA2G_BIG_TESTS' --output-on-failure" # Builds MAPL like UFS does (no FLAP and pFlogger, static) - ci/build: @@ -55,7 +55,7 @@ workflows: mepodevelop: false extra_cmake_options: "-DBUILD_WITH_FLAP=OFF -DBUILD_WITH_PFLOGGER=OFF -DBUILD_SHARED_MAPL=OFF" run_unit_tests: true - ctest_options: "-LE PERFORMANCE --output-on-failure" + ctest_options: "-LE 'PERFORMANCE|EXTDATA1G_BIG_TESTS|EXTDATA2G_BIG_TESTS' --output-on-failure" # Build GEOSgcm - ci/build: diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 6b393d5260a3..9df322623204 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -69,7 +69,7 @@ jobs: # # For now, we run GNU/Open MPI without the bundleio tests. Some indications that # Open MPI 5 will not have this limitation - ctest -E bundleio -LE PERFORMANCE --output-on-failure + ctest -E bundleio -LE 'PERFORMANCE|EXTDATA1G_BIG_TESTS|EXTDATA2G_BIG_TESTS' --output-on-failure build_test_mapl_intel: name: Build and Test MAPL Intel runs-on: ubuntu-latest @@ -114,4 +114,4 @@ jobs: cd build make -j4 build-tests # skip performance tests - ctest -LE PERFORMANCE --output-on-failure + ctest -LE 'PERFORMANCE|EXTDATA1G_BIG_TESTS|EXTDATA2G_BIG_TESTS' --output-on-failure diff --git a/CHANGELOG.md b/CHANGELOG.md index 3da56956c14a..f7fa063469c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Enable GCM run test in CircleCI (1-hour, no ExtData) - Added monotonic regridding option - Make availalbe to History and ExtData2G all supported regridding methods +- Add test cases for ExtData ### Changed diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index bba1dbb97aa7..216bcf16855f 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -26,9 +26,6 @@ if (BUILD_WITH_FLAP) target_link_libraries(pfio_MAPL_demo.x PRIVATE OpenMP::OpenMP_Fortran) endif () set_target_properties(pfio_MAPL_demo.x PROPERTIES Fortran_MODULE_DIRECTORY ${MODULE_DIRECTORY}) + add_subdirectory(ExtData_Testing_Framework EXCLUDE_FROM_ALL) endif () - -#install(PROGRAMS ExtDataDriver.x DESTINATION bin) -#install(TARGETS ExtDataDriver.x DESTINATION bin) - diff --git a/Tests/ExtData_Testing_Framework/CMakeLists.txt b/Tests/ExtData_Testing_Framework/CMakeLists.txt new file mode 100644 index 000000000000..a91051be6019 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/CMakeLists.txt @@ -0,0 +1,51 @@ +# Detect if we are using Open MPI and add oversubscribe +string(REPLACE " " ";" MPI_Fortran_LIBRARY_VERSION_LIST ${MPI_Fortran_LIBRARY_VERSION_STRING}) +list(GET MPI_Fortran_LIBRARY_VERSION_LIST 0 MPI_Fortran_LIBRARY_VERSION_FIRSTWORD) +if(MPI_Fortran_LIBRARY_VERSION_FIRSTWORD MATCHES "Open") + list(APPEND MPIEXEC_PREFLAGS "-oversubscribe") +endif() + +file(STRINGS "test_cases/cases.txt" TEST_CASES) + +set(cutoff "7") + +foreach(TEST_CASE ${TEST_CASES}) + if (EXISTS ${CMAKE_CURRENT_LIST_DIR}/test_cases/${TEST_CASE}/nproc.rc) + file(READ ${CMAKE_CURRENT_LIST_DIR}/test_cases/${TEST_CASE}/nproc.rc num_procs) + else() + set(num_procs "1") + endif() + add_test( + NAME "ExtData1G_${TEST_CASE}" + COMMAND ${CMAKE_COMMAND} + -DTEST_CASE=${TEST_CASE} + -DMPIEXEC_EXECUTABLE=${MPIEXEC_EXECUTABLE} + -DMPIEXEC_NUMPROC_FLAG=${MPIEXEC_NUMPROC_FLAG} + -DMY_BINARY_DIR=${CMAKE_BINARY_DIR}/bin + -DMPIEXEC_PREFLAGS=${MPIEXEC_PREFLAGS} + -DIS_EXTDATA2G=NO + -P ${CMAKE_CURRENT_SOURCE_DIR}/run_extdata.cmake + ) + if (${num_procs} LESS ${cutoff}) + set_tests_properties ("ExtData1G_${TEST_CASE}" PROPERTIES LABELS "EXTDATA1G_SMALL_TESTS") + else() + set_tests_properties ("ExtData1G_${TEST_CASE}" PROPERTIES LABELS "EXTDATA1G_BIG_TESTS") + endif() + + add_test( + NAME "ExtData2G_${TEST_CASE}" + COMMAND ${CMAKE_COMMAND} + -DTEST_CASE=${TEST_CASE} + -DMPIEXEC_EXECUTABLE=${MPIEXEC_EXECUTABLE} + -DMPIEXEC_NUMPROC_FLAG=${MPIEXEC_NUMPROC_FLAG} + -DMY_BINARY_DIR=${CMAKE_BINARY_DIR}/bin + -DMPIEXEC_PREFLAGS=${MPIEXEC_PREFLAGS} + -DIS_EXTDATA2G=YES + -P ${CMAKE_CURRENT_SOURCE_DIR}/run_extdata.cmake + ) + if (${num_procs} LESS ${cutoff}) + set_tests_properties ("ExtData2G_${TEST_CASE}" PROPERTIES LABELS "EXTDATA2G_SMALL_TESTS") + else() + set_tests_properties ("ExtData2G_${TEST_CASE}" PROPERTIES LABELS "EXTDATA2G_BIG_TESTS") + endif() +endforeach() diff --git a/Tests/ExtData_Testing_Framework/run_extdata.cmake b/Tests/ExtData_Testing_Framework/run_extdata.cmake new file mode 100644 index 000000000000..48986e47d042 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/run_extdata.cmake @@ -0,0 +1,30 @@ +macro(run_case CASE) + string(RANDOM LENGTH 24 tempdir) + execute_process( + COMMAND ${CMAKE_COMMAND} -E make_directory ${tempdir} + COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_LIST_DIR}/test_cases/${CASE} ${tempdir} + ) + if (EXISTS "${tempdir}/nproc.rc") + file(READ "${tempdir}/nproc.rc" num_procs_temp) + string(STRIP ${num_procs_temp} num_procs) + else() + set(num_procs "1") + endif() + if (${IS_EXTDATA2G} STREQUAL "YES") + file(APPEND "${tempdir}/CAP1.rc" "USE_EXTDATA2G: .true.") + file(APPEND "${tempdir}/CAP2.rc" "USE_EXTDATA2G: .true.") + endif() + execute_process( + COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${num_procs} ${MPIEXEC_PREFLAGS} ${MY_BINARY_DIR}/ExtDataDriver.x + RESULT_VARIABLE CMD_RESULT + WORKING_DIRECTORY ${tempdir} + #COMMAND_ECHO STDOUT + ) + execute_process( + COMMAND ${CMAKE_COMMAND} -E rm -rf ${tempdir} + ) + if(CMD_RESULT) + message(FATAL_ERROR "Error running ${CASE}") + endif() +endmacro() +run_case(${TEST_CASE}) diff --git a/Tests/ExtData_Testing_Framework/test_cases/case1/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case1/AGCM1.rc new file mode 100644 index 000000000000..83ad27a2c551 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case1/AGCM1.rc @@ -0,0 +1,24 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +VAR3D , time , days , xyz , c +:: + +FILL_DEF:: +VAR2D time +VAR3D time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case1/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case1/AGCM2.rc new file mode 100644 index 000000000000..2e79954523bd --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case1/AGCM2.rc @@ -0,0 +1,29 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +VAR3D , time , days , xyz , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +VAR3D , time , days , xyz , c +:: + +FILL_DEF:: +VAR2D time +VAR3D time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case1/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case1/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case1/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case1/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case1/CAP1.rc new file mode 100644 index 000000000000..ce2690d6937b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case1/CAP1.rc @@ -0,0 +1,25 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20040115 210000 +20040215 210000 +20040315 210000 +20040415 210000 +20040515 210000 +20040615 210000 +20040715 210000 +20040815 210000 +20040915 210000 +20041015 210000 +20041115 210000 +20041215 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case1/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case1/CAP2.rc new file mode 100644 index 000000000000..4e9e1bb95026 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case1/CAP2.rc @@ -0,0 +1,15 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20041125 210000 +20041126 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case1/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case1/ExtData.rc new file mode 100644 index 000000000000..a45d1dd13f7f --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case1/ExtData.rc @@ -0,0 +1,13 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +#DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA N N 0 none none VAR2D case1.%y4.nc4 +VAR3D NA N N 0 none none VAR3D case1.%y4.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case1/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case1/HISTORY1.rc new file mode 100644 index 000000000000..51d004d9660c --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case1/HISTORY1.rc @@ -0,0 +1,13 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: '%y4.nc4', + case1.format: 'CFIO', + case1.frequency: 010000, + case1.duration: 000000 + case1.fields: 'VAR2D', 'Root', + 'VAR3D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case1/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case1/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case1/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case1/README b/Tests/ExtData_Testing_Framework/test_cases/case1/README new file mode 100644 index 000000000000..9a6d7597262d --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case1/README @@ -0,0 +1 @@ +Case, 12-month/12 time 2004 file with 2 updates, non-climatology diff --git a/Tests/ExtData_Testing_Framework/test_cases/case1/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case1/extdata.yaml new file mode 100644 index 000000000000..e2ddb90675ab --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case1/extdata.yaml @@ -0,0 +1,5 @@ +Collections: + fstream1: {template: case1.%y4.nc4, valid_range: "2004-01-01/2005-01-01" } +Exports: + VAR2D: {variable: VAR2D, collection: fstream1} + VAR3D: {variable: VAR3D, collection: fstream1} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case10/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case10/AGCM1.rc new file mode 100644 index 000000000000..302766bebfab --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case10/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case10/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case10/AGCM2.rc new file mode 100644 index 000000000000..58616c46abc8 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case10/AGCM2.rc @@ -0,0 +1,27 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC900x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +CLIM_YEAR: 2005 +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case10/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case10/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case10/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case10/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case10/CAP1.rc new file mode 100644 index 000000000000..7ad5b6f1a378 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case10/CAP1.rc @@ -0,0 +1,36 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00002400 000000 +HEARTBEAT_DT: 3600 + +RUN_TIMES:: +20040115 210000 +20040215 210000 +20040315 210000 +20040415 210000 +20040515 210000 +20040615 210000 +20040715 210000 +20040815 210000 +20040915 210000 +20041015 210000 +20041115 210000 +20041215 210000 +20050115 210000 +20050215 210000 +20050315 210000 +20050415 210000 +20050515 210000 +20050615 210000 +20050715 210000 +20050815 210000 +20050915 210000 +20051015 210000 +20051115 210000 +20051215 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case10/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case10/CAP2.rc new file mode 100644 index 000000000000..af18ab35fe0d --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case10/CAP2.rc @@ -0,0 +1,14 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20060101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20060225 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case10/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case10/ExtData.rc new file mode 100644 index 000000000000..92697fa916f0 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case10/ExtData.rc @@ -0,0 +1,12 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .true. +Prefetch: .true. +#DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA N N 0 none none VAR2D case1.%y4%m2.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case10/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case10/HISTORY1.rc new file mode 100644 index 000000000000..0b54db8e8f25 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case10/HISTORY1.rc @@ -0,0 +1,11 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: '%y4%m2.nc4', + case1.format: 'CFIO', + case1.frequency: 010000, + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case10/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case10/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case10/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case10/README b/Tests/ExtData_Testing_Framework/test_cases/case10/README new file mode 100644 index 000000000000..d2069c0d94d4 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case10/README @@ -0,0 +1,2 @@ +Interpolation outside of data set (Harvard mode), make a multi year dataset. +Define as not a climatology and ask for data after dataset time range diff --git a/Tests/ExtData_Testing_Framework/test_cases/case10/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case10/extdata.yaml new file mode 100644 index 000000000000..4e9e3ccb39fb --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case10/extdata.yaml @@ -0,0 +1,6 @@ +Samplings: + extrap_clim: {extrapolation: clim} +Collections: + fstream1: {template: "case1.%y4%m2.nc4", valid_range: "2004-01-01/2005-12-31" } +Exports: + VAR2D: {variable: VAR2D, collection: fstream1, sample: extrap_clim} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case11/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case11/AGCM1.rc new file mode 100644 index 000000000000..302766bebfab --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case11/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case11/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case11/AGCM2.rc new file mode 100644 index 000000000000..48eb8ed1b8d3 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case11/AGCM2.rc @@ -0,0 +1,27 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC900x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +CLIM_YEAR: 2006 +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case11/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case11/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case11/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case11/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case11/CAP1.rc new file mode 100644 index 000000000000..e800400d918a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case11/CAP1.rc @@ -0,0 +1,36 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20060101 210000 + +JOB_SGMT: 00002400 000000 +HEARTBEAT_DT: 3600 + +RUN_TIMES:: +20060115 210000 +20060215 210000 +20060315 210000 +20060415 210000 +20060515 210000 +20060615 210000 +20060715 210000 +20060815 210000 +20060915 210000 +20061015 210000 +20061115 210000 +20061215 210000 +20070115 210000 +20070215 210000 +20070315 210000 +20070415 210000 +20070515 210000 +20070615 210000 +20070715 210000 +20070815 210000 +20070915 210000 +20071015 210000 +20071115 210000 +20071215 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case11/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case11/CAP2.rc new file mode 100644 index 000000000000..68f902819dd8 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case11/CAP2.rc @@ -0,0 +1,14 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20050101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20050225 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case11/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case11/ExtData.rc new file mode 100644 index 000000000000..92697fa916f0 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case11/ExtData.rc @@ -0,0 +1,12 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .true. +Prefetch: .true. +#DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA N N 0 none none VAR2D case1.%y4%m2.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case11/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case11/HISTORY1.rc new file mode 100644 index 000000000000..0b54db8e8f25 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case11/HISTORY1.rc @@ -0,0 +1,11 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: '%y4%m2.nc4', + case1.format: 'CFIO', + case1.frequency: 010000, + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case11/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case11/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case11/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case11/README b/Tests/ExtData_Testing_Framework/test_cases/case11/README new file mode 100644 index 000000000000..52a3f7e59bfa --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case11/README @@ -0,0 +1 @@ +Interpolation outside of data set (Harvard mode), make a multi year dataset. Define as not a climatology and ask for data before datset time range diff --git a/Tests/ExtData_Testing_Framework/test_cases/case11/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case11/extdata.yaml new file mode 100644 index 000000000000..f5641f693d84 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case11/extdata.yaml @@ -0,0 +1,4 @@ +Collections: + fstream1: {template: "case1.%y4%m2.nc4", valid_range: "2006-01-01/2007-12-31" } +Exports: + VAR2D: {variable: VAR2D, collection: fstream1, sample: {extrapolation: clim}} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case12/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case12/AGCM1.rc new file mode 100644 index 000000000000..5d1b0f452725 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case12/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 6 +NY: 36 + +Root.GRID_TYPE: Cubed-Sphere +Root.GRIDNAME: PE24x144-CF +Root.LM: 3 +Root.NF 6 +Root.IM_WORLD: 24 + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +VAR3D , time , days , xyz , c +:: + +FILL_DEF:: +VAR2D time +VAR3D time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case12/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case12/AGCM2.rc new file mode 100644 index 000000000000..fe9b76e9ab6b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case12/AGCM2.rc @@ -0,0 +1,27 @@ +NX: 6 +NY: 36 + +Root.GRID_TYPE: Cubed-Sphere +Root.GRIDNAME: PE24x144-CF +Root.LM: 3 +Root.NF 6 +Root.IM_WORLD: 24 + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +VAR3D , time , days , xyz , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +VAR3D , time , days , xyz , c +:: + +FILL_DEF:: +VAR2D time +VAR3D time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case12/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case12/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case12/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case12/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case12/CAP1.rc new file mode 100644 index 000000000000..bed0725f4039 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case12/CAP1.rc @@ -0,0 +1,16 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +RUN_TIMES:: +20040702 000000 +20040703 000000 +20040704 000000 +20040705 000000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case12/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case12/CAP2.rc new file mode 100644 index 000000000000..f4182daac2ca --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case12/CAP2.rc @@ -0,0 +1,13 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +RUN_TIMES:: +20040703 120000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case12/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case12/ExtData.rc new file mode 100644 index 000000000000..19bc2d0132f6 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case12/ExtData.rc @@ -0,0 +1,13 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +#DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA N N - none none VAR2D vars2d.nc4 +VAR3D NA N N - none none VAR3D vars3d.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case12/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case12/HISTORY1.rc new file mode 100644 index 000000000000..bdc7875e13f3 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case12/HISTORY1.rc @@ -0,0 +1,30 @@ +VERSION: 1 +GRID_LABELS: PC20x11-DC +:: + +PC20x11-DC.GRID_TYPE: LatLon +PC20x11-DC.IM_WORLD: 20 +PC20x11-DC.JM_WORLD: 11 +PC20x11-DC.POLE: PC +PC20x11-DC.DATELINE: DC +PC20x11-DC.LM: 3 + +COLLECTIONS: vars2d + vars3d +:: + + + vars2d.template: 'nc4', + vars2d.format: 'CFIO', + vars2d.frequency: 010000, + vars2d.duration: 000000 + vars2d.grid_label: PC20x11-DC + vars2d.fields: 'VAR2D', 'Root', + :: + vars3d.template: 'nc4', + vars3d.format: 'CFIO', + vars3d.frequency: 010000, + vars3d.duration: 000000 + vars3d.grid_label: PC20x11-DC + vars3d.fields: 'VAR3D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case12/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case12/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case12/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case12/README b/Tests/ExtData_Testing_Framework/test_cases/case12/README new file mode 100644 index 000000000000..faaab2c64256 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case12/README @@ -0,0 +1 @@ +Test of case where you want to make a really coarse file in History that can not be decomposed on the default layout in the rc file. Be able to output such a file, then read back in on same grid in ExtData diff --git a/Tests/ExtData_Testing_Framework/test_cases/case12/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case12/extdata.yaml new file mode 100644 index 000000000000..e7eeef4a6e16 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case12/extdata.yaml @@ -0,0 +1,6 @@ +Collections: + fstream1: {template: "vars2d.nc4"} + fstream2: {template: "vars3d.nc4"} +Exports: + VAR2D: {variable: VAR2D, collection: fstream1, sample: {update_frequency: "-"}} + VAR3D: {variable: VAR3D, collection: fstream2, sample: {update_frequency: "-"}} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case12/nproc.rc b/Tests/ExtData_Testing_Framework/test_cases/case12/nproc.rc new file mode 100644 index 000000000000..a817176f4a68 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case12/nproc.rc @@ -0,0 +1 @@ +216 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case13/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case13/AGCM1.rc new file mode 100644 index 000000000000..1199f8335bc6 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case13/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC900x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20070101 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case13/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case13/AGCM2.rc new file mode 100644 index 000000000000..814c1dfd5e43 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case13/AGCM2.rc @@ -0,0 +1,25 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D 45.0+(73.0-45.0)*0.5 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case13/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case13/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case13/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case13/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case13/CAP1.rc new file mode 100644 index 000000000000..b40edc56fda7 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case13/CAP1.rc @@ -0,0 +1,25 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20070101 000000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20070115 000000 +20070215 000000 +20070315 000000 +20070415 000000 +20070515 000000 +20070615 000000 +20070715 000000 +20070815 000000 +20070915 000000 +20071015 000000 +20071115 000000 +20071215 000000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case13/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case13/CAP2.rc new file mode 100644 index 000000000000..ad9fdbaa59ef --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case13/CAP2.rc @@ -0,0 +1,13 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20080101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +RUN_TIMES:: +20080229 120000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case13/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case13/ExtData.rc new file mode 100644 index 000000000000..e535516c3bdf --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case13/ExtData.rc @@ -0,0 +1,12 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA Y N 0 none none VAR2D case1.2007%m2.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case13/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case13/HISTORY1.rc new file mode 100644 index 000000000000..1e9dd9d44599 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case13/HISTORY1.rc @@ -0,0 +1,12 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: '%y4%m2.nc4', + case1.format: 'CFIO', + case1.frequency: 010000, + #case1.duration: 000000 + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case13/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case13/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case13/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case13/README b/Tests/ExtData_Testing_Framework/test_cases/case13/README new file mode 100644 index 000000000000..8a66da41fbc9 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case13/README @@ -0,0 +1 @@ +Testing that we can take a climatology for a non-leap year and interpolate to a leap year. 12 files each with the midmonth value for 2007 (non-leap year). Interpolate to 02/29/2008 (leap year) diff --git a/Tests/ExtData_Testing_Framework/test_cases/case13/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case13/extdata.yaml new file mode 100644 index 000000000000..1dc456d831f9 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case13/extdata.yaml @@ -0,0 +1,4 @@ +Collections: + fstream1: {template: "case1.2007%m2.nc4", valid_range: "2007-01-01/2007-12-31" } +Exports: + VAR2D: {variable: VAR2D, collection: fstream1, sample: {extrapolation: clim, source_time: "2007-01-01/2007-12-31"}} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case14/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case14/AGCM1.rc new file mode 100644 index 000000000000..58c95c0fd941 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case14/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20070101 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case14/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case14/AGCM2.rc new file mode 100644 index 000000000000..0858aa614d31 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case14/AGCM2.rc @@ -0,0 +1,24 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC900x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D 58.0+(59.0-58.0)*0.75 +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case14/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case14/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case14/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case14/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case14/CAP1.rc new file mode 100644 index 000000000000..e725586cac99 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case14/CAP1.rc @@ -0,0 +1,10 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20061231 000000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case14/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case14/CAP2.rc new file mode 100644 index 000000000000..36aafef783fe --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case14/CAP2.rc @@ -0,0 +1,14 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20080229 120000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case14/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case14/ExtData.rc new file mode 100644 index 000000000000..00b82c0f4f77 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case14/ExtData.rc @@ -0,0 +1,12 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA 2007 N 0 none none VAR2D case1.%y4%m2%d2.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case14/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case14/HISTORY1.rc new file mode 100644 index 000000000000..7f1045a27232 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case14/HISTORY1.rc @@ -0,0 +1,12 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: '%y4%m2%d2.nc4', + case1.format: 'CFIO', + case1.frequency: 240000, + case1.ref_time: 000000, + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case14/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case14/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case14/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case14/README b/Tests/ExtData_Testing_Framework/test_cases/case14/README new file mode 100644 index 000000000000..712f8869bac4 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case14/README @@ -0,0 +1 @@ +Testing that we can take a climatology for a non-leap year and interpolate to a leap year. Daily files each with 1 value for 2007 (non-leap year). Interpolate to 02/29/2008 (leap year) diff --git a/Tests/ExtData_Testing_Framework/test_cases/case14/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case14/extdata.yaml new file mode 100644 index 000000000000..11c4ed30a938 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case14/extdata.yaml @@ -0,0 +1,6 @@ +Samplings: + sample_clim: {extrapolation: clim} +Collections: + fstream1: {template: "case1.%y4%m2%d2.nc4", valid_range: "2007-01-01/2007-12-31" } +Exports: + VAR2D: {variable: VAR2D, collection: fstream1, source_time: "2007-01-01/2007-12-31", sample: sample_clim} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case15/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case15/AGCM1.rc new file mode 100644 index 000000000000..58c95c0fd941 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case15/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20070101 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case15/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case15/AGCM2.rc new file mode 100644 index 000000000000..58fc61c57d55 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case15/AGCM2.rc @@ -0,0 +1,27 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC900x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +CLIM_YEAR: 2007 +REF_TIME: 20070101 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case15/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case15/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case15/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case15/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case15/CAP1.rc new file mode 100644 index 000000000000..957ef31d3145 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case15/CAP1.rc @@ -0,0 +1,10 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20061231 230000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case15/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case15/CAP2.rc new file mode 100644 index 000000000000..7e31eadc76a6 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case15/CAP2.rc @@ -0,0 +1,14 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20060329 120000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case15/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case15/ExtData.rc new file mode 100644 index 000000000000..7032d5b44348 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case15/ExtData.rc @@ -0,0 +1,12 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA 2007 N 0 none none VAR2D case1.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case15/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case15/HISTORY1.rc new file mode 100644 index 000000000000..0f000be68631 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case15/HISTORY1.rc @@ -0,0 +1,13 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: 'nc4', + case1.format: 'CFIO', + case1.frequency: 60000, + case1.duration: 000000, + case1.ref_time: 000000, + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case15/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case15/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case15/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case15/README b/Tests/ExtData_Testing_Framework/test_cases/case15/README new file mode 100644 index 000000000000..c8303c9f308c --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case15/README @@ -0,0 +1 @@ +Testing that we can take a climatology for a non-leap year and interpolate to a non-leap year. Daily files each with 1 value for 2007 (non-leap year). Interpolate to 03/29/2006 (leap year) diff --git a/Tests/ExtData_Testing_Framework/test_cases/case15/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case15/extdata.yaml new file mode 100644 index 000000000000..a64fe328c5bd --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case15/extdata.yaml @@ -0,0 +1,6 @@ +Samplings: + sample_clim: {extrapolation: clim, source_time: "2007-01-01/2007-12-31"} +Collections: + fstream1: {template: "case1.nc4", valid_range: "2007-01-01/2007-12-31" } +Exports: + VAR2D: {variable: VAR2D, collection: fstream1, sample: sample_clim} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case16/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case16/AGCM1.rc new file mode 100644 index 000000000000..81bb07dcdcbd --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case16/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20080101 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case16/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case16/AGCM2.rc new file mode 100644 index 000000000000..040b724d894e --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case16/AGCM2.rc @@ -0,0 +1,27 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC900x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +CLIM_YEAR: 2008 +REF_TIME: 20080101 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case16/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case16/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case16/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case16/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case16/CAP1.rc new file mode 100644 index 000000000000..2840fe1b50ce --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case16/CAP1.rc @@ -0,0 +1,10 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20071231 230000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case16/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case16/CAP2.rc new file mode 100644 index 000000000000..8ed72d5aabe6 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case16/CAP2.rc @@ -0,0 +1,14 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20060329 150000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case16/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case16/ExtData.rc new file mode 100644 index 000000000000..1b98d7c432b9 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case16/ExtData.rc @@ -0,0 +1,12 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA 2008 N 0 none none VAR2D case1.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case16/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case16/HISTORY1.rc new file mode 100644 index 000000000000..0f000be68631 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case16/HISTORY1.rc @@ -0,0 +1,13 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: 'nc4', + case1.format: 'CFIO', + case1.frequency: 60000, + case1.duration: 000000, + case1.ref_time: 000000, + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case16/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case16/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case16/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case16/README b/Tests/ExtData_Testing_Framework/test_cases/case16/README new file mode 100644 index 000000000000..2b112ffe7b9c --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case16/README @@ -0,0 +1 @@ +Testing that we can take a climatology for a leap year and interpolate to a non-leap year. Daily files each with 1 value for 2008 (leap year). Interpolate to 03/29/2006 15z (leap year) diff --git a/Tests/ExtData_Testing_Framework/test_cases/case16/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case16/extdata.yaml new file mode 100644 index 000000000000..89a527a980e2 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case16/extdata.yaml @@ -0,0 +1,6 @@ +Collections: + fstream1: {template: "case1.nc4", valid_range: "2008-01-01/2008-12-31" } +Samplings: + s1: {source_time: "2008-01-01/2008-12-31", extrapolation: clim} +Exports: + VAR2D: {variable: VAR2D, collection: fstream1, sample: s1} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case18/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case18/AGCM1.rc new file mode 100644 index 000000000000..7787931e9777 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case18/AGCM1.rc @@ -0,0 +1,24 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +U2D , time , days , xy , c +V2D , time , days , xy , c +:: + +FILL_DEF:: +U2D 0.0 +V2D 5.0 +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case18/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case18/AGCM2.rc new file mode 100644 index 000000000000..13bea40d79d3 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case18/AGCM2.rc @@ -0,0 +1,33 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: FillExportsFromImports + +IMPORT_STATE:: +U2D , time , days , xy , c +#U3D , time , days , xyz , c +V2D , time , days , xy , c +#V3D , time , days , xyz , c +:: + +EXPORT_STATE:: +U2D , time , days , xy , c +#U3D , time , days , xyz , c +V2D , time , days , xy , c +#V3D , time , days , xyz , c +:: + +#FILL_DEF:: +#VAR2D time +#VAR3D time +#:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case18/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case18/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case18/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case18/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case18/CAP1.rc new file mode 100644 index 000000000000..11e0e36bd675 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case18/CAP1.rc @@ -0,0 +1,26 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20040115 210000 +20040215 210000 +20040315 210000 +20040415 210000 +20040515 210000 +20040615 210000 +20040715 210000 +20040815 210000 +20040915 210000 +20041015 210000 +20041115 210000 +20041215 210000 +:: + +USE_EXTDATA2G: .true. diff --git a/Tests/ExtData_Testing_Framework/test_cases/case18/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case18/CAP2.rc new file mode 100644 index 000000000000..4a0f45af02e4 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case18/CAP2.rc @@ -0,0 +1,15 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20041126 210000 +:: + +USE_EXTDATA2G: .true. diff --git a/Tests/ExtData_Testing_Framework/test_cases/case18/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case18/ExtData.rc new file mode 100644 index 000000000000..79cf7c1399ab --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case18/ExtData.rc @@ -0,0 +1,15 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +DEBUG_LEVEL: 20 + +PrimaryExports%% +U2D;V2D NA N N 0 none none U2D;V2D case1.%y4.nc4 +#U3D;V3D NA N N 0 none none U3D;V3D case1.%y4.nc4 +#U2D NA N N 0 none none U2D case1.%y4.nc4 +#V2D NA N N 0 none none V2D case1.%y4.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case18/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case18/HISTORY1.rc new file mode 100644 index 000000000000..e19d49760185 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case18/HISTORY1.rc @@ -0,0 +1,15 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: '%y4.nc4', + case1.format: 'CFIO', + case1.frequency: 010000, + case1.duration: 000000 + case1.fields: 'U2D', 'Root', + #'U3D', 'Root', + 'V2D', 'Root', + #'V3D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case18/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case18/HISTORY2.rc new file mode 100644 index 000000000000..6091a4c984bd --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case18/HISTORY2.rc @@ -0,0 +1,13 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: + + case18_2.template: '%y4.nc4', + case18_2.format: 'CFIO', + case18_2.frequency: 010000, + case18_2.duration: 000000 + case18_2.fields: 'U2D', 'Root', + 'V2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case18/README b/Tests/ExtData_Testing_Framework/test_cases/case18/README new file mode 100644 index 000000000000..60994edbc151 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case18/README @@ -0,0 +1 @@ +Test vector regridding diff --git a/Tests/ExtData_Testing_Framework/test_cases/case18/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case18/extdata.yaml new file mode 100644 index 000000000000..c69f0f79bf8a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case18/extdata.yaml @@ -0,0 +1,4 @@ +Collections: + fstream1: {template: "case1.%y4.nc4"} +Exports: + U2D;V2D: {variable: U2D;V2D, collection: fstream1} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case19/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case19/AGCM1.rc new file mode 100644 index 000000000000..4ebd5b1a73fa --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case19/AGCM1.rc @@ -0,0 +1,24 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC900x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D 17.0 +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case19/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case19/CAP.rc new file mode 100644 index 000000000000..4f5328064bab --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case19/CAP.rc @@ -0,0 +1,3 @@ +CASES:: +CAP1.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case19/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case19/CAP1.rc new file mode 100644 index 000000000000..ce2690d6937b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case19/CAP1.rc @@ -0,0 +1,25 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20040115 210000 +20040215 210000 +20040315 210000 +20040415 210000 +20040515 210000 +20040615 210000 +20040715 210000 +20040815 210000 +20040915 210000 +20041015 210000 +20041115 210000 +20041215 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case19/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case19/ExtData.rc new file mode 100644 index 000000000000..45b2e1653d38 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case19/ExtData.rc @@ -0,0 +1,12 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +#DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA N N 0 none none VAR2D /dev/null:17.0 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case19/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case19/HISTORY1.rc new file mode 100644 index 000000000000..d3a6677416e1 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case19/HISTORY1.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case19/README b/Tests/ExtData_Testing_Framework/test_cases/case19/README new file mode 100644 index 000000000000..23052d595d01 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case19/README @@ -0,0 +1 @@ +test /dev/null diff --git a/Tests/ExtData_Testing_Framework/test_cases/case19/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case19/extdata.yaml new file mode 100644 index 000000000000..47bc213019b6 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case19/extdata.yaml @@ -0,0 +1,2 @@ +Exports: + VAR2D: {variable: VAR2D, collection: "/dev/null", linear_transformation: [17.0,0.0]} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case2/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case2/AGCM1.rc new file mode 100644 index 000000000000..ada4fab64746 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case2/AGCM1.rc @@ -0,0 +1,24 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC900x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +VAR3D , time , days , xyz , c +:: + +FILL_DEF:: +VAR2D time +VAR3D time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case2/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case2/AGCM2.rc new file mode 100644 index 000000000000..6fb58c19aba5 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case2/AGCM2.rc @@ -0,0 +1,30 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +VAR3D , time , days , xyz , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +VAR3D , time , days , xyz , c +:: + +FILL_DEF:: +VAR2D time +VAR3D time +:: + +CLIM_YEAR: 2004 +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case2/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case2/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case2/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case2/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case2/CAP1.rc new file mode 100644 index 000000000000..ce2690d6937b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case2/CAP1.rc @@ -0,0 +1,25 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20040115 210000 +20040215 210000 +20040315 210000 +20040415 210000 +20040515 210000 +20040615 210000 +20040715 210000 +20040815 210000 +20040915 210000 +20041015 210000 +20041115 210000 +20041215 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case2/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case2/CAP2.rc new file mode 100644 index 000000000000..4dc521f63044 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case2/CAP2.rc @@ -0,0 +1,15 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20071125 210000 +20071126 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case2/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case2/ExtData.rc new file mode 100644 index 000000000000..9a1d56d1f370 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case2/ExtData.rc @@ -0,0 +1,13 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +#DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA Y N 0 none none VAR2D case1.2004.nc4 +VAR3D NA Y N 0 none none VAR3D case1.2004.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case2/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case2/HISTORY1.rc new file mode 100644 index 000000000000..51d004d9660c --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case2/HISTORY1.rc @@ -0,0 +1,13 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: '%y4.nc4', + case1.format: 'CFIO', + case1.frequency: 010000, + case1.duration: 000000 + case1.fields: 'VAR2D', 'Root', + 'VAR3D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case2/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case2/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case2/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case2/README b/Tests/ExtData_Testing_Framework/test_cases/case2/README new file mode 100644 index 000000000000..a022d98f1113 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case2/README @@ -0,0 +1 @@ +Case, 12-month/12 time 2004 file with 2 updates, climatology diff --git a/Tests/ExtData_Testing_Framework/test_cases/case2/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case2/extdata.yaml new file mode 100644 index 000000000000..739a9e22c98c --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case2/extdata.yaml @@ -0,0 +1,7 @@ +Samplings: + sample_clim: {extrapolation: clim} +Collections: + fstream1: {template: "case1.2004.nc4"} +Exports: + VAR2D: {variable: VAR2D, collection: fstream1, sample: sample_clim} + VAR3D: {variable: VAR3D, collection: fstream1, sample: sample_clim} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case20/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case20/AGCM1.rc new file mode 100644 index 000000000000..3583e9d12516 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case20/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20160101 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case20/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case20/AGCM2.rc new file mode 100644 index 000000000000..fb783b442edd --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case20/AGCM2.rc @@ -0,0 +1,24 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC900x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D 59.0+(58.0-57.0)*0.5 +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case20/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case20/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case20/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case20/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case20/CAP1.rc new file mode 100644 index 000000000000..397c91b0abe3 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case20/CAP1.rc @@ -0,0 +1,10 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20151231 000000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case20/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case20/CAP2.rc new file mode 100644 index 000000000000..0f06f66198de --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case20/CAP2.rc @@ -0,0 +1,14 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20200101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20200229 120000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case20/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case20/ExtData.rc new file mode 100644 index 000000000000..67ef7b54a4a8 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case20/ExtData.rc @@ -0,0 +1,12 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .true. +Prefetch: .true. +DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA N N 0 none none VAR2D case1.%y4%m2%d2.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case20/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case20/HISTORY1.rc new file mode 100644 index 000000000000..7f1045a27232 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case20/HISTORY1.rc @@ -0,0 +1,12 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: '%y4%m2%d2.nc4', + case1.format: 'CFIO', + case1.frequency: 240000, + case1.ref_time: 000000, + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case20/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case20/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case20/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case20/README b/Tests/ExtData_Testing_Framework/test_cases/case20/README new file mode 100644 index 000000000000..5e7fa8803054 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case20/README @@ -0,0 +1 @@ +Make daily files for 2016. Then start on February 29th in 2020 and allow extrapolation outside of dataset a climatology diff --git a/Tests/ExtData_Testing_Framework/test_cases/case20/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case20/extdata.yaml new file mode 100644 index 000000000000..01db6d85f976 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case20/extdata.yaml @@ -0,0 +1,8 @@ +Collections: + fstream1: {template: "case1.%y4%m2%d2.nc4", valid_range: "2016-01-01/2016-12-31" } +Samplings: + S1: + extrapolation: clim + source_time: "2016-01-01/2016-12-31" +Exports: + VAR2D: {variable: VAR2D, collection: fstream1, sample: S1} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case21/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case21/AGCM1.rc new file mode 100644 index 000000000000..1f672143e749 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case21/AGCM1.rc @@ -0,0 +1,24 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR1 , time , days , xy , c +VAR2 , time , days , xy , c +:: + +FILL_DEF:: +VAR1 time +VAR2 time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case21/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case21/AGCM2.rc new file mode 100644 index 000000000000..14b0d586bdfb --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case21/AGCM2.rc @@ -0,0 +1,33 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +VAR1 , time , days , xy , c +VAR2 , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +VAR1 , time , days , xy , c +VAR2 , time , days , xy , c +:: + + +FILL_DEF:: +VAR2D time+time +VAR1 time +VAR2 time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case21/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case21/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case21/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case21/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case21/CAP1.rc new file mode 100644 index 000000000000..ce2690d6937b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case21/CAP1.rc @@ -0,0 +1,25 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20040115 210000 +20040215 210000 +20040315 210000 +20040415 210000 +20040515 210000 +20040615 210000 +20040715 210000 +20040815 210000 +20040915 210000 +20041015 210000 +20041115 210000 +20041215 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case21/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case21/CAP2.rc new file mode 100644 index 000000000000..4e9e1bb95026 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case21/CAP2.rc @@ -0,0 +1,15 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20041125 210000 +20041126 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case21/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case21/ExtData.rc new file mode 100644 index 000000000000..57736ed30bef --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case21/ExtData.rc @@ -0,0 +1,14 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +#DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR1 NA N N 0 none none VAR1 case1.%y4.nc4 +VAR2 NA N N 0 none none VAR2 case1.%y4.nc4 +%% + + +DerivedExports%% +VAR2D VAR1+VAR2 0 +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case21/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case21/HISTORY1.rc new file mode 100644 index 000000000000..bb5ee8a77ef6 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case21/HISTORY1.rc @@ -0,0 +1,13 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: '%y4.nc4', + case1.format: 'CFIO', + case1.frequency: 010000, + case1.duration: 000000 + case1.fields: 'VAR1', 'Root', + 'VAR2', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case21/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case21/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case21/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case21/README b/Tests/ExtData_Testing_Framework/test_cases/case21/README new file mode 100644 index 000000000000..df7cb0f82872 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case21/README @@ -0,0 +1 @@ +test derived export to create sum of 2 variables diff --git a/Tests/ExtData_Testing_Framework/test_cases/case21/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case21/extdata.yaml new file mode 100644 index 000000000000..c1f9b4354434 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case21/extdata.yaml @@ -0,0 +1,8 @@ +Collections: + fstream1: {template: case1.%y4.nc4, valid_range: "2004-01-01/2005-01-01" } +Exports: + VAR1: {variable: VAR1, collection: fstream1} + VAR2: {variable: VAR2, collection: fstream1} + +Derived: + VAR2D: {function: VAR1+VAR2} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case22/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case22/AGCM1.rc new file mode 100644 index 000000000000..81bb07dcdcbd --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case22/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20080101 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case22/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case22/AGCM2.rc new file mode 100644 index 000000000000..0a1f70b7456c --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case22/AGCM2.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 90 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20080101 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case22/AGCM3.rc b/Tests/ExtData_Testing_Framework/test_cases/case22/AGCM3.rc new file mode 100644 index 000000000000..dc81ef15d2da --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case22/AGCM3.rc @@ -0,0 +1,26 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC900x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20080101 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case22/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case22/CAP.rc new file mode 100644 index 000000000000..7cbd02ce9493 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case22/CAP.rc @@ -0,0 +1,5 @@ +CASES:: +CAP1.rc +CAP2.rc +CAP3.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case22/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case22/CAP1.rc new file mode 100644 index 000000000000..2dd970d08f1b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case22/CAP1.rc @@ -0,0 +1,12 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20071231 230000 + +JOB_SGMT: 00001201 000000 +HEARTBEAT_DT: 3600 + + +USE_EXTDATA2G: .true. +USE_EXTDATA2G: .true. diff --git a/Tests/ExtData_Testing_Framework/test_cases/case22/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case22/CAP2.rc new file mode 100644 index 000000000000..18c901f66ed9 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case22/CAP2.rc @@ -0,0 +1,12 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20081231 230000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + + +USE_EXTDATA2G: .true. +USE_EXTDATA2G: .true. diff --git a/Tests/ExtData_Testing_Framework/test_cases/case22/CAP3.rc b/Tests/ExtData_Testing_Framework/test_cases/case22/CAP3.rc new file mode 100644 index 000000000000..cbb7b325f460 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case22/CAP3.rc @@ -0,0 +1,11 @@ +ROOT_NAME: Root +ROOT_CF: AGCM3.rc +HIST_CF: HISTORY3.rc + +BEG_DATE: 20081229 000000 + +JOB_SGMT: 00000010 000000 +HEARTBEAT_DT: 3600 + + +USE_EXTDATA2G: .true. diff --git a/Tests/ExtData_Testing_Framework/test_cases/case22/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case22/ExtData.rc new file mode 100644 index 000000000000..1b98d7c432b9 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case22/ExtData.rc @@ -0,0 +1,12 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA 2008 N 0 none none VAR2D case1.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case22/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case22/HISTORY1.rc new file mode 100644 index 000000000000..fe45450680fd --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case22/HISTORY1.rc @@ -0,0 +1,13 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: 'nc4', + case1.format: 'CFIO', + case1.frequency: 240000, + case1.duration: 000000, + case1.ref_time: 000000, + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case22/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case22/HISTORY2.rc new file mode 100644 index 000000000000..e75f98424508 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case22/HISTORY2.rc @@ -0,0 +1,13 @@ +GRID_LABELS: +:: + +COLLECTIONS: case2 +:: + + case2.template: 'nc4', + case2.format: 'CFIO', + case2.frequency: 240000, + case2.duration: 000000, + case2.ref_time: 000000, + case2.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case22/HISTORY3.rc b/Tests/ExtData_Testing_Framework/test_cases/case22/HISTORY3.rc new file mode 100644 index 000000000000..720dd45ecd3d --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case22/HISTORY3.rc @@ -0,0 +1,13 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: + + case2.template: 'nc4', + case2.format: 'CFIO', + case2.frequency: 240000, + case2.duration: 000000, + case2.ref_time: 000000, + case2.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case22/README b/Tests/ExtData_Testing_Framework/test_cases/case22/README new file mode 100644 index 000000000000..6ea1c769dbad --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case22/README @@ -0,0 +1 @@ +test multiple datasets where an export uses both with with no extrapolation outside and crosses transition date diff --git a/Tests/ExtData_Testing_Framework/test_cases/case22/case1.rcx b/Tests/ExtData_Testing_Framework/test_cases/case22/case1.rcx new file mode 100644 index 000000000000..1a19553ea86f --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case22/case1.rcx @@ -0,0 +1,7 @@ + case1.template: 'nc4', + case1.format: 'CFIO', + case1.frequency: 240000, + case1.duration: 000000, + case1.ref_time: 000000, + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case22/case2.rcx b/Tests/ExtData_Testing_Framework/test_cases/case22/case2.rcx new file mode 100644 index 000000000000..4ba51fb14b9b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case22/case2.rcx @@ -0,0 +1,7 @@ + case2.template: 'nc4', + case2.format: 'CFIO', + case2.frequency: 240000, + case2.duration: 000000, + case2.ref_time: 000000, + case2.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case22/egress b/Tests/ExtData_Testing_Framework/test_cases/case22/egress new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case22/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case22/extdata.yaml new file mode 100644 index 000000000000..34ce04867e7b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case22/extdata.yaml @@ -0,0 +1,7 @@ +Collections: + fstream1: {template: "case1.nc4", valid_range: "2008-01-01/2008-12-31"} + fstream2: {template: "case2.nc4", valid_range: "2009-01-01/2009-12-31"} +Exports: + VAR2D: + - {starting: "2008-01-01", variable: VAR2D, collection: fstream1} + - {starting: "2009-01-01", variable: VAR2D, collection: fstream2} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case22/warnings_and_errors.log b/Tests/ExtData_Testing_Framework/test_cases/case22/warnings_and_errors.log new file mode 100644 index 000000000000..9144b2f54291 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case22/warnings_and_errors.log @@ -0,0 +1,60 @@ +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: EXTDATA: In ExtData resource file, could not find: VAR2D +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: EXTDATA: In ExtData resource file, could not find: VAR2D +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: EXTDATA: In ExtData resource file, could not find: VAR2D +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage +pe=00000: MAPL: No configure file specified for logging layer. Using defaults. +pe=00000: EXTDATA: Using ExtData2G, note this is still in BETA stage diff --git a/Tests/ExtData_Testing_Framework/test_cases/case23/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case23/AGCM1.rc new file mode 100644 index 000000000000..3583e9d12516 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case23/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20160101 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case23/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case23/AGCM2.rc new file mode 100644 index 000000000000..3583e9d12516 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case23/AGCM2.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20160101 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case23/AGCM3.rc b/Tests/ExtData_Testing_Framework/test_cases/case23/AGCM3.rc new file mode 100644 index 000000000000..fa066d52daf6 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case23/AGCM3.rc @@ -0,0 +1,26 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: FillImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20160101 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case23/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case23/CAP.rc new file mode 100644 index 000000000000..7cbd02ce9493 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case23/CAP.rc @@ -0,0 +1,5 @@ +CASES:: +CAP1.rc +CAP2.rc +CAP3.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case23/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case23/CAP1.rc new file mode 100644 index 000000000000..cd699d9b294a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case23/CAP1.rc @@ -0,0 +1,11 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20151231 000000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + + +USE_EXTDATA2G: .true. diff --git a/Tests/ExtData_Testing_Framework/test_cases/case23/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case23/CAP2.rc new file mode 100644 index 000000000000..70bafc168604 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case23/CAP2.rc @@ -0,0 +1,11 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20191225 000000 + +JOB_SGMT: 00000020 000000 +HEARTBEAT_DT: 3600 + + +USE_EXTDATA2G: .true. diff --git a/Tests/ExtData_Testing_Framework/test_cases/case23/CAP3.rc b/Tests/ExtData_Testing_Framework/test_cases/case23/CAP3.rc new file mode 100644 index 000000000000..177c24b23153 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case23/CAP3.rc @@ -0,0 +1,11 @@ +ROOT_NAME: Root +ROOT_CF: AGCM3.rc +HIST_CF: HISTORY3.rc + +BEG_DATE: 20191227 000000 + +JOB_SGMT: 00000011 000000 +HEARTBEAT_DT: 3600 + + +USE_EXTDATA2G: .true. diff --git a/Tests/ExtData_Testing_Framework/test_cases/case23/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case23/ExtData.rc new file mode 100644 index 000000000000..67ef7b54a4a8 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case23/ExtData.rc @@ -0,0 +1,12 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .true. +Prefetch: .true. +DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA N N 0 none none VAR2D case1.%y4%m2%d2.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case23/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case23/HISTORY1.rc new file mode 100644 index 000000000000..7f1045a27232 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case23/HISTORY1.rc @@ -0,0 +1,12 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: '%y4%m2%d2.nc4', + case1.format: 'CFIO', + case1.frequency: 240000, + case1.ref_time: 000000, + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case23/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case23/HISTORY2.rc new file mode 100644 index 000000000000..cddbea20dd5e --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case23/HISTORY2.rc @@ -0,0 +1,12 @@ +GRID_LABELS: +:: + +COLLECTIONS: case2 +:: + + case2.template: '%y4%m2%d2.nc4', + case2.format: 'CFIO', + case2.frequency: 240000, + case2.ref_time: 000000, + case2.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case23/HISTORY3.rc b/Tests/ExtData_Testing_Framework/test_cases/case23/HISTORY3.rc new file mode 100644 index 000000000000..31702240896d --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case23/HISTORY3.rc @@ -0,0 +1,12 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: + + case1.template: '%y4%m2%d2.nc4', + case1.format: 'CFIO', + case1.frequency: 240000, + case1.ref_time: 000000, + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case23/README b/Tests/ExtData_Testing_Framework/test_cases/case23/README new file mode 100644 index 000000000000..8f1c29fb1967 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case23/README @@ -0,0 +1 @@ +Test multiple datasets and treat Climatology in the first and a real-time in the 2nd diff --git a/Tests/ExtData_Testing_Framework/test_cases/case23/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case23/extdata.yaml new file mode 100644 index 000000000000..62007858b755 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case23/extdata.yaml @@ -0,0 +1,11 @@ +Collections: + fstream1: {template: "case1.%y4%m2%d2.nc4", valid_range: "2016-01-01/2016-12-31" } + fstream2: {template: "case2.%y4%m2%d2.nc4", valid_range: "2019-12-31/2020-01-10" } +Samplings: + S1: + extrapolation: clim + source_time: "2016-01-01/2016-12-31" +Exports: + VAR2D: + - {starting: 1970-01-01, variable: VAR2D, collection: fstream1, sample: S1} + - {starting: 2020-01-01, variable: VAR2D, collection: fstream2} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case24/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case24/AGCM1.rc new file mode 100644 index 000000000000..2ef970737fb7 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case24/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 6 + +Root.GRID_TYPE: Cubed-Sphere +Root.GRIDNAME: PE24x144-CF +Root.LM: 3 +Root.IM_WORLD: 24 +Root.NF: 6 + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +VAR3D , time , days , xyz , c +:: + +FILL_DEF:: +VAR2D time +VAR3D time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case24/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case24/AGCM2.rc new file mode 100644 index 000000000000..c49217bcec3c --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case24/AGCM2.rc @@ -0,0 +1,27 @@ +NX: 1 +NY: 6 + +Root.GRID_TYPE: Cubed-Sphere +Root.GRIDNAME: PE24x144-CF +Root.LM: 3 +Root.IM_WORLD: 24 +Root.NF: 6 + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +VAR3D , time , days , xyz , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +VAR3D , time , days , xyz , c +:: + +FILL_DEF:: +VAR2D time +VAR3D time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case24/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case24/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case24/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case24/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case24/CAP1.rc new file mode 100644 index 000000000000..ce2690d6937b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case24/CAP1.rc @@ -0,0 +1,25 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20040115 210000 +20040215 210000 +20040315 210000 +20040415 210000 +20040515 210000 +20040615 210000 +20040715 210000 +20040815 210000 +20040915 210000 +20041015 210000 +20041115 210000 +20041215 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case24/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case24/CAP2.rc new file mode 100644 index 000000000000..4e9e1bb95026 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case24/CAP2.rc @@ -0,0 +1,15 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20041125 210000 +20041126 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case24/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case24/ExtData.rc new file mode 100644 index 000000000000..0e50d21b5b84 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case24/ExtData.rc @@ -0,0 +1,13 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +#DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA N N 0 none none VAR2D case1.%y4.nc4 +VAR3D NA N N 0 none none VAR3D case2.%y4.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case24/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case24/HISTORY1.rc new file mode 100644 index 000000000000..15d036f1bc9f --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case24/HISTORY1.rc @@ -0,0 +1,19 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 + case2 +:: + + case1.template: '%y4.nc4', + case1.format: 'CFIO', + case1.frequency: 010000, + case1.duration: 000000 + case1.fields: 'VAR2D', 'Root', + :: + case2.template: '%y4.nc4', + case2.format: 'CFIO', + case2.frequency: 010000, + case2.duration: 000000 + case2.fields: 'VAR3D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case24/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case24/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case24/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case24/README b/Tests/ExtData_Testing_Framework/test_cases/case24/README new file mode 100644 index 000000000000..39f44190eea4 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case24/README @@ -0,0 +1 @@ +Case, 12-month/12 time 2004 file with 2 updates, non-climatology, cubed-sphere diff --git a/Tests/ExtData_Testing_Framework/test_cases/case24/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case24/extdata.yaml new file mode 100644 index 000000000000..ade3dd293935 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case24/extdata.yaml @@ -0,0 +1,6 @@ +Collections: + fstream1: {template: case1.%y4.nc4, valid_range: "2004-01-01/2005-01-01" } + fstream2: {template: case2.%y4.nc4, valid_range: "2004-01-01/2005-01-01" } +Exports: + VAR2D: {variable: VAR2D, collection: fstream1} + VAR3D: {variable: VAR3D, collection: fstream2} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case24/nproc.rc b/Tests/ExtData_Testing_Framework/test_cases/case24/nproc.rc new file mode 100644 index 000000000000..1e8b31496214 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case24/nproc.rc @@ -0,0 +1 @@ +6 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case25/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case25/AGCM1.rc new file mode 100644 index 000000000000..9772fa73fa05 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case25/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR3D , time , days , xyz , e +:: + +FILL_DEF:: +VAR3D time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case25/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case25/AGCM2.rc new file mode 100644 index 000000000000..25468d893da6 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case25/AGCM2.rc @@ -0,0 +1,26 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR3D , time , days , xyz , e +:: + +EXPORT_STATE:: +VAR3D , time , days , xyz , e +:: + +FILL_DEF:: +VAR3D time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case25/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case25/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case25/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case25/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case25/CAP1.rc new file mode 100644 index 000000000000..ce2690d6937b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case25/CAP1.rc @@ -0,0 +1,25 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20040115 210000 +20040215 210000 +20040315 210000 +20040415 210000 +20040515 210000 +20040615 210000 +20040715 210000 +20040815 210000 +20040915 210000 +20041015 210000 +20041115 210000 +20041215 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case25/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case25/CAP2.rc new file mode 100644 index 000000000000..4e9e1bb95026 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case25/CAP2.rc @@ -0,0 +1,15 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20041125 210000 +20041126 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case25/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case25/ExtData.rc new file mode 100644 index 000000000000..a45d1dd13f7f --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case25/ExtData.rc @@ -0,0 +1,13 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +#DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA N N 0 none none VAR2D case1.%y4.nc4 +VAR3D NA N N 0 none none VAR3D case1.%y4.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case25/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case25/HISTORY1.rc new file mode 100644 index 000000000000..1b6e816089a7 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case25/HISTORY1.rc @@ -0,0 +1,23 @@ +GRID_LABELS: PC45x21-DC +:: + +PC45x21-DC.GRID_TYPE: LatLon +PC45x21-DC.IM_WORLD: 45 +PC45x21-DC.JM_WORLD: 21 +PC45x21-DC.POLE: PC +PC45x21-DC.DATELINE: DC +PC45x21-DC.LM: 3 + +#GRID_LABELS: +#:: + +COLLECTIONS: case1 +:: + + case1.template: '%y4.nc4', + case1.format: 'CFIO', + case1.frequency: 010000, + case1.duration: 000000 + case1.grid_label: PC45x21-DC + case1.fields: 'VAR3D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case25/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case25/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case25/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case25/README b/Tests/ExtData_Testing_Framework/test_cases/case25/README new file mode 100644 index 000000000000..318986102ca4 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case25/README @@ -0,0 +1 @@ +test reading edge variables diff --git a/Tests/ExtData_Testing_Framework/test_cases/case25/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case25/extdata.yaml new file mode 100644 index 000000000000..e2ddb90675ab --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case25/extdata.yaml @@ -0,0 +1,5 @@ +Collections: + fstream1: {template: case1.%y4.nc4, valid_range: "2004-01-01/2005-01-01" } +Exports: + VAR2D: {variable: VAR2D, collection: fstream1} + VAR3D: {variable: VAR3D, collection: fstream1} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case26/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case26/AGCM1.rc new file mode 100644 index 000000000000..214bbb31e7bf --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case26/AGCM1.rc @@ -0,0 +1,24 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR3Dc , time , days , xyz , c +VAR3De , time , days , xyz , e +:: + +FILL_DEF:: +VAR3Dc time +VAR3De time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case26/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case26/AGCM2.rc new file mode 100644 index 000000000000..defaa0643ab7 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case26/AGCM2.rc @@ -0,0 +1,29 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR3Dc , time , days , xyz , c +VAR3De , time , days , xyz , e +:: + +EXPORT_STATE:: +VAR3Dc , time , days , xyz , c +VAR3De , time , days , xyz , e +:: + +FILL_DEF:: +VAR3Dc time +VAR3De time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case26/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case26/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case26/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case26/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case26/CAP1.rc new file mode 100644 index 000000000000..ce2690d6937b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case26/CAP1.rc @@ -0,0 +1,25 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20040115 210000 +20040215 210000 +20040315 210000 +20040415 210000 +20040515 210000 +20040615 210000 +20040715 210000 +20040815 210000 +20040915 210000 +20041015 210000 +20041115 210000 +20041215 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case26/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case26/CAP2.rc new file mode 100644 index 000000000000..4e9e1bb95026 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case26/CAP2.rc @@ -0,0 +1,15 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20041125 210000 +20041126 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case26/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case26/ExtData.rc new file mode 100644 index 000000000000..10b7735216ec --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case26/ExtData.rc @@ -0,0 +1,13 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +#DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR3Dc NA N N 0 none none VAR3Dc casec.%y4.nc4 +VAR3De NA N N 0 none none VAR3De casee.%y4.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case26/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case26/HISTORY1.rc new file mode 100644 index 000000000000..d0936b060353 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case26/HISTORY1.rc @@ -0,0 +1,31 @@ +GRID_LABELS: PC45x21-DC +:: + +PC45x21-DC.GRID_TYPE: LatLon +PC45x21-DC.IM_WORLD: 45 +PC45x21-DC.JM_WORLD: 21 +PC45x21-DC.POLE: PC +PC45x21-DC.DATELINE: DC +PC45x21-DC.LM: 3 + +#GRID_LABELS: +#:: + +COLLECTIONS: casec + casee +:: + + casec.template: '%y4.nc4', + casec.format: 'CFIO', + casec.frequency: 010000, + casec.duration: 000000 + casec.grid_label: PC45x21-DC + casec.fields: 'VAR3Dc', 'Root', + :: + casee.template: '%y4.nc4', + casee.format: 'CFIO', + casee.frequency: 010000, + casee.duration: 000000 + casee.grid_label: PC45x21-DC + casee.fields: 'VAR3De', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case26/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case26/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case26/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case26/README b/Tests/ExtData_Testing_Framework/test_cases/case26/README new file mode 100644 index 000000000000..cec787fe0882 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case26/README @@ -0,0 +1 @@ +Read edge + center diff --git a/Tests/ExtData_Testing_Framework/test_cases/case26/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case26/extdata.yaml new file mode 100644 index 000000000000..75ab030466dd --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case26/extdata.yaml @@ -0,0 +1,6 @@ +Collections: + fstreamc: {template: casec.%y4.nc4, valid_range: "2004-01-01/2005-01-01" } + fstreame: {template: casee.%y4.nc4, valid_range: "2004-01-01/2005-01-01" } +Exports: + VAR3Dc: {variable: VAR3Dc, collection: fstreamc} + VAR3De: {variable: VAR3De, collection: fstreame} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case3/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case3/AGCM1.rc new file mode 100644 index 000000000000..302766bebfab --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case3/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case3/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case3/AGCM2.rc new file mode 100644 index 000000000000..63df38ae71a5 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case3/AGCM2.rc @@ -0,0 +1,27 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC900x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +CLIM_YEAR: 2004 +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case3/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case3/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case3/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case3/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case3/CAP1.rc new file mode 100644 index 000000000000..a75a8c48bd1e --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case3/CAP1.rc @@ -0,0 +1,24 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +RUN_TIMES:: +20040115 210000 +20040215 210000 +20040315 210000 +20040415 210000 +20040515 210000 +20040615 210000 +20040715 210000 +20040815 210000 +20040915 210000 +20041015 210000 +20041115 210000 +20041215 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case3/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case3/CAP2.rc new file mode 100644 index 000000000000..4dc521f63044 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case3/CAP2.rc @@ -0,0 +1,15 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20071125 210000 +20071126 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case3/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case3/ExtData.rc new file mode 100644 index 000000000000..523802edf5f1 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case3/ExtData.rc @@ -0,0 +1,12 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +#DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA 2004 N 0 none none VAR2D case1.%y4%m2.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case3/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case3/HISTORY1.rc new file mode 100644 index 000000000000..0b54db8e8f25 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case3/HISTORY1.rc @@ -0,0 +1,11 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: '%y4%m2.nc4', + case1.format: 'CFIO', + case1.frequency: 010000, + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case3/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case3/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case3/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case3/README b/Tests/ExtData_Testing_Framework/test_cases/case3/README new file mode 100644 index 000000000000..f47e12688ffc --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case3/README @@ -0,0 +1 @@ +Case 3, monthly files for 2004 file with 1 updates, climatology for 2007 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case3/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case3/extdata.yaml new file mode 100644 index 000000000000..1f70929226a8 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case3/extdata.yaml @@ -0,0 +1,6 @@ +Samplings: + sample_clim: {extrapolation: clim} +Collections: + fstream1: {template: "case1.%y4%m2.nc4", valid_range: "2004-01-01/2004-12-31" } +Exports: + VAR2D: {variable: VAR2D, collection: fstream1, source_time: "2004-01-01/2004-12-31", sample: sample_clim} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case4/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case4/AGCM1.rc new file mode 100644 index 000000000000..93585c3bfdd2 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case4/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20040415 210000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case4/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case4/AGCM2.rc new file mode 100644 index 000000000000..2271a4a04fe9 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case4/AGCM2.rc @@ -0,0 +1,26 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20040416 090000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case4/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case4/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case4/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case4/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case4/CAP1.rc new file mode 100644 index 000000000000..8bc0e5df5306 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case4/CAP1.rc @@ -0,0 +1,16 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +RUN_TIMES:: +20040415 210000 +20040416 210000 +20040417 210000 +20040418 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case4/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case4/CAP2.rc new file mode 100644 index 000000000000..0209bfea0d8b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case4/CAP2.rc @@ -0,0 +1,13 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20040415 210000 + +JOB_SGMT: 00000001 000000 +HEARTBEAT_DT: 3600 + +RUN_TIMES:: +20040416 090000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case4/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case4/ExtData.rc new file mode 100644 index 000000000000..782b2e1947b9 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case4/ExtData.rc @@ -0,0 +1,12 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +#DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA N N F0 none none VAR2D case1.%y4%m2%d2.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case4/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case4/HISTORY1.rc new file mode 100644 index 000000000000..295240a18188 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case4/HISTORY1.rc @@ -0,0 +1,11 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: '%y4%m2%d2.nc4', + case1.format: 'CFIO', + case1.frequency: 010000, + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case4/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case4/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case4/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case4/README b/Tests/ExtData_Testing_Framework/test_cases/case4/README new file mode 100644 index 000000000000..04a0216fbe17 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case4/README @@ -0,0 +1 @@ +Case 4, simple everytime update with daily files and last value fixed diff --git a/Tests/ExtData_Testing_Framework/test_cases/case4/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case4/extdata.yaml new file mode 100644 index 000000000000..191e5e0e8ca5 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case4/extdata.yaml @@ -0,0 +1,6 @@ +Samplings: + sample_fixed: {time_interpolation: false} +Collections: + fstream1: {template: case1.%y4%m2%d2.nc4} +Exports: + VAR2D: {variable: VAR2D, collection: fstream1, sample: sample_fixed} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case5/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case5/AGCM1.rc new file mode 100644 index 000000000000..93585c3bfdd2 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case5/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20040415 210000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case5/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case5/AGCM2.rc new file mode 100644 index 000000000000..6241b66ae49c --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case5/AGCM2.rc @@ -0,0 +1,26 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20040415 210000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case5/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case5/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case5/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case5/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case5/CAP1.rc new file mode 100644 index 000000000000..8bc0e5df5306 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case5/CAP1.rc @@ -0,0 +1,16 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +RUN_TIMES:: +20040415 210000 +20040416 210000 +20040417 210000 +20040418 210000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case5/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case5/CAP2.rc new file mode 100644 index 000000000000..0209bfea0d8b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case5/CAP2.rc @@ -0,0 +1,13 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20040415 210000 + +JOB_SGMT: 00000001 000000 +HEARTBEAT_DT: 3600 + +RUN_TIMES:: +20040416 090000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case5/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case5/ExtData.rc new file mode 100644 index 000000000000..1c81c28b2b97 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case5/ExtData.rc @@ -0,0 +1,12 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +#DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA N N 0 none none VAR2D case1.%y4%m2%d2.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case5/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case5/HISTORY1.rc new file mode 100644 index 000000000000..295240a18188 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case5/HISTORY1.rc @@ -0,0 +1,11 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: '%y4%m2%d2.nc4', + case1.format: 'CFIO', + case1.frequency: 010000, + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case5/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case5/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case5/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case5/README b/Tests/ExtData_Testing_Framework/test_cases/case5/README new file mode 100644 index 000000000000..728af50ea7e9 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case5/README @@ -0,0 +1 @@ +Case 5, simple everytime update with daily files and time interpolation diff --git a/Tests/ExtData_Testing_Framework/test_cases/case5/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case5/extdata.yaml new file mode 100644 index 000000000000..a126e4e0ebf9 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case5/extdata.yaml @@ -0,0 +1,4 @@ +Collections: + fstream1: {template: case1.%y4%m2%d2.nc4} +Exports: + VAR2D: {variable: VAR2D, collection: fstream1} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case6/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case6/AGCM1.rc new file mode 100644 index 000000000000..302766bebfab --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case6/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case6/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case6/AGCM2.rc new file mode 100644 index 000000000000..7c517e6969e4 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case6/AGCM2.rc @@ -0,0 +1,24 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC900x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D 183+0.5*(-182.0-183.0) +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case6/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case6/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case6/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case6/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case6/CAP1.rc new file mode 100644 index 000000000000..b9c2d90f9891 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case6/CAP1.rc @@ -0,0 +1,10 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20031231 000000 + +JOB_SGMT: 00001202 000000 +HEARTBEAT_DT: 3600 + + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case6/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case6/CAP2.rc new file mode 100644 index 000000000000..845a49be478b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case6/CAP2.rc @@ -0,0 +1,14 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20061231 120000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case6/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case6/ExtData.rc new file mode 100644 index 000000000000..13d1376b6cf3 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case6/ExtData.rc @@ -0,0 +1,12 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA 2004 N 0 none none VAR2D case1.%y4%m2%d2.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case6/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case6/HISTORY1.rc new file mode 100644 index 000000000000..7f1045a27232 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case6/HISTORY1.rc @@ -0,0 +1,12 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: '%y4%m2%d2.nc4', + case1.format: 'CFIO', + case1.frequency: 240000, + case1.ref_time: 000000, + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case6/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case6/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case6/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case6/README b/Tests/ExtData_Testing_Framework/test_cases/case6/README new file mode 100644 index 000000000000..585f98aab2ca --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case6/README @@ -0,0 +1 @@ +Case 6, daily files for 0z for a year, fill a time at 12z on the 31st of december 2006 as a climatology diff --git a/Tests/ExtData_Testing_Framework/test_cases/case6/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case6/extdata.yaml new file mode 100644 index 000000000000..67a7a29a9b0d --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case6/extdata.yaml @@ -0,0 +1,6 @@ +Samplings: + sample_clim: {extrapolation: clim, source_time: "2004-01-01/2004-12-31"} +Collections: + fstream1: {template: "case1.%y4%m2%d2.nc4", valid_range: "2004-01-01/2004-12-31" } +Exports: + VAR2D: {variable: VAR2D, collection: fstream1, sample: sample_clim} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case7/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case7/AGCM1.rc new file mode 100644 index 000000000000..1a52adfe187d --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case7/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC900x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case7/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case7/AGCM2.rc new file mode 100644 index 000000000000..7bc84048f88f --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case7/AGCM2.rc @@ -0,0 +1,25 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D 167.0+(2.0/31.0)*(-168.0-167.0) +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case7/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case7/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case7/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case7/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case7/CAP1.rc new file mode 100644 index 000000000000..77bd783ddb2e --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case7/CAP1.rc @@ -0,0 +1,25 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20040115 000000 +20040215 000000 +20040315 000000 +20040415 000000 +20040515 000000 +20040615 000000 +20040715 000000 +20040815 000000 +20040915 000000 +20041015 000000 +20041115 000000 +20041215 000000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case7/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case7/CAP2.rc new file mode 100644 index 000000000000..af401118d4fa --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case7/CAP2.rc @@ -0,0 +1,14 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20061217 000000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case7/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case7/ExtData.rc new file mode 100644 index 000000000000..ca41e8d3a0ec --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case7/ExtData.rc @@ -0,0 +1,11 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. + +PrimaryExports%% +VAR2D NA Y N 0 none none VAR2D case1.2004.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case7/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case7/HISTORY1.rc new file mode 100644 index 000000000000..a2ad110c3fde --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case7/HISTORY1.rc @@ -0,0 +1,12 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: '%y4.nc4', + case1.format: 'CFIO', + case1.frequency: 010000, + case1.duration: 000000 + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case7/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case7/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case7/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case7/README b/Tests/ExtData_Testing_Framework/test_cases/case7/README new file mode 100644 index 000000000000..fdfb854902d9 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case7/README @@ -0,0 +1 @@ +Case, 12-month/12 time 2004 file with an update that will wrap around the year diff --git a/Tests/ExtData_Testing_Framework/test_cases/case7/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case7/extdata.yaml new file mode 100644 index 000000000000..23fba59ae3ba --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case7/extdata.yaml @@ -0,0 +1,6 @@ +Samplings: + sample_clim: {source_time: "2004-01-01/2004-12-31", extrapolation: clim} +Collections: + fstream1: {template: "case1.2004.nc4", valid_range: "2004-01-01/2004-12-31" } +Exports: + VAR2D: {variable: VAR2D, collection: fstream1, sample: sample_clim} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case8/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case8/AGCM1.rc new file mode 100644 index 000000000000..93585c3bfdd2 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case8/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20040415 210000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case8/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case8/AGCM2.rc new file mode 100644 index 000000000000..6241b66ae49c --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case8/AGCM2.rc @@ -0,0 +1,26 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D time +:: + +REF_TIME: 20040415 210000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case8/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case8/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case8/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case8/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case8/CAP1.rc new file mode 100644 index 000000000000..72cccef1f8b8 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case8/CAP1.rc @@ -0,0 +1,9 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20040201 210000 + +JOB_SGMT: 00000002 000000 +HEARTBEAT_DT: 1800 + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case8/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case8/CAP2.rc new file mode 100644 index 000000000000..e820872c1e5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case8/CAP2.rc @@ -0,0 +1,14 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20040201 213000 + +JOB_SGMT: 00000002 000000 +HEARTBEAT_DT: 1800 + +RUN_TIMES:: +20040202 150000 +20040202 230000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case8/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case8/ExtData.rc new file mode 100644 index 000000000000..706353827d51 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case8/ExtData.rc @@ -0,0 +1,12 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +#DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA N N 0 none none VAR2D case1.%y4%m2%d2_%h2%n2.nc4 2004-02-01T21:30:00P0000-00-00T03:00:00 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case8/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case8/HISTORY1.rc new file mode 100644 index 000000000000..ce09c7e5290b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case8/HISTORY1.rc @@ -0,0 +1,12 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: '%y4%m2%d2_%h2%n2.nc4', + case1.format: 'CFIO', + case1.frequency: 030000, + case1.ref_time: 213000 + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case8/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case8/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case8/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case8/README b/Tests/ExtData_Testing_Framework/test_cases/case8/README new file mode 100644 index 000000000000..ef8f3c8089fb --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case8/README @@ -0,0 +1 @@ +Case 8, simple everytime update with a new file every 3 hours relative to 003000z diff --git a/Tests/ExtData_Testing_Framework/test_cases/case8/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case8/extdata.yaml new file mode 100644 index 000000000000..f7fbd8500570 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case8/extdata.yaml @@ -0,0 +1,4 @@ +Collections: + fstream1: {template: case1.%y4%m2%d2_%h2%n2.nc4, ref_time: "2004-02-01T21:30:00", freq: PT3H} +Exports: + VAR2D: {variable: VAR2D, collection: fstream1} diff --git a/Tests/ExtData_Testing_Framework/test_cases/case9/AGCM1.rc b/Tests/ExtData_Testing_Framework/test_cases/case9/AGCM1.rc new file mode 100644 index 000000000000..e7caf16aa2d0 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case9/AGCM1.rc @@ -0,0 +1,22 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: GenerateExports + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D 17.0 +:: + +REF_TIME: 20040701 000000 diff --git a/Tests/ExtData_Testing_Framework/test_cases/case9/AGCM2.rc b/Tests/ExtData_Testing_Framework/test_cases/case9/AGCM2.rc new file mode 100644 index 000000000000..8560c27aecc7 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case9/AGCM2.rc @@ -0,0 +1,25 @@ +NX: 1 +NY: 1 + +Root.GRID_TYPE: LatLon +Root.GRIDNAME: DC90x45-PC +Root.LM: 3 +Root.IM_WORLD: 90 +Root.JM_WORLD: 45 +Root.POLE: 'PC' +Root.DATELINE: 'DC' + +RUN_MODE: CompareImports + +IMPORT_STATE:: +VAR2D , time , days , xy , c +:: + +EXPORT_STATE:: +VAR2D , time , days , xy , c +:: + +FILL_DEF:: +VAR2D 17.0 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case9/CAP.rc b/Tests/ExtData_Testing_Framework/test_cases/case9/CAP.rc new file mode 100644 index 000000000000..680d0ffa9c5b --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case9/CAP.rc @@ -0,0 +1,4 @@ +CASES:: +CAP1.rc +CAP2.rc +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case9/CAP1.rc b/Tests/ExtData_Testing_Framework/test_cases/case9/CAP1.rc new file mode 100644 index 000000000000..db6a1b1fa205 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case9/CAP1.rc @@ -0,0 +1,14 @@ +ROOT_NAME: Root +ROOT_CF: AGCM1.rc +HIST_CF: HISTORY1.rc + +BEG_DATE: 20040101 210000 + +JOB_SGMT: 00001200 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20040701 000000 +:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case9/CAP2.rc b/Tests/ExtData_Testing_Framework/test_cases/case9/CAP2.rc new file mode 100644 index 000000000000..31ad1a874601 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case9/CAP2.rc @@ -0,0 +1,17 @@ +ROOT_NAME: Root +ROOT_CF: AGCM2.rc +HIST_CF: HISTORY2.rc + +BEG_DATE: 20000101 210000 + +JOB_SGMT: 00009600 000000 +HEARTBEAT_DT: 3600 + +#RUN_EXTDATA: .false. +RUN_TIMES:: +20020703 000000 +:: +#RUN_TIMES:: +#20041125 210000 +#:: + diff --git a/Tests/ExtData_Testing_Framework/test_cases/case9/ExtData.rc b/Tests/ExtData_Testing_Framework/test_cases/case9/ExtData.rc new file mode 100644 index 000000000000..b5f2a303a22e --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case9/ExtData.rc @@ -0,0 +1,12 @@ +#CASE_SENSITIVE_VARIABLE_NAMES: .false. +Ext_AllowExtrap: .false. +Prefetch: .true. +#DEBUG_LEVEL: 20 + +PrimaryExports%% +VAR2D NA N N - none none VAR2D case1.nc4 +%% + + +DerivedExports%% +%% diff --git a/Tests/ExtData_Testing_Framework/test_cases/case9/HISTORY1.rc b/Tests/ExtData_Testing_Framework/test_cases/case9/HISTORY1.rc new file mode 100644 index 000000000000..490301aee5ea --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case9/HISTORY1.rc @@ -0,0 +1,12 @@ +GRID_LABELS: +:: + +COLLECTIONS: case1 +:: + + case1.template: 'nc4', + case1.format: 'CFIO', + case1.frequency: 010000, + case1.duration: 000000 + case1.fields: 'VAR2D', 'Root', + :: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case9/HISTORY2.rc b/Tests/ExtData_Testing_Framework/test_cases/case9/HISTORY2.rc new file mode 100644 index 000000000000..2895432e995a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case9/HISTORY2.rc @@ -0,0 +1,5 @@ +GRID_LABELS: +:: + +COLLECTIONS: +:: diff --git a/Tests/ExtData_Testing_Framework/test_cases/case9/README b/Tests/ExtData_Testing_Framework/test_cases/case9/README new file mode 100644 index 000000000000..ffb8734bc0e7 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case9/README @@ -0,0 +1 @@ +Case 9 Single time file, persisted at all times diff --git a/Tests/ExtData_Testing_Framework/test_cases/case9/extdata.yaml b/Tests/ExtData_Testing_Framework/test_cases/case9/extdata.yaml new file mode 100644 index 000000000000..79f977377386 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/case9/extdata.yaml @@ -0,0 +1,6 @@ +Samplings: + sample_closest: {extrapolation: persist_closest} +Collections: + fstream1: {template: case1.nc4} +Exports: + VAR2D: {variable: VAR2D, collection: fstream1, sample: sample_closest} diff --git a/Tests/ExtData_Testing_Framework/test_cases/cases.txt b/Tests/ExtData_Testing_Framework/test_cases/cases.txt new file mode 100644 index 000000000000..9753d563eb9a --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/cases.txt @@ -0,0 +1,25 @@ +case1 +case2 +case3 +case4 +case5 +case6 +case7 +case8 +case9 +case10 +case11 +case12 +case13 +case14 +case15 +case16 +case18 +case19 +case20 +case21 +case22 +case23 +case24 +case25 +case26 diff --git a/Tests/ExtData_Testing_Framework/test_cases/test_case_descriptions.md b/Tests/ExtData_Testing_Framework/test_cases/test_case_descriptions.md new file mode 100644 index 000000000000..2b8b02b42681 --- /dev/null +++ b/Tests/ExtData_Testing_Framework/test_cases/test_case_descriptions.md @@ -0,0 +1,33 @@ +# Test Case Descriptions + +Note all test cases are in a numbered directory caseX, where a X is an integer and each case is described in the following list where the list number X is for folder caseX + +To run the test cases you can use the provided script and run the command: +path_to_script/run_extdatadriver_cases.py --builddir path_to_geos_install/bin --casedir path_to_cases --cases cases.txt --savelog TRUE + +1. 12-month/12 time 2004 file with 2 updates, non-climatology +2. 12-month/12 time 2004 file with 2 updates, climatology +3. monthly files for 2004 file with 1 updates, climatology for 2007 +4. simple everytime update with daily files and no time interpolation +5. simple everytime update with daily files and time interpolation +6. daily files for 0z for a year, fill a time at 12z on the 31st of december 2006 as a climatology +7. 12-month/12 time 2004 file with an update that will wrap around the year +8. simple everytime update with a new file every 3 hours relative to 003000z +9. Single time file, persisted at all times +10. Interpolation outside of data set (Harvard mode), make a multi year dataset. Define as not a climatology and ask for data after dataset time range +11. Interpolation outside of data set (Harvard mode), make a multi year dataset. Define as not a climatology and ask for data before datset time range +12. Test of case where you want to make a really coarse file in History that can not be decomposed on the default layout in the rc file. Be able to output such a file, then read back in on same grid in ExtData +13. Testing that we can take a climatology for a non-leap year and interpolate to a leap year. 12 files each with the midmonth value for 2007 (non-leap year). Interpolate to 02/29/2008 (leap year) +14. Testing that we can take a climatology for a non-leap year and interpolate to a leap year. Daily files each with 1 value for 2007 (non-leap year). Interpolate to 02/29/2008 (leap year) +15. Testing that we can take a climatology for a non-leap year and interpolate to a non-leap year. Daily files each with 1 value for 2007 (non-leap year). Interpolate to 03/29/2006 (leap year) +16. Testing that we can take a climatology for a leap year and interpolate to a non-leap year. Daily files each with 1 value for 2008 (leap year). Interpolate to 03/29/2006 15z (leap year) +17. Not used +18. Test vector regridding +19. Test set file to /dev/null +20. Make daily files for 2016. Then start on February 29th in 2020 and allow extrapolation outside of dataset a climatology +21. Test derived export to create sum of 2 variables +22. Test multiple datasets where an export uses both with with no extrapolation outside and crosses transition date +23. Test multiple datasets and treat Climatology in the first and a real-time in the 2nd +24. Test reading cubed-sphere input +25. Test reading edge variable +26. Test reading edge + cetner variables