MCPcopy Create free account
hub / github.com/comaps/comaps / generate_maps

Function generate_maps

tools/python/maps_generator/maps_generator.py:27–42  ·  view source on GitHub ↗

Runs maps generation.

(env: Env, from_stage: Optional[AnyStr] = None)

Source from the content-addressed store, hash-verified

25
26
27def generate_maps(env: Env, from_stage: Optional[AnyStr] = None):
28 """"Runs maps generation."""
29 stages = (
30 sd.StageDownloadAndConvertPlanet(),
31 sd.StageUpdatePlanet(),
32 sd.StageCoastline(),
33 sd.StagePreprocess(),
34 sd.StageFeatures(),
35 sd.StageDownloadDescriptions(),
36 sd.StageMwm(),
37 sd.StageCountriesTxt(),
38 sd.StageStatistics(),
39 sd.StageCleanup(),
40 )
41
42 run_generation(env, stages, from_stage)
43
44
45def generate_coasts(env: Env, from_stage: Optional[AnyStr] = None):

Callers 1

mainFunction · 0.90

Calls 1

run_generationFunction · 0.85

Tested by

no test coverage detected