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

Implement GCBM workflow with uploading files / running sim / downloading sim #64

Merged
merged 14 commits into from
Aug 31, 2021

Conversation

shubhamkarande13
Copy link
Member

Description

PR to implement uploading of GCBM config and input files to do a GCBM run.
Fixes #6. Also check #61.

Changes:
Add Dropzone as a dependency to implement drag and drop file upload.

image

@waridrox
Copy link
Member

Here's the preview of the changes -

preview.mov

@@ -37,6 +37,10 @@ import VueMaterial from 'vue-material'
// Vue.use(MdList)
// Vue.use(MdDialog)
// Vue.use(MdContent)

// import VueUploadComponent from 'vue-upload-component'
Copy link
Collaborator

@aornugent aornugent Aug 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's delete this if it's not going to be used. Otherwise comments accumulate in the code base and noone remembers why it's there.

<div class="w-full lg:w-8/12 px-4">
</div>
<div class="w-full lg:w-4/12 px-4">
<template>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file looks like it's just a copy of the RothC template? Suggest we remove and tackle GCBM config later, go straight from upload to run.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In a separate PR!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh it was there just to serve as a filler route, that way we could experiment upon...Sure will update this to the GCBM configs view.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha, just leave an empty placeholder then :😉

@aornugent
Copy link
Collaborator

@shubhamkarande13 if the upload feature is complete, you can merge it and open a new PR to address form data?

As a rule of thumb, a PR should only be a few days of work!

@shubhamkarande13
Copy link
Member Author

image

@waridrox waridrox marked this pull request as ready for review August 26, 2021 16:41
@shubhamkarande13 shubhamkarande13 marked this pull request as ready for review August 30, 2021 13:01
@waridrox
Copy link
Member

Here's the preview for the changes -

starting.sim.mov
running.sim.to.finished.mov
download.mov

@waridrox waridrox changed the title Implement File upload functionality for a GCBM run Implement GCBM workflow with uploading files / running sim / downloading sim Aug 30, 2021
Copy link

@mfellows mfellows left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great! At some point in the future maybe we can look at integrating the postprocessing script on the server side that merges together all of those smaller .tif files in the output. Looks very usable at this point though.

Copy link
Collaborator

@aornugent aornugent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shubhamkarande13
Copy link
Member Author

Thank you so much @mfellows and @aornugent ! This couldn't have been possible without your guidance and support.

@shloka-gupta shloka-gupta merged commit a585243 into master Aug 31, 2021
@HarshCasper HarshCasper deleted the fileUploadGCBM branch August 31, 2021 11:54
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

Successfully merging this pull request may close these issues.

Implement file upload component
6 participants