dtcenter / METcalcpy

https://metcalcpy.readthedocs.io/en/latest/index.html
Apache License 2.0
16 stars 2 forks source link

Refactor blocking and weather regime code so they are more flexible #392

Open CPKalb opened 2 months ago

CPKalb commented 2 months ago

Describe the Enhancement

The blocking and weather regime code currently require input that has the same number of days for each year. So, if someone is verifying DJF for 10 years, each year would need to have 90 days of data (leap years omitted). The driver script in METplus will fill missing data, but the user must enter start and end dates to include 90 days of each year (20001201 - 20200228 would work, whereas 20001201 - 20200101 would not). The code came to us this way, but it should be made more flexible. Making it more flexible will allow to remove some variables needed in the blocking and weather regime use cases

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

Milestone and Projects

Define Related Issue(s)

Consider the impact to the other METplus components.

Enhancement Checklist

See the METplus Workflow for details.