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

Submittiing a zip file to MSU #140

Open
hohonuuli opened this issue Sep 15, 2023 · 5 comments
Open

Submittiing a zip file to MSU #140

hohonuuli opened this issue Sep 15, 2023 · 5 comments
Labels
functional requirement item for requirements

Comments

@hohonuuli
Copy link
Member

hohonuuli commented Sep 15, 2023

Once a zip file of images has been preprocessed, we need a method to submit the zip file to MSU (e.g. SFTP) in an automated fashion.

Once MSU receives the zip file, it must be immediately unpacked at the expected location on the server.

Once unpacked the images must be publicly accessible

@hohonuuli hohonuuli converted this from a draft issue Sep 15, 2023
@hohonuuli hohonuuli added the functional requirement item for requirements label Sep 15, 2023
@hohonuuli
Copy link
Member Author

hohonuuli commented Sep 15, 2023

Important, naming collisions are going to be an issue ... #139 (comment)

@hohonuuli
Copy link
Member Author

The zip file will have content like:

/FNYYMM
|- FNYYMM_image1.png
|- FNYYMM_image2.png
|- FNYYMM_imageFoo.png
|- FNYYMM_blahblahblah.jpg
|- FNYYMM_namesDontMatterHere.jpg
|- FNYYMM_etc.png
`- somefile.csv

@hohonuuli hohonuuli moved this to Todo in NOAA Data Hosting Sep 19, 2023
@hohonuuli hohonuuli moved this from Todo to NCEI/MSU in NOAA Data Hosting Sep 19, 2023
@hohonuuli hohonuuli moved this from Todo to NCEI/MSU TODO in NOAA Data Hosting Sep 20, 2023
@hohonuuli
Copy link
Member Author

I've added starter code for a service that FathomNet can upload image packages to be processed and managed. https://github.com/fathomnet/bifrost

@hohonuuli
Copy link
Member Author

hohonuuli commented Oct 5, 2023

Updated naming for the data directory is FNYYMM(whatever I want)

@hohonuuli
Copy link
Member Author

I've set up a staging area for zip file at https://fathomnet.org/static/staging/ which maps to atlas://FathomNet/web/staging for this email exchange:

David Moffitt:

Thanks for the server info. I was thinking we could poll the server daily unless it needs to be done more or less frequently. I could also set up automated email notifications for when a file is unpacked. How does that sound to you?

My responses:

I’ve posted an updated sequence diagram based on MSU polling for data. The new diagram is here. We can work with your proposal, although I think being able to push to your servers would be waaaay less work for us. Being able to a. push a scp a zip to your server and then b. run an ssh command to unpack it, would eliminate a ton of other support code we need for this polling model.

I’ve set up a staging area on FathomnNet for MUS to test the proposed polling workflow. See https://fathomnet.org/static/staging/ . I can put new zips of images there.

Let me know if you need anything else to start moving forward. For the moment you can send the emails to both [...] ). (Although that will change in the future)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
functional requirement item for requirements
Projects
Status: NCEI/MSU TODO
Development

No branches or pull requests

1 participant