Skip to content

Thoughts on default output directory #54

@djhoese

Description

@djhoese

Right now the make_GLM_grids.py example script outputs to a 2019/Oct/13/ formatted directory. This directory isn't modifiable by the user of the script, right? I could update it to allow the user to modify where the files go or so that it always rights to the current directory. This example script seems to be used in a couple places so I'm not sure if users are expected to take it and modify it as needed or if it is the advertised "entry point" to using glmtools from the command line.

This output directory only uses the start time of the earliest file. Would it be of interest to glmtools devs to allow for a per-file directory? I could also change the code to do:

start_time.strftime("%Y/%b/%d")

Instead of the hardcoded 20 that it has now for the year.

Just some thoughts while exploring the code. Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions