Skip to content

Commit

Permalink
Update script output paths
Browse files Browse the repository at this point in the history
  • Loading branch information
sgreenbury committed Oct 23, 2024
1 parent 8bb6df5 commit d929530
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/0.1_run_osmox.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
def main(config_file):
config = load_config(config_file)
config.init_rng()
os.makedirs(acbm.root_path / "data/external/osmox", exist_ok=True)
_fp = get_data(config.region, directory=acbm.root_path / "data/external/osmox")
os.makedirs(acbm.root_path / "data/interim/osmox", exist_ok=True)
_fp = get_data(config.region, directory=acbm.root_path / "data/interim/osmox")
subprocess.run(
[
"osmox",
"run",
acbm.root_path / "osmox/config_osmox.json",
acbm.root_path / f"data/external/osmox/{config.region}.osm.pbf",
f"data/external/osmox/{config.region}",
acbm.root_path / f"data/interim/osmox/{config.region}.osm.pbf",
f"data/interim/osmox/{config.region}",
"-f",
"geoparquet",
"-crs",
Expand Down

0 comments on commit d929530

Please sign in to comment.