tests

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Corrected code for the remaining timedelta in the predictor. Adapted tests to at least prevent this from failing.

Related to Issue [SDTOOLBOX-59]

  1. … 1 more file in changeset.
Uniformed the timedelta when doing the addition. Created system test to just verify it does not crash.

Related to Issue [SDTOOLBOX-59]

  1. … 2 more files in changeset.
Added extra check to avoid tests running in TeamCity using remote test data.
Added extra check to avoid tests running outside TeamCity.
Now we replace the input data so that we are still returning a usable xarray.

Related to Issue [SDTOOLBOX-55]

  1. … 1 more file in changeset.
Minor remarks.
  1. … 1 more file in changeset.
update testing local desktop Etienne
    • -1
    • +1
    ./testing_Etienne/SD_ToolBox_Testing_remoteD.ipynb
updated testing Etienne
    • binary
    ./testing_Etienne/datasets/WAM_ERA5.nc
    • -200
    • +555
    ./testing_Etienne/SD_ToolBox_Testing_remoteD.ipynb
    • binary
    ./testing_Etienne/datasets/BOX_ERA5_MSL.nc
    • binary
    ./testing_Etienne/datasets/BOX_ERA5.nc
added datasets
    • binary
    ./testing_Etienne/datasets/WAM_ERA5_WAVE.nc
    • binary
    ./testing_Etienne/datasets/BOX_ERA5_WAVE.nc
    • binary
    ./testing_Etienne/datasets/BOX_ERA5_MSL.nc
remote desktop commit
    • -23
    • +10
    ./testing_Etienne/SD_ToolBox_Testing.ipynb
    • -394
    • +193
    ./testing_Etienne/SD_ToolBox_Testing_remoteD.ipynb
local desktop committed
    • -0
    • +401
    ./testing_Etienne/Debugging.ipynb
    • -0
    • +1262
    ./testing_Etienne/SD_ToolBox_Testing_localD.ipynb
Continue testing - remoteD
    • -0
    • +1423
    ./testing_Etienne/SD_ToolBox_Testing_remoteD.ipynb
Corrected tests so they point the correct folder. Extended asserts so they give more information when failing.

Related to Issue [SDTOOLBOX-47]

  1. … 1 more file in changeset.
Added nc files generated from sd toolbox.

Related to Issue [SDTOOLBOX-48]

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]