SD_Toolbox

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Adapted code for single nearest neighbor which is not returning lists of lists.

Related to Issue [SDTOOLBOX-62]

Fixed incorrent amount of stations / lat and lon values.

Related to Issue [SDTOOLBOX-62]

    • -14
    • +13
    /trunk/SDToolBox/extract_data.py
Set values as numpy array for simplicity.

Related to Issue [SDTOOLBOX-62]

Now we correctly save the values for the output lat_key and lon_key. The indexes are only needed for stations, which are still saved.

Related to Issue [SDTOOLBOX-62]

    • -19
    • +25
    /trunk/SDToolBox/extract_data.py
Changed the predictor definition algorithm so it's more inline with the existing matlab code.

Related to Issue [SDTOOLBOX-61]

    • -9
    • +23
    /trunk/SDToolBox/predictor_definition.py
    • -3
    • +20
    /trunk/tests/test_predictor_definition.py
Replaced variable name and added an extra explanation.

Related to Issue [SDTOOLBOX-60]

    • -1
    • +1
    /trunk/tests/test_predictor_definition.py
    • -3
    • +5
    /trunk/SDToolBox/predictor_definition.py
newly tested progress
    • -0
    • +1120
    /trunk/tests/testing_Etienne/SD_ToolBox_Testing_remoteD.py
Corrected code for the remaining timedelta in the predictor. Adapted tests to at least prevent this from failing.

Related to Issue [SDTOOLBOX-59]

    • -28
    • +63
    /trunk/tests/test_predictor_definition.py
    • -3
    • +3
    /trunk/SDToolBox/predictor_definition.py
Uniformed the timedelta when doing the addition. Created system test to just verify it does not crash.

Related to Issue [SDTOOLBOX-59]

    • -2
    • +2
    /trunk/SDToolBox/predictor_definition.py
    • -8
    • +40
    /trunk/tests/test_predictor_definition.py
Brought back previous datetime, just changed the calendar type so it uses de default one instead.

Related to Issue [SDTOOLBOX-59]

Remove cartopy dependency as it is not working correctly.
Added extra package after request from testers.
SDTOOLBOX-59 modified output timestamps to use numpy datetime64.

Related to Issue [SDTOOLBOX-59]

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]

    • -0
    • +2
    /trunk/tests/test_predictor_definition.py
    • -2
    • +3
    /trunk/SDToolBox/predictor_definition.py
Minor remarks.
    • -1
    • +15
    /trunk/tests/test_predictor_definition.py
    • -3
    • +2
    /trunk/SDToolBox/predictor_definition.py
update testing local desktop Etienne
updated testing Etienne
added datasets
remote desktop commit
local desktop committed
    • -0
    • +401
    /trunk/tests/testing_Etienne/Debugging.ipynb
    • -0
    • +1262
    /trunk/tests/testing_Etienne/SD_ToolBox_Testing_localD.ipynb
Added MSLP variable for output.
Improved extracted data for gridded data.
Continue testing - remoteD
    • -0
    • +1423
    /trunk/tests/testing_Etienne/SD_ToolBox_Testing_remoteD.ipynb
Hardcoded is gridded data_processing.py call to true so that we don't block the user from operating with other calls. Fail Fast policy.

Related to Issue [SDTOOLBOX-25]

Corrected tests so they point the correct folder. Extended asserts so they give more information when failing.

Related to Issue [SDTOOLBOX-47]

Added nc files generated from sd toolbox.

Related to Issue [SDTOOLBOX-48]

  1. /trunk/tests/test_data/generated_output_data
Updated tests for data processing.

Related to Issue [SDTOOLBOX-25]

    • -86
    • +44
    /trunk/tests/test_predictor_definition.py
Extended tests for statistical model

Related to Issue [SDTOOLBOX-53]

    • -0
    • +62
    /trunk/tests/test_statistical_model.py