Über Open CoDE
Software
Wiki
Diskussionen
GitLab
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
giessdenkiez-de-dwd-harvester
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Smart City Muenster
DIGIFARM.MS
Muenster schenkt aus
giessdenkiez-de-dwd-harvester
Commits
047f11d4
Unverified
Commit
047f11d4
authored
1 year ago
by
Fabian Morón Zirfas
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #77 from technologiestiftung/staging
staging -> master
parents
4f01dac8
a59b9ee4
No related branches found
Branches containing commit
Tags
v1.2.3
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/test-harvest.yml
+1
-1
1 addition, 1 deletion
.github/workflows/test-harvest.yml
harvester/harvester.py
+4
-2
4 additions, 2 deletions
harvester/harvester.py
with
5 additions
and
3 deletions
.github/workflows/test-harvest.yml
+
1
−
1
View file @
047f11d4
...
...
@@ -79,7 +79,7 @@ jobs:
node-version
:
18
-
run
:
npm ci
-
id
:
semantic-release
uses
:
cycjimmy/semantic-release-action@v
2
uses
:
cycjimmy/semantic-release-action@v
3
with
:
semantic_version
:
18
env
:
...
...
This diff is collapsed.
Click to expand it.
harvester/harvester.py
+
4
−
2
View file @
047f11d4
...
...
@@ -290,7 +290,7 @@ if len(filelist) > 0:
# generate gejson for map and upload to S3
logging
.
info
(
"
generate geojson 🗺️
"
)
s3
=
boto3
.
client
(
'
s3
'
,
aws_access_key_id
=
os
.
getenv
(
"
ACCESS_KEY
"
),
aws_secret_access_key
=
os
.
getenv
(
"
SECRET_KEY
"
))
"
AWS_
ACCESS_KEY
_ID
"
),
aws_secret_access_key
=
os
.
getenv
(
"
AWS_
SECRET_
ACCESS_
KEY
"
))
features
=
[]
features_light
=
[]
...
...
@@ -340,7 +340,9 @@ if len(filelist) > 0:
for
tree
in
trees
:
newLine
=
"
\n
"
newLine
+=
"
{},{},{},{}
"
.
format
(
tree
[
0
],
tree
[
1
],
tree
[
2
],
tree
[
3
])
if
tree
[
4
]
is
not
None
:
if
tree
[
4
]
is
None
:
newLine
+=
"
,
"
else
:
newLine
+=
"
,{}
"
.
format
(
int
(
tree
[
4
]))
singleCSV
+=
newLine
trees_csv
+=
newLine
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment