OpenWaterFoundation / cdss-app-snodas-tools

Colorado's Decision Support Systems (CDSS) Snow Data Assimilation System (SNODAS) Tools
8 stars 4 forks source link

Need to configure AWS S3 load script in repo and operational system #10

Open smalers opened 7 years ago

smalers commented 7 years ago

I created a folder on the D: drive SNODAS/SNODAS_Tools/aws and in there placed a batch file that can be used to upload files to Amazon S3. See the Dropbox Timeline for notes on configuring.

Emma needs to understand what was done and then work with Steve to get into the repository so the batch file can be tracked. She also needs to update her process to run the script, but only in the deployed environment (don't want to be messing with the published results when doing development).

Perhaps need a configuration property like "UploadResultsToAmazonS3" and set to false in the development config file and true in the deployed config file.

egiles16 commented 7 years ago

The Amazon S3 batch file has been added to the repository under test-CDSS/aws/copyAllToOwfAmazonS3.bat. I have also altered the configuration file, both in the deployed and development environment, to contain the suggested "UploadResultsToAmazonS3" configuration option under the 'OutputLayers' section.

The "UploadResultsToAmazonS3" setting is set to 'True' in the deployed environment and 'False' in the development environment.

smalers commented 7 years ago

Need to add the LatestDate (?) files to the synchronization. Steve needs to work with Emma to get this in place. Then we add a link to download this in the operational site.