diff --git a/.github/workflows/testing_checks.yaml b/.github/workflows/testing_checks.yaml index 6d9fa29..560259f 100644 --- a/.github/workflows/testing_checks.yaml +++ b/.github/workflows/testing_checks.yaml @@ -17,7 +17,7 @@ on: jobs: testing: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 name: Running testing strategy: matrix: @@ -33,11 +33,10 @@ jobs: steps: - name: Current python version run: python3 --version || echo python3 not installed - - name: Install Python 3.7 + - name: Install Python 3.8 uses: actions/setup-python@v2 with: - python-version: '3.7' - id: install_python_3_7 + python-version: '3.8' - name: Updated python version run: python3 --version - name: PYTHONPATH environment variable @@ -54,13 +53,13 @@ jobs: run: find . -type f -name "*.py" > action_test_files.txt - name: Install system requirements shell: bash - run: 'sudo apt-get install -y python3-gdal gdal-bin libgdal-dev gcc g++ python3.7-dev' + run: 'sudo apt-get install -y python3-gdal gdal-bin libgdal-dev gcc g++ python3.8-dev' - name: Install Python numpy shell: bash run: 'python3 -m pip install --upgrade --no-cache-dir numpy wheel' - name: Install Python pygdal shell: bash - run: 'python3 -m pip install --no-cache-dir pygdal==2.2.3.5' + run: 'python3 -m pip install --no-cache-dir pygdal==3.0.4.*' - name: Install system requirements from source shell: bash run: 'if [ -s "packages.txt" ]; then (cat packages.txt | sudo xargs apt-get install -y --no-install-recommends) || (echo "Failed to install additional packages" && exit 1); fi' diff --git a/test_data/rgb_plot.csv b/test_data/rgb_plot.csv index 588ca1f..dbf916e 100644 --- a/test_data/rgb_plot.csv +++ b/test_data/rgb_plot.csv @@ -1,2 +1,2 @@ species,site,timestamp,lat,lon,citation_author,citation_year,citation_title,excess greenness index excess_greenness_index ([-510:510]), green leaf index green_leaf_index ( [-1:1]), cive cive ( [-255:255]), normalized difference index normalized_difference_index(pxarray) ( [-127:129]), excess red excess_red ( [-255:255]), exgr exgr ( [-255:332]), combined indices 1 combined_indices_1 ( [-1000:1000]), combined indices 2 combined_indices_2 ( [-1000:1000]), vegetative index vegetative_index ( [-255:255]), normalized green-red difference ngrdi ( [-255:255]), percent green percent_green ( [0:100]) -Sorghum bicolor,,2018-10-11,33.07454704500288,-111.97502671168861,"Clairessa Brown","2020","Woebbecke, D.M. et al",14,0.02,16.2,-1.53,56.5,-42.5,30.2,12.8,1.02,-0.02,0.34 +Sorghum bicolor,,2018-10-11,33.074547045002895,-111.97502671168866,"Clairessa Brown","2020","Woebbecke, D.M. et al",14,0.02,16.2,-1.53,56.5,-42.5,30.2,12.8,1.02,-0.02,0.34