Skip to content
This repository has been archived by the owner on Jun 18, 2023. It is now read-only.

Config file usability improvement -- environment variables #42

Closed
ceholden opened this issue Oct 6, 2015 · 1 comment
Closed

Config file usability improvement -- environment variables #42

ceholden opened this issue Oct 6, 2015 · 1 comment
Milestone

Comments

@ceholden
Copy link
Owner

ceholden commented Oct 6, 2015

Allow environment variables to be used in configuration files. Should greatly help usability in situations where you want to run the same configuration on different but identically formatted datasets. Previously this was accomplished by sed'ing many file paths in the config files.

Example usage, where $ROOTDIR is used in the configuration files to point to the dataset location:

export ROOTDIR=$HOME/Documents/landsat_stack/p013r030/images 
yatsm -v pixel $CONFIG/envvar.yaml 25 25
@ceholden ceholden added this to the v0.5.1 milestone Oct 6, 2015
@ceholden
Copy link
Owner Author

ceholden commented Oct 6, 2015

Added in 0683e03 and (partially) documented in 35a147d

@ceholden ceholden closed this as completed Oct 6, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant