tests

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updated tests for data processing.

Related to Issue [SDTOOLBOX-25]

Extended tests for statistical model

Related to Issue [SDTOOLBOX-53]

    • -0
    • +62
    ./test_statistical_model.py
Created tests to verify that the output data can be generated for the same cases we are extracting data.

Related to Issue [SDTOOLBOX-47]

  1. … 1 more file in changeset.
Replaced accessed to variables.

Related to Issue [SDTOOLBOX-51]

Added property for OutputData so that variables can be accessed directly.

Added tests to verify the shortcut.

Related to Issue [SDTOOLBOX-51]

  1. … 1 more file in changeset.
Forgot to commit the assert between dictionaries.

Related to Issue [SDTOOLBOX-50]

The keys can be extracted with a built in function. A test has been extended to verify the keys are returned as expected.

Related to Issue [SDTOOLBOX-50]

Correctly wrongly named tests.

Related to Issue [SDTOOLBOX-47]

Wrapped tests in fixtures.

Related to Issue [SDTOOLBOX-47]

Fixed test not verifying the correct structure.

Related to Issue [SDTOOLBOX-47]

Corrected wrong variable for extracting. Simple test for extract variable and single year now works.

Related to Issue [SDTOOLBOX-47]

Extracted data is no longer a masked array when extracting one single year.

Related to Issue [SDTOOLBOX-47]

  1. … 1 more file in changeset.
Normalized tests.

Related to Issue [SDTOOLBOX-46]

Rename duplicated test name.

Related to Issue [SDTOOLBOX-46]

Extended tests so that we test a bit all the possible workflows.

Related to Issue [SDTOOLBOX-46]

Improved tests and their verifications.

Related to Issue [SDTOOLBOX-46]

Renamed generic test to avoid accidentally running it on TeamCity.

Related to Issue [SDTOOLBOX-46]

Renamed etienne tests to avoid failing in TeamCity.

Related to Issue [SDTOOLBOX-46]

    • -0
    • +47
    ./testing_Etienne/chunkData_landsea.py
    • -0
    • +59
    ./testing_Etienne/chunkData_HS.py
    • -47
    • +0
    ./testing_Etienne/test_chunkData_landsea.py
    • -0
    • +47
    ./testing_Etienne/chunkData_msl_p.py
    • -47
    • +0
    ./testing_Etienne/test_chunkData_HS.py
    • -47
    • +0
    ./testing_Etienne/test_chunkData_msl_p.py
Extended basic test.

Related to Issue [SDTOOLBOX-46]

updated / removed chunked files

Related to Issue [SDTOOLBOX-46]

    • binary
    ./test_data/chunked_data/Hs/era5_Global_Hs_1986.nc
    • binary
    ./test_data/chunked_data/Hs/era5_Global_Hs_1984.nc
    • binary
    ./test_data/chunked_data/Hs/era5_Global_Hs_1985.nc
    • binary
    ./testing_Etienne/chunked_data/era5_Global_Hs_1983.nc
    • binary
    ./testing_Etienne/chunked_data/era5_Global_msl_p_1984.nc
    • binary
    ./testing_Etienne/chunked_data/era5_Global_msl_p_1982.nc
    • binary
    ./testing_Etienne/chunked_data/era5_Global_Hs_1982.nc
    • binary
    ./testing_Etienne/chunked_data/era5_Global_msl_p_1983.nc
    • binary
    ./testing_Etienne/chunked_data/era5_Global_Hs_1985.nc
    • binary
    ./test_data/chunked_data/Hs/era5_Global_Hs_1983.nc
  1. … 5 more files in changeset.
Added new notebooks

Related to Issue [SDTOOLBOX-46]

    • -0
    • +47
    ./testing_Etienne/test_chunkData_landsea.py
    • -0
    • +147
    ./testing_Etienne/Check_nc_files.ipynb
    • -0
    • +47
    ./testing_Etienne/test_chunkData_HS.py
    • binary
    ./testing_Etienne/chunked_data/era5_Global_msl_p_1981.nc
    • -0
    • +47
    ./testing_Etienne/test_chunkData_msl_p.py
    • binary
    ./testing_Etienne/chunked_data/era5_Global_Hs_1981.nc
    • binary
    ./testing_Etienne/chunked_data/ERA5_landsea_mask.nc
updated / removed chunked files

Related to Issue [SDTOOLBOX-46]

updated chunked files
Extracted get_seamask_positions so that it's testable.

Related to Issue [SDTOOLBOX-46]

  1. … 1 more file in changeset.
Fixed some tests pointing to the wrong folders.

Related to Issue [SDTOOLBOX-46]

Added logging messages for wrong masks.

Related to Issue [SDTOOLBOX-46]

  1. … 1 more file in changeset.
Added logger for input_data. Pytest will show its output (also for TC).

Related to Issue [SDTOOLBOX-21]

  1. … 2 more files in changeset.
Added chunked mask.

Related to Issue [SDTOOLBOX-46]

    • binary
    ./test_data/chunked_data/ERA5_landsea_mask.nc
Removed chunk data.

Related to Issue [SDTOOLBOX-46]

Added u10 data.

Related to Issue [SDTOOLBOX-46]

    • binary
    ./test_data/chunked_data/u10/year_1982/u10_time_718824
    • binary
    ./test_data/chunked_data/u10/year_1982/u10_time_718848
    • binary
    ./test_data/chunked_data/u10/year_1982/u10_time_718896
    • binary
    ./test_data/chunked_data/u10/year_1981/u10_time_710088
    • binary
    ./test_data/chunked_data/u10/year_1982/u10_time_718872
    • binary
    ./test_data/chunked_data/u10/year_1981/u10_time_710136
    • binary
    ./test_data/chunked_data/u10/year_1981/u10_time_710064
    • binary
    ./test_data/chunked_data/u10/year_1981/u10_time_710112