Delete synoptic data of any particular station for the particular time #928
-
Hello team, Could please advise how can I delete/unpublish synoptic data of one particular station for the particular period of time? Our staff sent the retired data of 2025-04-30 2100 when the date and month was changed so the file was generated with the year and month 202505 and plugin picked up the month from the name of file and generated the data of 2025-05-30. I am currently using latest release 1.0.0 of win2box. Kashif |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @KashifProg The wis2box-management container has a cronjob that runs the command This commands cleans data from the API-backend (Elasticsearch) and removes data older than the retention-period as well as data in the future (see https://github.com/World-Meteorological-Organization/wis2box/blob/main/wis2box-management/wis2box/api/backend/elastic.py#L400-L434 ) You can run this command manually by logging to the wis2box-management container as follows:
kind regards, |
Beta Was this translation helpful? Give feedback.
Hi @KashifProg
The wis2box-management container has a cronjob that runs the command
wis2box api clean
once a day.This commands cleans data from the API-backend (Elasticsearch) and removes data older than the retention-period as well as data in the future (see https://github.com/World-Meteorological-Organization/wis2box/blob/main/wis2box-management/wis2box/api/backend/elastic.py#L400-L434 )
You can run this command manually by logging to the wis2box-management container as follows:
kind regards,
Maaike