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
87fa28f3
Commit
87fa28f3
authored
5 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Fix _ll shapefile location in mapfile
parent
16e5d19f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
mapserver/mapfiles/g16_abi_fldk_l1b.map
+1
-1
1 addition, 1 deletion
mapserver/mapfiles/g16_abi_fldk_l1b.map
tile_gen/README.md
+5
-3
5 additions, 3 deletions
tile_gen/README.md
tile_gen/run.sh
+1
-0
1 addition, 0 deletions
tile_gen/run.sh
with
7 additions
and
4 deletions
mapserver/mapfiles/g16_abi_fldk_l1b.map
+
1
−
1
View file @
87fa28f3
...
@@ -55,7 +55,7 @@ MAP
...
@@ -55,7 +55,7 @@ MAP
LAYER
LAYER
NAME "true_color_index_ll"
NAME "true_color_index_ll"
TYPE TILEINDEX
TYPE TILEINDEX
DATA "/data/tiles/g16/abi/radf_ll/true_color/true_color_
LL
"
DATA "/data/tiles/g16/abi/radf_ll/true_color
_ll
/true_color_
ll
"
END
END
LAYER
LAYER
...
...
This diff is collapsed.
Click to expand it.
tile_gen/README.md
+
5
−
3
View file @
87fa28f3
...
@@ -16,11 +16,13 @@ docker run -d --rm --network cspp-geo-rabbit --cpus 2 --name cspp-geo-tilegen-g1
...
@@ -16,11 +16,13 @@ docker run -d --rm --network cspp-geo-rabbit --cpus 2 --name cspp-geo-tilegen-g1
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
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.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 the above can take a really long time and fall behind.
NOTE: For full disk data, remapping all products can take a really long
It may be best to limit this to one or two products for testing by adding:
time and fall behind. The above command limits processing to "true_color"
only. To attempt to process all products remove the below portion of the
command.
```
```
-e G2G_PRODUCTS="true_color"
-e G2G_PRODUCTS="true_color"
...
...
This diff is collapsed.
Click to expand it.
tile_gen/run.sh
+
1
−
0
View file @
87fa28f3
...
@@ -72,6 +72,7 @@ run_tile_gen() {
...
@@ -72,6 +72,7 @@ run_tile_gen() {
json_info
=
"{path:
${
glob_pattern
}
, satellite_family:
${
satellite_family
}
, satellite_ID:
${
satellite_id
}
, instrument:
${
instrument
}
, data_type:
${
data_type
}
}"
json_info
=
"{path:
${
glob_pattern
}
, satellite_family:
${
satellite_family
}
, satellite_ID:
${
satellite_id
}
, instrument:
${
instrument
}
, data_type:
${
data_type
}
}"
json_info
=
"{
\"
path
\"
:
\"
${
glob_pattern
}
\"
,
\"
satellite_family
\"
:
\"
${
satellite_family
}
\"
,
\"
satellite_ID
\"
:
\"
${
satellite_id
}
\"
,
\"
instrument
\"
:
\"
${
instrument
}
\"
,
\"
data_type
\"
:
\"
${
data_type
}
\"
}"
json_info
=
"{
\"
path
\"
:
\"
${
glob_pattern
}
\"
,
\"
satellite_family
\"
:
\"
${
satellite_family
}
\"
,
\"
satellite_ID
\"
:
\"
${
satellite_id
}
\"
,
\"
instrument
\"
:
\"
${
instrument
}
\"
,
\"
data_type
\"
:
\"
${
data_type
}
\"
}"
echo
-e
"[[
\"
$amqpsend_topic
\"
,
$json_info
]]"
| python3 /work/amqpfind/amqpsend.py
${
AMQPSEND_ARGS
}
echo
-e
"[[
\"
$amqpsend_topic
\"
,
$json_info
]]"
| python3 /work/amqpfind/amqpsend.py
${
AMQPSEND_ARGS
}
echo
"Done generating tiles for
${
path
}
"
}
}
export
-f
run_tile_gen
export
-f
run_tile_gen
...
...
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