def var(vname)
type1, type2, type3, basetime, element = vname.split("/")
if type1 && type2 && type3 && basetime && element
type1 = (type1 + " "*[8-type1.length,0].max)[0,8]
type2 = (type2 + " "*[4-type2.length,0].max)[0,4]
type3 = (type3 + " "*[4-type3.length,0].max)[0,4]
element = (element + " "*[6-element.length,0].max)[0,6]
year = basetime[0,4].to_i
month = basetime[4,2].to_i
day = basetime[6,2].to_i
hour = basetime[8,2].to_i
min = basetime[10,2].to_i
if year && month && day && hour && min
basetime = (Date.new(year,month,day)-@@date0).to_i*1440 + hour*60 + min
if String === element
hash = @meta[type1]
hash && hash = hash[type2]
hash && hash = hash[type3]
hash && hash = hash[basetime]
if hash && hash[:elements].include?(element)
return NuSDaSVar._new(type1,type2,type3,basetime,element,hash,self)
end
end
end
end
raise "variable '#{vname}' is not found"
end