-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
From other tasks it is requested to saparate model storage by timeframe. As CCC for 2D,WK,MO,YR wants to keep retention for 2Y and from CSA (1D,ID)would be kept up to 1y.
Idea:
OPDE-CONFIDENTIAL-MODELS/
└── RMM/
└── TIMEFRAME/ # 1D | 2D | ID | WK | MO | YR
└── MODEL .zip
I got in mind the fix something like this:
to:
`saved_horizon = str(task_properties["time_horizon"]).strip().upper()
if saved_horizon == "ID":
folder = f"{OUTPUT_MINIO_FOLDER}/ID"
else:
folder = f"{OUTPUT_MINIO_FOLDER}/{saved_horizon}"
merged_model_object.name = f"{folder}/{merged_model.name}.zip"
`
Is this approach is correct or maybe you have some better solutions?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Progress