Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CLI command to delete unchanged beliefs (#328)
Add three CLI commands to delete 1) unchanged beliefs, 2) NaN values or 3) a sensor and all of its time series data. * Add CLI command to delete unchanged beliefs Signed-off-by: F.N. Claessen <felix@seita.nl> * .count() instead of .all() to get to prompt faster Signed-off-by: F.N. Claessen <felix@seita.nl> * Set batch size outside of loop Signed-off-by: F.N. Claessen <felix@seita.nl> * Shorter statements to confirm prompts Signed-off-by: F.N. Claessen <felix@seita.nl> * Allow excluding forecasts or measurements when deleting unchanged beliefs Signed-off-by: F.N. Claessen <felix@seita.nl> * Clearer CLI option names, and use new tb method options Signed-off-by: F.N. Claessen <felix@seita.nl> * Add command to delete NaN values Signed-off-by: F.N. Claessen <felix@seita.nl> * Streamline CLI option defaults Signed-off-by: F.N. Claessen <felix@seita.nl> * Clarify prompt Signed-off-by: F.N. Claessen <felix@seita.nl> * Bump timely-beliefs dependency Signed-off-by: F.N. Claessen <felix@seita.nl> * Add command to delete a sensor along with its data Signed-off-by: F.N. Claessen <felix@seita.nl> * Move commands to "official" CLI delete group, and get rid of the dev-delete group Signed-off-by: F.N. Claessen <felix@seita.nl> * sensor_id is required for delete_sensor Signed-off-by: F.N. Claessen <felix@seita.nl> * Add option to delete NaN values for a single sensor only Signed-off-by: F.N. Claessen <felix@seita.nl>
- Loading branch information
Showing
4 changed files
with
129 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters