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
7bfbd135
Commit
7bfbd135
authored
5 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Update rabbitmq message topics to have product field
parent
5ba750b4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tile_gen/README.md
+2
-2
2 additions, 2 deletions
tile_gen/README.md
tile_gen/run.sh
+1
-1
1 addition, 1 deletion
tile_gen/run.sh
with
3 additions
and
3 deletions
tile_gen/README.md
+
2
−
2
View file @
7bfbd135
...
@@ -10,13 +10,13 @@ docker push gitlab.ssec.wisc.edu:5555/cspp_geo/cspp-geo-web-viewer/tile_gen:late
...
@@ -10,13 +10,13 @@ docker push gitlab.ssec.wisc.edu:5555/cspp_geo/cspp-geo-web-viewer/tile_gen:late
## Usage
## Usage
```
bash
```
bash
docker run
-d
--rm
--network
cspp-geo-rabbit
--cpus
2
--name
cspp-geo-tilegen-g16-radf
-e
AMQPFIND_TOPIC
=
"data.goes.g16.abi.radf.l1b.geotiff.complete"
-v
cspp-geo-abi-l1b-geotiffs:/data gitlab.ssec.wisc.edu:5555/cspp_geo/cspp-geo-web-viewer/tile_gen:latest ./run.sh
docker run
-d
--rm
--network
cspp-geo-rabbit
--cpus
2
--name
cspp-geo-tilegen-g16-radf
-e
AMQPFIND_TOPIC
=
"data.goes.g16.abi.radf.l1b.geotiff.
all.
complete"
-v
cspp-geo-abi-l1b-geotiffs:/data gitlab.ssec.wisc.edu:5555/cspp_geo/cspp-geo-web-viewer/tile_gen:latest ./run.sh
```
```
To run the version of tile generation that remaps to EPSG:4326:
To run the version of tile generation that remaps to EPSG:4326:
```
bash
```
bash
docker run
-d
--rm
--network
cspp-geo-rabbit
--cpus
6
--name
cspp-geo-tilegen-g16-radf-ll
-e
AMQPFIND_TOPIC
=
"data.goes.g16.abi.radf.l1b.geotiff.complete"
-e
G2G_PRODUCTS
=
"true_color"
-e
TILE_ARGS
=
"--remap --shape-file {product}_ll.shp"
-v
cspp-geo-abi-l1b-geotiffs:/data gitlab.ssec.wisc.edu:5555/cspp_geo/cspp-geo-web-viewer/tile_gen:latest ./run.sh
docker run
-d
--rm
--network
cspp-geo-rabbit
--cpus
6
--name
cspp-geo-tilegen-g16-radf-ll
-e
AMQPFIND_TOPIC
=
"data.goes.g16.abi.radf.l1b.geotiff.
all.
complete"
-e
G2G_PRODUCTS
=
"true_color"
-e
TILE_ARGS
=
"--remap --shape-file {product}_ll.shp"
-v
cspp-geo-abi-l1b-geotiffs:/data gitlab.ssec.wisc.edu:5555/cspp_geo/cspp-geo-web-viewer/tile_gen:latest ./run.sh
```
```
NOTE: For full disk data, remapping all products can take a really long
NOTE: For full disk data, remapping all products can take a really long
...
...
This diff is collapsed.
Click to expand it.
tile_gen/run.sh
+
1
−
1
View file @
7bfbd135
...
@@ -65,7 +65,7 @@ run_tile_gen() {
...
@@ -65,7 +65,7 @@ run_tile_gen() {
for
product
in
${
G2G_PRODUCTS
}
;
do
for
product
in
${
G2G_PRODUCTS
}
;
do
json_times_changed
=
$(
python3 generate_tiles.py
${
TILE_ARGS
}
--json-times
-p
${
product
}
--
${
out_dir
}
${
path
}
)
json_times_changed
=
$(
python3 generate_tiles.py
${
TILE_ARGS
}
--json-times
-p
${
product
}
--
${
out_dir
}
${
path
}
)
# OUT/<product>/<product>.shp
# OUT/<product>/<product>.shp
glob_pattern
=
"
${
out_dir
}
/
${
product
}
/*.shp"
glob_pattern
=
"
${
out_dir
/\{product\
}
/
${
product
}
}
/*.shp"
# Remove the /data prefix
# Remove the /data prefix
glob_pattern
=
"
${
glob_pattern
/
${
dst_dir
}
\//
}
"
glob_pattern
=
"
${
glob_pattern
/
${
dst_dir
}
\//
}
"
...
...
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