-
Notifications
You must be signed in to change notification settings - Fork 0
/
parameters.py
38 lines (29 loc) · 1.58 KB
/
parameters.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import os
# List of folder where the national maps are location.
# Maps will be search for in each folder.
INPUT_FOLDERS = ['./data/LKGREL25', './data/PK25', './data/SMR25']
# List of tiles to process. Each tile will be process independently.
TILES_TO_PROCESS = ["1164"]
# Input file that contains columns EGID, GKODE, GKODN
DATA_LOCATION = "./input/DATA_NE.csv"
# Ground truth to evaluate the detection.
# Must be similar to the file in DATA_LOCATION with an additional GBAUJ column
# An empty string will disable the test step
GROUND_TRUTH = "./test/GBAUP_TEST_DATA.csv"
# Folder where the result will be written. One subfolder will be created per tile.
OUTPUT_FOLDER = "./output/"
TEST_MIN_YEAR = 1956 # First year for which data is available
TEST_MAX_YEAR = 2021 # Last year for which data is available
FRAMES_SIZE = (7000, 4800)
PROCESSING_FOLDER = "./regbl_process/"
INPUT_FRAMES_FOLDER = PROCESSING_FOLDER+'frames/'
PROCESSED_FRAME_FOLDER = PROCESSING_FOLDER+"regbl_frame/frame/"
TILES_LIST_FILENAME = "tiles_list"
TILES_LIST_PATH = os.path.join(PROCESSING_FOLDER, TILES_LIST_FILENAME)
EGID_OUTPUT_PATH = os.path.join(PROCESSING_FOLDER, "output/egid/")
POSITION_OUTPUT_PATH = os.path.join(PROCESSING_FOLDER, "output/position/")
DETECT_OUTPUT_PATH = os.path.join(PROCESSING_FOLDER, "output/detect/")
FRAME_OUTPUT_PATH = os.path.join(PROCESSING_FOLDER, "output/frame/")
DEDUCE_OUTPUT_PATH = os.path.join(PROCESSING_FOLDER, "output/deduce/")
SURFACE_OUTPUT_PATH = os.path.join(PROCESSING_FOLDER, "output/surface/")
REFERENCE_OUTPUT_PATH = os.path.join(PROCESSING_FOLDER, "output/reference/")