Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LIFE V1 tidy up #12

Merged
merged 36 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
f672abf
Remove unused scripts
mdales Sep 6, 2024
f4c0e75
Add new AoH calculator code as submodule
mdales Sep 6, 2024
06a97f0
Get AoH flow working
mdales Sep 9, 2024
cdae770
Tidy top level
mdales Sep 9, 2024
0447919
Add scripts for data prep before AoH
mdales Sep 9, 2024
3aec8ec
Add more manual stages
mdales Sep 11, 2024
3661da0
README updates
mdales Sep 16, 2024
655af9e
README link fix
mdales Sep 16, 2024
197b3c5
README updates
mdales Sep 16, 2024
b82695e
README updates
mdales Sep 16, 2024
be3bb71
Fixes and tweaks.
mdales Sep 23, 2024
e76b17e
Misc fixes
mdales Sep 24, 2024
cd6db95
Updated to generate scaled delta_p maps for publication
mdales Sep 30, 2024
6e3bfc3
Significantly speed up the database extraction script
mdales Oct 2, 2024
93571e8
Reworked species database collection.
mdales Oct 3, 2024
de1e905
Document species selection process.
mdales Oct 3, 2024
4762366
First full pass of LIFE
mdales Oct 16, 2024
45ec9e1
Fixes and tweaks
mdales Oct 21, 2024
6ab2194
Add simple run script
mdales Oct 22, 2024
667119d
Update aoh-calculator
mdales Oct 28, 2024
a8fef74
Fixes and tweaks
mdales Oct 28, 2024
89da50f
Make arable map match original work.
mdales Oct 29, 2024
150166a
Build for full pipeline run
mdales Oct 31, 2024
0155662
Remove unused scripts
mdales Oct 31, 2024
95b590c
More remove old scripts
mdales Oct 31, 2024
1e607db
Remove old IUCN importer code
mdales Oct 31, 2024
e332c04
Add script to let us generate analysis of maps
mdales Nov 1, 2024
677ce81
Add analysis scripts to master run script
mdales Nov 6, 2024
3fc914a
Add species richness predictor.
mdales Nov 7, 2024
27b66a9
Update aoh-calculator
mdales Nov 7, 2024
b2ddf7d
Only exclude species where caves are major importance
mdales Nov 7, 2024
80cfce7
Script to calculate endemism
mdales Nov 8, 2024
2655778
Fix linter warnings
mdales Nov 8, 2024
f456273
Rename species richness script
mdales Nov 8, 2024
ed558ed
Fix linter warnings
mdales Nov 8, 2024
c7e6c64
Add github action
mdales Nov 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python CI

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest
container: ghcr.io/osgeo/gdal:ubuntu-small-3.9.3
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]

steps:
- name: Install system
run: |
apt-get update -qqy
apt-get install -y git python3-pip libpq5 libpq-dev
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Lint with pylint
run: |
python3 -m pylint deltap predictors prepare-layers prepare-species
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "aoh-calculator"]
path = aoh-calculator
url = [email protected]:quantifyearth/aoh-calculator.git
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[FORMAT]
max-line-length=120

disable=C0114, C0115, C0116, W0511, R0801, R0902, R0912, R0913, R0914, R0915, R1705, W0231
disable=C3001, C0104, C0114, C0115, C0116, W0511, R0801, R0902, R0911, R0912, R0913, R0914, R0915, R0917, R1705, W0231,
27 changes: 0 additions & 27 deletions IUCN-importer/README.md

This file was deleted.

174 changes: 0 additions & 174 deletions IUCN-importer/iucn_gpkg_creator.py

This file was deleted.

1 change: 1 addition & 0 deletions aoh-calculator
Submodule aoh-calculator added at b6574c
Loading
Loading