Update wrapped MET config files to reference MET_TMP_DIR in tmp value #1101
Labels
METplus: Configuration
priority: medium
Medium Priority
reporting: DTC NOAA BASE
NOAA Office of Atmospheric Research DTC Project
requestor: NOAA/EMC
NOAA Environmental Modeling Center
type: enhancement
Improve something that it is currently doing
Milestone
The default value is currently /tmp, however some machines discourage using this directory to write temp files. When running through METplus wrappers, the environment variable MET_TMP_DIR is set which overrides this value. Running with the wrapped MET config files outside of the wrappers (via command line) require the other environment variables to be set to run or it will fail. If all of the env vars set for a command are set, then it will include MET_TMP_DIR, however this may not always be the case. Setting the value for tmp to $(MET_TMP_DIR) will ensure that the value is overridden properly when running by hand and make it clear to users that the value set for tmp in those files is not being used.
Describe the Enhancement
Change the files in parm/met_config to reference the MET_TMP_DIR environment variable instead of /tmp.
Time Estimate
~< 1 day
Sub-Issues
Consider breaking the enhancement down into sub-issues.
Relevant Deadlines
4.1.0
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.
Branch name:
feature_<Issue Number>_<Description>
Pull request:
feature <Issue Number> <Description>
Select: Reviewer(s) and Linked issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
The text was updated successfully, but these errors were encountered: