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

provide a means to remove data types that are obsolete #112

Open
elidana opened this issue Jun 26, 2017 · 3 comments
Open

provide a means to remove data types that are obsolete #112

elidana opened this issue Jun 26, 2017 · 3 comments

Comments

@elidana
Copy link

elidana commented Jun 26, 2017

Trying to sort out some of the things that are currently blocking #82 and #83.
I need to remove from the db obsolete "bernese5" data (typeID = e, n, u)

The db is populated with some obsolete data (product of an old processing strategy) that can now be deleted.

Could please the following data be deleted ():
all typeID=e, n, u associated with the methodID=bernese5

These data are empty, as you can see from:

[elidana@rally ~]% curl -o temp "https://fits.geonet.org.nz/observation?networkID=LI&siteID=AUCK&typeID=e&methodID=bernese5"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0    30    0    30    0     0     93      0 --:--:-- --:--:-- --:--:--   600

(e_rf, n_rf, u_rf stay for now)

ps. I had a quick look at fits-loader, and it doesn't seem to me there's a provision for the user to do such a thing (and it sounds quite reasonable)

Thanks!

@rumachan
Copy link

A facility to do this for 'authorised users' would be helpful. It would permit those users to better manage 'their' data without bothering others to do this for them.

I have just tried to use fits-loader --delete-first and an empty input files, but it doesn't like it. So we need something different.

@elidana
Copy link
Author

elidana commented Jun 26, 2017

Yes, I agree. Some more sudoers option for the db wouldn't be bad.
Could that be a further development of #87 ?

@elidana elidana changed the title please delete obsolete "bernese5" data (typeID = e, n, u) provide a means to remove data types that are obsolete Jun 26, 2017
@mabznz
Copy link

mabznz commented Jun 28, 2017

Yes, this is definitely solved with with a writeable API for data. Adding to backlog but will look at deleting data when I get access.

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

No branches or pull requests

3 participants