Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geosphere-mapserver
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Monitor
Incidents
Analyze
Value stream analytics
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
cspp_geo
geosphere
geosphere-mapserver
Commits
2038d8d6
Commit
2038d8d6
authored
5 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Allow tile gen environment variable override
parent
9592a290
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tile_gen/run.sh
+2
-1
2 additions, 1 deletion
tile_gen/run.sh
with
2 additions
and
1 deletion
tile_gen/run.sh
+
2
−
1
View file @
2038d8d6
...
...
@@ -22,6 +22,7 @@ export AMQPFIND_ARGS=${AMQPFIND_ARGS:-"-H cspp-geo-rabbit -X satellite -u guest
export
AMQPSEND_ARGS
=
${
AMQPSEND_ARGS
:-
"-H cspp-geo-rabbit -X satellite -u guest -p guest"
}
export
AMQPFIND_TOPIC
=
${
AMQPFIND_TOPIC
:-
'data.goes.*.abi.*.l1b.geotiff.complete'
}
export
G2G_PRODUCTS
=
${
G2G_PRODUCTS
:-
"C01 C02 C03 C04 C05 C06 C07 C08 C09 C10 C11 C12 C13 C14 C15 C16 true_color"
}
export
TILE_ARGS
=
${
TILE_ARGS
:-
""
}
export
TMPDIR
=
${
TMPDIR
:-
"/dst/tmp"
}
run_tile_gen
()
{
...
...
@@ -45,7 +46,7 @@ run_tile_gen() {
# generate_tiles.py will make a temporary directory
out_dir
=
"/dst/tiles/
${
satellite_family
}
/
${
satellite_id
}
/
${
instrument
}
"
mkdir
-p
${
out_dir
}
python3 generate_tiles.py
--remap
-p
${
G2G_PRODUCTS
}
--
${
out_dir
}
${
path
}
python3 generate_tiles.py
${
TILE_ARGS
}
-p
${
G2G_PRODUCTS
}
--
${
out_dir
}
${
path
}
# OUT/<product>/<product>.shp
glob_pattern
=
"
${
out_dir
}
/*/*.shp"
...
...
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