Skip to content

Commit

Permalink
Init resource
Browse files Browse the repository at this point in the history
  • Loading branch information
chbrandt committed Sep 19, 2023
0 parents commit 69e49c2
Show file tree
Hide file tree
Showing 6 changed files with 7,876 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/dachs-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: DaCHS Resource Test
run-name: Test service (on latest dachs)
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
Validate-and-Import:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: List repository content
run: du -sh ${{ github.workspace }}/*
- name: Pull DaCHS image (latest)
run: docker pull gavodachs/dachs:latest
- name: Run container
run: |
docker run --name dachs_container -v "${{ github.workspace }}:/var/gavo/inputs/planmap" -dt gavodachs/dachs
- name: Check running container
run: |
docker ps | grep -q dachs_container
- name: Start DaCHS
run: |
docker exec dachs_container /dachs.sh start
- name: Validate RD
run: |
docker exec dachs_container dachs val planmap/q
- name: Import RD (sample)
run: |
docker exec dachs_container dachs imp -M 100 planmap/q
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# GMap

GMap EPNTAP resource
3 changes: 3 additions & 0 deletions data/data.csv
Git LFS file not shown
16 changes: 16 additions & 0 deletions docs/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: planmap-vespa
channels:
- conda-forge
- defaults
dependencies:
- fiona=1.8.13
- jupyterlab=2.2.6
- notebook=6.3.0
- numpy=1.20.2
- pandas=1.1.1
- pip=20.2.2
- python=3.7
- rasterio=1.1.7
- requests=2.24.0
- scipy=1.6.3
- shapely=1.7.1
Loading

0 comments on commit 69e49c2

Please sign in to comment.