{"id":1777,"date":"2015-03-04T11:28:48","date_gmt":"2015-03-04T11:28:48","guid":{"rendered":"http:\/\/eubrewnet.aemet.es\/cost1207\/?p=1777"},"modified":"2020-04-08T14:59:43","modified_gmt":"2020-04-08T13:59:43","slug":"configuration-upload-intructions","status":"publish","type":"post","link":"https:\/\/eubrewnet.aemet.es\/cost1207\/2015\/03\/04\/configuration-upload-intructions\/","title":{"rendered":"Configuration Upload Intructions"},"content":{"rendered":"<h1>Configuration Upload<\/h1>\n<p>The present document is an overview of the process of configuration upload to the Eubrewnet. There are some steps that users have to follow before introducing a configuration for working with the system:<\/p>\n<ol>\n<li>The Operators have to contact admin (<a title=\"Contact admin\" href=\"mailto:eubrewnet@aemet.es\">eubrewnet@aemet.es<\/a>) for registration. They need to provide the list of Brewers that they are responsible for and contact information.<\/li>\n<li>The administrator carries out the registration in the system.<\/li>\n<li>The operators have to log in the website of Eubrewnet (<a title=\"Eubrewnet\" href=\"http:\/\/rbcce.aemet.es\/eubrewnet\">Eubrewnet<\/a>).<\/li>\n<li>Then the operators can upload configuration for their brewers.<\/li>\n<\/ol>\n<h2>Definitions<\/h2>\n<ul>\n<li><b>Configuration in the Database<\/b><br \/>\nThe set of parameters and values that are needed to process Raw data and calculate the different products.<\/li>\n<li><b>Configuration Files<\/b><br \/>\nFiles that store the values that are needed to fill the Configuration: now ICF and\/or O3Brewer.ini, ( ZSF, DCF, UVR \u2026 will be added in next steps).<\/li>\n<li><b>Eubrewnet Client<\/b><br \/>\nSoftware that has to be installed and run periodically in computers that can access the Brewer files which sends the files to Eubrewnet.<\/li>\n<\/ul>\n<h2>The Data Upload Procedure<\/h2>\n<p>There are several ways to upload configurations to the database:<\/p>\n<ol>\n<li style=\"cursor: pointer;\">Use the values that are already stored in the database corresponding to Configuration Files (ICF are automatically stored at the database if they have been sent by the client).<\/li>\n<li style=\"cursor: pointer;\">Upload the Configuration Files and filling the values that are common to the Configuration.<\/li>\n<li style=\"cursor: pointer;\">Fill the form by hand.<\/li>\n<\/ol>\n<p>It\u2019s an IP responsibility to add the configuration. You have several options available\u00a0 to perform this task. All the process that are going to be described below are usable at any time.<\/p>\n<h3><a name=\"1\"><\/a>1. Use values already on Database<\/h3>\n<p>The process begins selecting a Brewer and a Date. When the Form (<a title=\"Figure 1\" href=\"#Figure 1\">Figure 1<\/a>) is loaded, several buttons will appear for the Configuration Files that have been submitted previously. It will display the configuration parameter actives for this date (minor nearest date) the valuable Configuration files could be ICF and O3Brewer.<\/p>\n<h4 style=\"text-align: center;\"><a name=\"Figure 1\"><\/a>Figure 1: Configuration upload form<\/h4>\n<span class=\"su-frame su-frame-align-center su-frame-style-default\"><span class=\"su-frame-inner\"><img decoding=\"async\" src=\"http:\/\/rbcce.aemet.es\/eubrewnet\/static\/images\/upload_config\/upload.png\" alt=\"\" \/><\/span><\/span>\n<p>The operators can select the values from the Configuration Files that have been submitted to the database in two ways: using all the values that are common to the configuration from a file (<a title=\"Figure 2\" href=\"#Figure 2\">Figure 2<\/a>) or selecting them individually (<a title=\"Figure 3\" href=\"#Figure 3\">Figure 3<\/a>).<\/p>\n<h4 style=\"text-align: center;\"><a name=\"Figure 2\"><\/a>Figure 2: Using all configuration file content<\/h4>\n<span class=\"su-frame su-frame-align-center su-frame-style-default\"><span class=\"su-frame-inner\"><img decoding=\"async\" src=\"http:\/\/rbcce.aemet.es\/eubrewnet\/static\/images\/upload_config\/upload_from_stored.png\" alt=\"\" \/><\/span><\/span>\n<h4 style=\"text-align: center;\"><a name=\"Figure 3\"><\/a>Figure 3: Using single values<\/h4>\n<span class=\"su-frame su-frame-align-center su-frame-style-default\"><span class=\"su-frame-inner\"><img decoding=\"async\" src=\"http:\/\/rbcce.aemet.es\/eubrewnet\/static\/images\/upload_config\/upload_from_single_value.png\" alt=\"\" \/><\/span><\/span>\n<h3><a name=\"2\"><\/a>2. Upload the configuration by files<\/h3>\n<p>The operators can use values that belong to Configuration Files during upload time. There is a tab with the admitted Configuration Files (<a title=\"Figure 4\" href=\"#Figure 4\">Figure 4<\/a>). After uploading a file, all the values that are common to the Configuration are going to be replaced with the values in the Configuration File.<\/p>\n<h4 style=\"text-align: center;\"><a name=\"Figure 4\"><\/a>Figure 4: Using configuration file content<\/h4>\n<span class=\"su-frame su-frame-align-center su-frame-style-default\"><span class=\"su-frame-inner\"><img decoding=\"async\" src=\"http:\/\/rbcce.aemet.es\/eubrewnet\/static\/images\/upload_config\/upload_from_file.png\" alt=\"\" \/><\/span><\/span>\nThere is an option for store the content of these files in the database: Replace Content Check (<a title=\"Figure 5\" href=\"#Figure 5\">Figure 5<\/a>). Selecting it involves the replacement of the data in the database for the file. It is potentially dangerous.<\/p>\n<h4 style=\"text-align: center;\"><a name=\"Figure 5\"><\/a>Figure 5: Replacing configuration files in database<\/h4>\n<span class=\"su-frame su-frame-align-center su-frame-style-default\"><span class=\"su-frame-inner\"><img decoding=\"async\" src=\"http:\/\/rbcce.aemet.es\/eubrewnet\/static\/images\/upload_config\/upload_from_file_replace.png\" alt=\"\" \/><\/span><\/span>\nFor security purposes, the Replace Content Check can only be selected once for a configuration and a type of file. It means that if the operators want to upload two or more configuration files, she has to use this functionality after inserting the configuration into the database.<\/p>\n<h3><a name=\"3\"><\/a>3. Upload the configuration by hand<\/h3>\n<p>The operators can write the values at any time. They have to respect the format: integers, doubles or dates as \u201cYear-Month-Day\u201d (&lt;Year, four digits&gt;-&lt;Month, two digits&gt;-&lt;Day, two digits&gt;).<\/p>\n<h3>Finally<\/h3>\n<p>After the form is filled, the operator can stored its content in two different ways, to create a new configuration or to replace the existing one:<\/p>\n<ul>\n<ul>\n<li>If the operator wants to create a new Configuration (<a title=\"Figure 6\" href=\"#Figure 6\">Figure 6<\/a>). The system will try to upload the values. The process will fail if there\u2019s other Configuration for the same date.<\/li>\n<\/ul>\n<\/ul>\n<h4 style=\"text-align: center;\"><a name=\"Figure 6\"><\/a>Figure 6: Create a new configuration<\/h4>\n<span class=\"su-frame su-frame-align-center su-frame-style-default\"><span class=\"su-frame-inner\"><img decoding=\"async\" src=\"http:\/\/rbcce.aemet.es\/eubrewnet\/static\/images\/upload_config\/upload_new.png\" alt=\"\" \/><\/span><\/span>\n<ul>\n<li>If the operator decides to modify an existing Configuration, all the values will be rewritten (<a title=\"Figure 7\" href=\"#Figure 7\">Figure 7<\/a>).<\/li>\n<\/ul>\n<h4 style=\"text-align: center;\"><a name=\"Figure 7\"><\/a>Figure 7: Modify existing configuration<\/h4>\n<span class=\"su-frame su-frame-align-center su-frame-style-default\"><span class=\"su-frame-inner\"><img decoding=\"async\" src=\"http:\/\/rbcce.aemet.es\/eubrewnet\/static\/images\/upload_config\/upload_modify.png\" alt=\"\" \/><\/span><\/span>\n<ul>\n<li>Process Level 2.0 Data Logic is now working. Setting the Process checkbox will force to recalculate data from last configuration until the day before the configuration&#8217;s date (<a title=\"Figure 8\" href=\"#Figure 8\">Figure 8<\/a>).<\/li>\n<\/ul>\n<h4 style=\"text-align: center;\"><a name=\"Figure 8\"><\/a>Figure 8: Process Level 2.0 Data<\/h4>\n<span class=\"su-frame su-frame-align-center su-frame-style-default\"><span class=\"su-frame-inner\"><img decoding=\"async\" src=\"http:\/\/rbcce.aemet.es\/eubrewnet\/static\/images\/upload_config\/upload_level2.png\" alt=\"\" \/><\/span><\/span>\n<h2>Configuration History<\/h2>\n<p>The Operators can see the list of available configurations in <a title=\"Configuration History\" href=\"http:\/\/rbcce.aemet.es\/eubrewnet\/configuration\/history\">Configuration History<\/a> (Figure 9).<\/p>\n<h4 style=\"text-align: center;\"><a name=\"Figure 9\"><\/a>Figure 9: History table<\/h4>\n<span class=\"su-frame su-frame-align-center su-frame-style-default\"><span class=\"su-frame-inner\"><img decoding=\"async\" src=\"http:\/\/rbcce.aemet.es\/eubrewnet\/static\/images\/upload_config\/history.png\" alt=\"\" \/><\/span><\/span>\nThe configuration constants are divided into different sets. To see the values it&#8217;s only needed a click on the Set Name (as seen in the <a title=\"Figure 10\" href=\"#Figure 10\">Figure 10<\/a>).<br \/>\n<span class=\"su-frame su-frame-align-center su-frame-style-default\"><span class=\"su-frame-inner\"><img decoding=\"async\" src=\"http:\/\/rbcce.aemet.es\/eubrewnet\/static\/images\/upload_config\/history_show.png\" alt=\"\" \/><\/span><\/span>\nTo see the values of all the stored configurations at a glance, there&#8217;s the table view (<a title=\"Figure 11\" href=\"#Figure 11\">Figure 11<\/a>).<br \/>\n<span class=\"su-frame su-frame-align-center su-frame-style-default\"><span class=\"su-frame-inner\"><img decoding=\"async\" src=\"http:\/\/rbcce.aemet.es\/eubrewnet\/static\/images\/upload_config\/history_table.png\" alt=\"\" \/><\/span><\/span>\n","protected":false},"excerpt":{"rendered":"<p>Configuration Upload The present document is an overview of the process of configuration upload to the Eubrewnet. There are some steps that users have to follow before introducing a configuration for working with the system: The Operators have to contact admin (eubrewnet@aemet.es) for registration. They need to provide the list of Brewers that they are&hellip;<\/p>\n","protected":false},"author":91,"featured_media":1808,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[6,29,5],"tags":[],"class_list":["post-1777","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-featured","category-wg3","category-wks"],"_links":{"self":[{"href":"https:\/\/eubrewnet.aemet.es\/cost1207\/wp-json\/wp\/v2\/posts\/1777","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eubrewnet.aemet.es\/cost1207\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eubrewnet.aemet.es\/cost1207\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eubrewnet.aemet.es\/cost1207\/wp-json\/wp\/v2\/users\/91"}],"replies":[{"embeddable":true,"href":"https:\/\/eubrewnet.aemet.es\/cost1207\/wp-json\/wp\/v2\/comments?post=1777"}],"version-history":[{"count":31,"href":"https:\/\/eubrewnet.aemet.es\/cost1207\/wp-json\/wp\/v2\/posts\/1777\/revisions"}],"predecessor-version":[{"id":7892,"href":"https:\/\/eubrewnet.aemet.es\/cost1207\/wp-json\/wp\/v2\/posts\/1777\/revisions\/7892"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eubrewnet.aemet.es\/cost1207\/wp-json\/wp\/v2\/media\/1808"}],"wp:attachment":[{"href":"https:\/\/eubrewnet.aemet.es\/cost1207\/wp-json\/wp\/v2\/media?parent=1777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eubrewnet.aemet.es\/cost1207\/wp-json\/wp\/v2\/categories?post=1777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eubrewnet.aemet.es\/cost1207\/wp-json\/wp\/v2\/tags?post=1777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}