Make polar ice plot more configurable #214
Labels
alert: NEED ACCOUNT KEY
Need to assign an account key to this issue
alert: NEED CYCLE ASSIGNMENT
Need to assign to a release development cycle
alert: NEED MORE DEFINITION
Not yet actionable, additional definition required
METplotpy: Plots
priority: medium
Medium Priority
requestor: NOAA/EMC
NOAA Environmental Modeling Center
type: enhancement
Improve something that it is currently doing
Milestone
Describe the Enhancement
The polar ice plot can only be generated if it is invoked in a directory that has the polar_ice.yaml file. Some users will need the flexibility to invoke the polar_plot.py script from a directory that doesn't contain the polar_ice.yaml file. Some users will need to be able to specify the location of a configuration file which they can edit to point to the location of input data.
Replacing this code:
yaml_file_name = "polar_ice.yaml"
try:
config = yaml.load(
open(yaml_file_name), Loader=yaml.FullLoader)
with code that will support any configuration file (i.e. not limited to only a file named polar_ice.yaml) that is defined with the full file path. Currently, the yaml loader is looking for a polar_ice.yaml file that is in the current working directory.
Time Estimate
Estimate the amount of work required here.
~ 1 1/2 days
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.
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: