<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to VariableXML_ConfigFile</title><link>https://sourceforge.net/p/carbones/wiki/VariableXML_ConfigFile/</link><description>Recent changes to VariableXML_ConfigFile</description><atom:link href="https://sourceforge.net/p/carbones/wiki/VariableXML_ConfigFile/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 20 Mar 2015 14:20:04 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/carbones/wiki/VariableXML_ConfigFile/feed" rel="self" type="application/rss+xml"/><item><title>VariableXML_ConfigFile modified by Anonymous</title><link>https://sourceforge.net/p/carbones/wiki/VariableXML_ConfigFile/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="introduction"&gt;Introduction&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;MapVariable.xml&lt;/code&gt; and &lt;code&gt;ChartVariable.xml&lt;/code&gt; configuration files controls the list of variables and tree structure in the maps and charts. NB there is some overlap with the &lt;code&gt;external_config_files/CarbonesConfig_NCWMS.xml&lt;/code&gt; which also needs to be updated. The list can be hierarchical i.e. it can contain multiple levels of folders. &lt;/p&gt;
&lt;h2 id="notes"&gt;Notes&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Element&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Meaning&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Notes&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;tooltip&lt;/code&gt;&lt;br /&gt;
Explanatory tooltip displayed in the maps (and perhaps in future in the graphs &lt;br /&gt;
The &lt;code&gt;tooltip&lt;/code&gt; element &lt;strong&gt;must be the second-to-last element&lt;/strong&gt; in its parent &lt;code&gt;node&lt;/code&gt; element. This is due to the XML reading logic in &lt;a class="" href="http://code.google.com/p/carbones/source/browse/trunk/Carbones/WebContent/js/cerc/dijits/TreePane.js" rel="nofollow"&gt;TreePane.js&lt;/a&gt; &lt;code&gt;getTooltipFromItem&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;description&lt;/code&gt;&lt;br /&gt;
Caption for map tree control and graph drop-down &lt;/p&gt;
&lt;p&gt;&lt;code&gt;variablecodes.customLabel&lt;/code&gt;&lt;br /&gt;
Longer caption &lt;br /&gt;
Shown in the charts when the drop-down menu is collapsed. Shown in the maps at the top-left of the toolbar. The caption must be comprehensible as a brief stand-alone caption, independent of the tree structure. E.g. it should indicate whether the variable is a flux or a stock. &lt;/p&gt;
&lt;p&gt;&lt;code&gt;variablecodes.codeName&lt;/code&gt;&lt;br /&gt;
Variable code name &lt;br /&gt;
Used to identify the graph data in the database and the WMS layers. See the &lt;a class="" href="../CarbonesVariablesAndCodeNames"&gt;CarbonesVariablesAndCodeNames&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="example"&gt;Example&lt;/h2&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;root&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;node&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;description&amp;gt;&lt;/span&gt;Carbon fluxes&lt;span class="nt"&gt;&amp;lt;/description&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;node&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;description&amp;gt;&lt;/span&gt;Net fluxes&lt;span class="nt"&gt;&amp;lt;/description&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;node&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;description&amp;gt;&lt;/span&gt;Total carbon fluxes &lt;span class="nt"&gt;&amp;lt;/description&amp;gt;&lt;/span&gt;
          &lt;span class="nt"&gt;&amp;lt;tooltip&amp;gt;&lt;/span&gt;The total net flow of carbon between the atmosphere and the ecosystem, including natural causes and human activity.&lt;span class="nt"&gt;&amp;lt;/tooltip&amp;gt;&lt;/span&gt;
          &lt;span class="nt"&gt;&amp;lt;variablecodes&lt;/span&gt; &lt;span class="na"&gt;customLabel=&lt;/span&gt;&lt;span class="s"&gt;"Total carbon fluxes"&lt;/span&gt; &lt;span class="na"&gt;id=&lt;/span&gt;&lt;span class="s"&gt;"11"&lt;/span&gt;
            &lt;span class="na"&gt;parentCode=&lt;/span&gt;&lt;span class="s"&gt;"CF"&lt;/span&gt; &lt;span class="na"&gt;codeName=&lt;/span&gt;&lt;span class="s"&gt;"nc_20110818/Ftot"&lt;/span&gt; 
            &lt;span class="na"&gt;threeHrlyUnit=&lt;/span&gt;&lt;span class="s"&gt;"GtC/hour"&lt;/span&gt; &lt;span class="na"&gt;dailyUnit=&lt;/span&gt;&lt;span class="s"&gt;"GtC/day"&lt;/span&gt; 
            &lt;span class="na"&gt;monthlyUnit=&lt;/span&gt;&lt;span class="s"&gt;"GtC/month"&lt;/span&gt; &lt;span class="na"&gt;yearlyUnit=&lt;/span&gt;&lt;span class="s"&gt;"GtC/year"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;/node&amp;gt;&lt;/span&gt;
        &lt;span class="c"&gt;&amp;lt;!-- more nodes --&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;/node&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/node&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/root&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 20 Mar 2015 14:20:04 -0000</pubDate><guid>https://sourceforge.net37d8ae91c81970f2fa1afe246072bf2617de0159</guid></item></channel></rss>