lib/trinitycrmod/graphs.rb in trinitycrmod-0.8.7 vs lib/trinitycrmod/graphs.rb in trinitycrmod-0.8.8
- old
+ new
@@ -189,10 +189,10 @@
include TrinityMultiKits
# This is the hook that is called by CodeRunner, providing the
# graphkit with the given name and functions to the CodeRunner framework
def graphkit(name, options)
- [:t].each do |var|
+ NetcdfSmartReader.dimensions.map{|d| d.to_sym}.each do |var|
#ep 'index', var
if options[var].class == Symbol and options[var] == :all
options[var] = list(var).values
elsif options[var+:_index].class == Symbol and options[var+:_index] == :all
#ep 'Symbol'