Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete observations #63

Closed
chris-y opened this issue Oct 31, 2019 · 8 comments
Closed

Delete observations #63

chris-y opened this issue Oct 31, 2019 · 8 comments

Comments

@chris-y
Copy link

chris-y commented Oct 31, 2019

Please can we have an option to delete observations locally, either manually or on a schedule (or maybe as soon as they are synced to the server?).

In the meantime is there an easy way to do this from the command line?

@mash55
Copy link

mash55 commented Oct 31, 2019

I second that

@dernasherbrezon
Copy link
Owner

I can implement that, but why do you want to delete them? They will be automatically deleted based on the retention period. By default it is:

scheduler.data.retention.count=2

I.e. it will keep last 2 observations.

@chris-y
Copy link
Author

chris-y commented Nov 1, 2019

In my case I'm running out of space (my fault for using a too small SD card). I'm going to switch to a bigger SD card, but then I thought I'd just get the same problem again. If there's already a retention period then that solves that issue. However, it would still be nice to be able to clear out old readings manually, eg. if there's a satellite you've stopped monitoring the old observations will be there indefinitely otherwise.

@dernasherbrezon
Copy link
Owner

Ah yes. Removing unsupported/decayed satellites from SD card makes sense. For now I suggest either:

  1. putting retention = 1 and uploading everything into r2server. Or
  2. Disabling unwanted satellites. You can check spectogram from any of their observation and see if the signal is strong enough.

@mash55
Copy link

mash55 commented Nov 1, 2019

I was unaware of the retention period. If there is documentation on how everything works, please let me know.

So with the current retention period, data will disappear from the r2cloud server?

How about an option to download an observation (Metadata/Data/Spectrogram/Remarks (See #64) ) so we can keep 'important' observation locally?

@dernasherbrezon
Copy link
Owner

The data won't disappear from r2server. It will be deleted from r2cloud only.

With "important" observations it would by really hard to calculate space on SD card. On the one hand, they should be deleted because of disk space, on the other keep them, because they important. Maybe it is better to have them on r2server where disk space is not an issue?

@mash55
Copy link

mash55 commented Nov 1, 2019

Well, that works for me too. If I can add notes/remarks to observations and they will be transferred to the r2cloud and kept on r2cloud it will be possible to compare (to a certain extend) observations made with different HW (antenna/LNA/diplexres/location (see #64 )

@dernasherbrezon
Copy link
Owner

I added a separate retention period for meta data. So it is possible to keep meta data for longer period and cleanup raw data (heavyweight) earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants