dtcenter / METplus

Python scripting infrastructure for MET tools.
https://metplus.readthedocs.io
Apache License 2.0
97 stars 37 forks source link

Enhancement: Follow symbolic links when searching for files within a time window #2423

Closed georgemccabe closed 9 months ago

georgemccabe commented 9 months ago

The logic that traverses a directory to find files that fall within a time window (FILE_WINDOW) does not follow symbolic links, so directories that contain links will not be traversed. This came up in discussion #2415

Describe the Enhancement

The call to os.walk in the _get_closest_files function in metplus/wrappers/command_builder.py should include the argument followlinks=True

Time Estimate

Estimate the amount of work required here. Issues should represent approximately 1 to 3 days of work.

Sub-Issues

Consider breaking the enhancement down into sub-issues.

Relevant Deadlines

List relevant project deadlines here or state NONE.

Funding Source

Define the source of funding and account keys here or state NONE.

Define the Metadata

Assignee

Labels

Projects and Milestone

Define Related Issue(s)

Consider the impact to the other METplus components.

Enhancement Checklist

See the METplus Workflow for details.

georgemccabe commented 9 months ago

Completed with cd6a11d