eodie package
Submodules
eodie.extractor module
eodie.index module
eodie.mask module
eodie.pathfinder module
class to find paths dependent on config/platform
authors: Samantha Wittke
- class eodie.pathfinder.Pathfinder(rasterdir: str, cfg: dict)
Bases:
object
class dealing with paths .. attribute:: cfg
dictionary with configuration elements
- type
dict
- rasterdir
location and name of a raster product
- Type
str
- imgpath
location and name of the bands within the raster product
- Type
str
- tile
tile information (if available) of the raster product
- Type
str
- date
date information of the raster product
- Type
str
- __init__(rasterdir: str, cfg: dict)
initializing Pathfinder object :param rasterdir: location and name of a raster product :type rasterdir: str :param cfg: dictionary with configuration elements :type cfg: dict
- get_dateinfo()
extract date from filename according to pattern from from config
- get_imgpath()
creating the path to the raster data band files based on path given in bandlocation
- get_tileinfo()
extract tilename from filename according to pattern from from config