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

Use same interface to allow an upload of a particular allocation run. #12

Closed
qjhart opened this issue May 15, 2015 · 9 comments
Closed
Assignees

Comments

@qjhart
Copy link
Contributor

qjhart commented May 15, 2015

Can we build a simple interface where an administrator can upload a particular allocation run to the server, so that it is publicly available. I can think of two ways to do this:

  • We build a postgres function that reads in a CSV, and then build a little script to upload the CSV.
  • (In the manner that with our new hammer, everything is a nail :) That would cause the submission of one CSV file as a pull request to a data repository. This would allow anyone to sumbit, but requires an additional admin step to approve, and repopulate the DB.
@jrmerz
Copy link
Collaborator

jrmerz commented May 15, 2015

Can you send me a sample CSV, I seemed to have lost mine.

@qjhart
Copy link
Contributor Author

qjhart commented May 15, 2015

@brmagnuson We need some example allocation files to see about admining this drought-app.

@brmagnuson
Copy link
Collaborator

Am requesting these; will get them to you shortly.

@brmagnuson
Copy link
Collaborator

Sent you an example; let me know if you need more examples or anything else.

@jrmerz
Copy link
Collaborator

jrmerz commented May 20, 2015

@qjhart is the calvindb repo (bitbucket) up to date and where I can find the latest code for the postgres calvin instance? I want to make sure I am up to speed before I comment further.

@qjhart
Copy link
Contributor Author

qjhart commented May 26, 2015

@jrmerz, the current drought stuff was integared directly in the calvindb bitbuck account, because originally there was some notion that they woud be together, but I don't think that's the case, and I think we can probably seperate it. I wonder why not move it all to this repo?

@jrmerz
Copy link
Collaborator

jrmerz commented Jun 30, 2015

@qjhart what about moving to a data repo with csv files and sqlite backend as we have talked about before? Both checked into repo. Then all data is public and query-able. Only issue would be if using pull requests is too complex. Could there be a simpler way to add/update csv's?

@brmagnuson
Copy link
Collaborator

Just checking in on the status of this. The State Board is starting to murmur about getting started on porting the website over to their side rather than perpetually maintaining it at Davis, which I believe was the intent all along. I said you guys had some improvements you still wanted to make (mainly this issue) and I would check in and see how it was going.

@qjhart
Copy link
Contributor Author

qjhart commented Jul 17, 2015

Yes, I've copied some of this over to #15 , so we can discuss moving the service to SWRCB.

@jrmerz jrmerz closed this as completed Jan 7, 2016
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