# HG changeset patch # User Iannis # Date 1513371042 -7200 # Node ID da2c50558296f85ac1a93de5715877a46824ce52 # Parent 12b2759a61ef6bdee7de0275e97d74e660533f17 Adding Licence file. Adding settings file in YAML format. diff -r 12b2759a61ef -r da2c50558296 LICENCE.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LICENCE.txt Fri Dec 15 22:50:42 2017 +0200 @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2017, Ioannis Binietoglou, Victor Nicolae + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff -r 12b2759a61ef -r da2c50558296 settings_sample.yaml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/settings_sample.yaml Fri Dec 15 22:50:42 2017 +0200 @@ -0,0 +1,9 @@ +# This file contains the user-specific settings for the scc_access script. +# +# You should rename the file settings_sample.yaml to and move it outside the module repository. Take care to set the +# minimum required permissions, as this file contains SCC access codes. For website login, it is recommended to +# use credential for a user without station-management privileges. +basic_credentials: ['username', 'password'] # The HTTP user name and password that is needed to access the SCC site. +website_credentials: ['username', 'password'] # The user-name and password that is needed to log in to the SCC site. +output_dir: /path/to/files/scc_output/ # The directory to download the files +base_url: https://scc.imaa.cnr.it/ # SCC base URL. Normally you shouldn't need to change that. \ No newline at end of file