-
Eva Schiffer authored
added global and variable attributes to report pages; fixed bug in the io module that was causing global attributes to never be loaded; corrected the behavior for purple marking circles behind small numbers of mismatch points and added that behavior to some other kinds of mismatch plots
Eva Schiffer authoredadded global and variable attributes to report pages; fixed bug in the io module that was causing global attributes to never be loaded; corrected the behavior for purple marking circles behind small numbers of mismatch points and added that behavior to some other kinds of mismatch plots
inspectvariablereport.txt 1.74 KiB
<%doc>
This Mako template is intended to create a variable inspection report page for
Glance's inspection reports.
Created by Eva Schiffer May 2012.
Copyright (c) 2012 University of Wisconsin SSEC. All rights reserved.
</%doc>
<%!
import glance.report as report
import glance.constants as constants
%>
<%inherit file="variablereport.txt"/>
<%block name="title">
<%
variableName = runInfo[constants.VARIABLE_TECH_NAME_KEY]
variableDisplayName = variableName
if (runInfo.has_key(constants.DISPLAY_NAME_KEY)):
variableDisplayName = runInfo[constants.DISPLAY_NAME_KEY]
%>
${variableDisplayName} Variable Analysis
</%block>
## additional filtering information specific to the variable being analyzed
<%block name="additionalFilterInfo">
## display info about the basic data filters if the data was filtered
% if (constants.FILTER_FUNCTION_A_KEY in runInfo) and (not (runInfo[constants.FILTER_FUNCTION_A_KEY] is None)) :
Note: The data for this variable was filtered.<br>
<% wasFiltered = True %>
% endif
</%block>
## this is the summary of how the data was compared
<%block name="comparisonSummary">
<h3>Analysis Information</h3>
## comparison parameters
<p>
## display the variable names
variable name: ${runInfo[constants.VARIABLE_TECH_NAME_KEY]} <br>
## display the missing value
"missing" data value: ${str(runInfo[constants.FILL_VALUE_KEY])}<br>
## if there are units available, display those
% if (constants.VAR_UNITS_A_KEY in runInfo) and (runInfo[constants.VAR_UNITS_A_KEY] is not None) :
units in A: ${str(runInfo[constants.VAR_UNITS_A_KEY])}<br>
% endif
</p>
</%block>
<%block name="attrsTitle">
<h3>Variable Attributes</h3>
</%block>