tests

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed unit for MSL, created test to verify the output is correct.
  1. … 1 more file in changeset.
Now we can compute spatial gradient for a multidimensional xarray.

Related to Issue [SDTOOLBOX-65]

  1. … 2 more files in changeset.
Added test to verify mask is correctly generated.

Related to Issue [SDTOOLBOX-64]

Sorted mask lat and lon values when extracting data.

Related to Issue [SDTOOLBOX-64]

  1. … 1 more file in changeset.
Fixed applying mask for gridded data.
  1. … 1 more file in changeset.
Fixed raising error, it was not checking anything at all. Fixed tests as well. Shame on me.
  1. … 1 more file in changeset.
Added an error when trying to validate input coordinates that do not form a 'gridded' shape. Created tests for it.
  1. … 1 more file in changeset.
Corrected lat / lon keys that were being returned as lon-lat for 'masked' sets. Created tests.
  1. … 1 more file in changeset.
Now gridded data extracts all NN points for them.
  1. … 1 more file in changeset.
Changed the predictor definition algorithm so it's more inline with the existing matlab code.

Related to Issue [SDTOOLBOX-61]

  1. … 1 more file in changeset.
Replaced variable name and added an extra explanation.

Related to Issue [SDTOOLBOX-60]

  1. … 1 more file in changeset.
newly tested progress
    • -248
    • +426
    ./testing_Etienne/SD_ToolBox_Testing_remoteD.ipynb
    • -0
    • +1755
    ./testing_Etienne/.ipynb_checkpoints/SD_ToolBox_Testing_remoteD-checkpoint.ipynb
    • -0
    • +1120
    ./testing_Etienne/SD_ToolBox_Testing_remoteD.py
    • binary
    ./testing_Etienne/datasets/BOX_ERA5_MSL.nc
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]