Skip to content

Relative 'folder' paths and irregular time series data#2

Open
jprine wants to merge 3 commits intoEnviroCentre:developfrom
jprine:develop
Open

Relative 'folder' paths and irregular time series data#2
jprine wants to merge 3 commits intoEnviroCentre:developfrom
jprine:develop

Conversation

@jprine
Copy link
Copy Markdown

@jprine jprine commented Oct 20, 2015

Adds support for relative path for the 'folder' configuration option.

Adds new configuration option 'ir_block_lenght' to set a block length and read irregular data from files with tests.

J.Paul Rinehimer added 3 commits October 19, 2015 18:26
If an absolute path is not given for the 'folder' variable, a relative path is used, assuming that the base path is the same as the path of the configuration file.
This commit adds irregular time series support using an new option in the yaml configuration files, `ir_block_length`. By setting `ir_block_length` to one of `{'DAY', 'MONTH', 'YEAR', 'CENTURY'}` (case-insensitive) , the data will be stored as irregular using that value for the block size. See the HEC-DSS manual for a description of these parameters.
@faph
Copy link
Copy Markdown
Contributor

faph commented Dec 12, 2015

I've now made data import folders and graph output folders relative to the yaml config file. The graph output folders were already relative, but relative to the dss file. I think it makes more sense to have it relative to the config file so your db can live somewhere centrally. This keeps config files and input/outputs closer together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants