[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dennou-ruby:003879] numru-units



竹広です.

古い spmodel サンプルプログラムで gpview 表示できないものが
見つかりまして対処すべく調べていたところ, どうも単位にピリオド(.)
がついているとエラーが出るらしいいということまでわかりました.

もしかして単位に . がついていると特別な処理がなされるのでしょうか?
ちなみに使った単位は 'deg.' と 'sec.' でして, 以下がエラーメッセージです.
よろしくお願いします. 

----------------------------------------------------------------------
$ gpview spshallow_topo_linear.nc@zeta --anim t
 *** MESSAGE (SWDOPN) ***  GRPH1 : STARTED / IWS =  4.
  Reading spshallow_topo_linear.nc@zeta
 *** WARNING (SLZTTL) ***  SPACE FOR TITLE IS NOT ENOUGH.
 *** MESSAGE (-CNT.-) ***  PY = 0.0 IS ASSUMED.
 *** WARNING (SLZTTL) ***  SPACE FOR TITLE IS NOT ENOUGH.
 *** MESSAGE (-CNT.-) ***  PY = 0.0 IS ASSUMED.
/home/takepiro/lib/ruby/1.9.1/racc/parser.rb:351:in `on_error':  (Racc::ParseError)
parse error on value false ($end)
        from (eval):3:in `_racc_do_parse_c'
        from (eval):3:in `do_parse'
        from units.racc:2469:in `do_parse2'
        from units.racc:2474:in `ptree'
        from units.racc:2664:in `binop'
        from units.racc:2677:in `/'
        from units.racc:2716:in `=~'
        from /home/takepiro/lib/ruby/site_ruby/1.9.1/numru/ggraph.rb:1283:in `block in fig'
        from /home/takepiro/lib/ruby/site_ruby/1.9.1/numru/ggraph.rb:1282:in `each'
        from /home/takepiro/lib/ruby/site_ruby/1.9.1/numru/ggraph.rb:1282:in `fig'
        from /home/takepiro/lib/ruby/site_ruby/1.9.1/numru/ggraph.rb:2668:in `tone'
        from /home/takepiro/bin/gpview:538:in `draw'
        from /home/takepiro/bin/gpview:934:in `block in <main>'
        from /home/takepiro/bin/gpview:939:in `call'
        from /home/takepiro/bin/gpview:939:in `block in <main>'
        from /home/takepiro/bin/gpview:364:in `block in each_along_dims'
        from /home/takepiro/bin/gpview:363:in `each'
        from /home/takepiro/bin/gpview:363:in `each_along_dims'
        from /home/takepiro/bin/gpview:938:in `<main>'

----------------------------------------------------------------------

                    Takepiro(竹広真一)@数理解析研究所. 京都大学
                      	E-mail:takepiro@xxxxxxxxxxxxxx
			       takepiro@xxxxxxxxxxxxxxxxxxxx