Skip to content

Improved function for "earth" kernel #262

@laspsandoval

Description

@laspsandoval

Summary

Extract this to a separate function that all three components can call instead of having duplicated code.

Line 715 in file_validation.py

if len(components["start_date"]) == 8:
components["start_date"] = datetime.strptime(
components["start_date"], "%Y%m%d"
)
else:
components["start_date"] = datetime.strptime(
components["start_date"], "%y%m%d"

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions