Uploaded image for project: 'Apache Open Climate Workbench (Retired)'
  1. Apache Open Climate Workbench (Retired)
  2. CLIMATE-787

Create mock objects for test_local.py

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.0
    • 1.4.0
    • tests
    • None

    Description

      The current test_local.py file tests does not cover the following functions in local.py:

      1. load_WRF_2d_files()
      2. load_dataset_from_multiple_netcdf_files()
      3. load_NLDAS_forcingA_files()
      4. load_GPM_IMERG_files()

      To test these functions, necessary datasets are required. Downloading the dataset from the internet everytime the tests execute is not an efficient strategy.
      Hence, create mock datasets and objects that can be used to test these functions.

      Attachments

        Issue Links

          Activity

            People

              michael.arthur.anderson@gmail.com Michael Anderson
              jarifibrahim Ibrahim Jarif
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: