Developer Instruction

  1. Developers are instructed to follow the similar format of the scripts.

  2. Include new functions in proper modules. If suitable module is not found, include them in basic_utils.

  3. After including any function, add a pytest in appropriate testing scripts and test it. Without proper pytest new functions will not be included in the main branch and future release.

Instructions for testing

## Steps to test Install pytest using pip install pytest before running the test.

  1. Go to test directory

    cd <repo_path>/meersolar/tests
    
  2. Download test data

    python3 download_test_data.py
    
  3. Run utils module test:

    pytest -s -v utils
    
  4. Run meerpipeline module test:

    pytest -s -v meerpipeline