Work3 領域で
atmos_global/NCEP/study/PHYS.1979-2003.NCEP を NCEP/ に rsync.
質問 修論の後に描いた絵はどこでしょう?
/GFD_Dennou_Work3/dcchart/atmos_global/NCEP/study/PHYS.ANIM/ALL_IN_ONE.ANIM で全部かな?
数表もどこだっけ? エネルギー輸送に関して, 4 本線バージョンは全く無いのだっけ?
ENERGY_BALANCE.1979-2003.NCEP ディレクトリ make できない
% make ruby mkfig_25mean.rb 2300.0 /usr/lib/ruby/1.6/numru/gphys/unumeric.rb:130:in `initialize': TypeError (TypeError) from /usr/lib/ruby/1.6/numru/gphys/unumeric.rb:137:in `new' from /usr/lib/ruby/1.6/numru/gphys/unumeric.rb:137:in `[]' from /usr/lib/ruby/1.6/numru/gphys/varray.rb:808:in `sum' from /usr/lib/ruby/1.6/numru/gphys/axis.rb:403:in `average' from /usr/lib/ruby/1.6/numru/gphys/grid.rb:305:in `average' from /usr/lib/ruby/1.6/numru/gphys/gphys.rb:167:in `average' from mkfig_25mean.rb:163:in `make_mean_gphys' from mkfig_25mean.rb:289 from mkfig_25mean.rb:286:in `each' from mkfig_25mean.rb:286 make: *** [25mean] エラー 1
ENERGY_TRANSPORT.1979-2003.NCEP ディレクトリ
make してみた できた
PRATE.1979-2003.NCEP Makefile を編集.
mkfig.rb が動かない. path を書き換える やっぱりダメ
% make ruby mkfig.rb 2256.0 /usr/lib/ruby/1.6/numru/gphys/unumeric.rb:130:in `initialize': TypeError (TypeError)
from /usr/lib/ruby/1.6/numru/gphys/unumeric.rb:137:in `new' from /usr/lib/ruby/1.6/numru/gphys/unumeric.rb:137:in `[]' from /usr/lib/ruby/1.6/numru/gphys/varray.rb:808:in `mean' from /usr/lib/ruby/1.6/numru/gphys/gphys.rb:331:in `mean' from mkfig.rb:103:in `make_mean_gphys' from mkfig.rb:106
make: *** [fig] エラー 1
環境変数設定は
% export RUBYLIB=/GFD_Dennou_Work3/dcchart/lib
でいくように.
まず, dennou-k:/GFD_Dennou_Club/ftp/arch/dcchart/lib を整理 link 切れのファイルの処置
dcchart-thum.rb 消去: atmos_global/util に同名ファイルが存在. filter_rd-d.rb /home/daktu32/bin/ より copy rd_filter-d.rb /home/daktu32/bin/ より copy rd_pagebreak-d.rb /home/daktu32/bin/ より copy
以下やってみる
% ruby ../../util/make-dcchart-thum.rb --range 2003:2003 ./
dcchart-thum-make.rb:93:in `require': No such file to load -- /home/daktu32/lib/dcchart-thum.rb (LoadError)
from dcchart-thum-make.rb:93
dcchart-thum-make.rb:22: undefined local variable or method `apethum' for #<Object:0x40264ce0> (NameError)
from dcchart-thum-make.rb:24 from dcchart-thum-make.rb:93
make-dcchart-thum.rb の
utilpath = "/GFD_Dennou_Club/ftp/arch/dcchart/atmos_global/util"
があるのでこれを local path にしたい. けど, そうか, 子プロセスとして起動されるから RUBYLIB 変数が引き継がれない?
とりあえず, dennou-h:util/dcchart-thum.rb を
utilpath = "/GFD_Dennou_Club/ftp/arch/dcchart/atmos_global/util"
と変更して, dennou-h の ftp 領域にrsync
NCEP/PHYS.1979-2003.NCEP/UWND.1979-2003.NCEP で % ruby ../../util/dcchart-study-thum.rb
dcchart-study-thum-make.rb ができた
% ruby ./dcchart-study-thum-make.rb
/GFD_Dennou_Club/ftp/arch/dcchart/atmos_global/util/dcchart-study-thum.rb:48:in `open': No such file or directory - "../tmean" (Errno::ENOENT) from /GFD_Dennou_Club/ftp/arch/dcchart/atmos_global/util/dcchart-study-thum.rb:48:in `foreach' from /GFD_Dennou_Club/ftp/arch/dcchart/atmos_global/util/dcchart-study-thum.rb:48:in `mkinfo' from /GFD_Dennou_Club/ftp/arch/dcchart/atmos_global/util/dcchart-study-thum.rb:26:in `apethum_rd' from ./dcchart-study-thum-make.rb:18 from ./dcchart-study-thum-make.rb:22 from ./dcchart-study-thum-make.rb:82
mkfig.rb を編集. もとは UWND.1979-2003.NCEP/mkfig.rb
level と pattern は atmos_global/bin/libdraw-n.rb を参考にした
mknc-25years.rb のデータのpath をフルパスで書いてみた. ダメ. % make ncjan ruby ../mknc_25years.rb --kikan 01 --range 1979:2003 --output PHYS_1979-2003_01_NCEP.nc 775.0 775.0 775.0 775.0 775.0 /usr/lib/ruby/1.6/numru/gphys/unumeric.rb:130:in `initialize': TypeError (TypeError)
from /usr/lib/ruby/1.6/numru/gphys/unumeric.rb:137:in `new' from /usr/lib/ruby/1.6/numru/gphys/unumeric.rb:137:in `[]' from /usr/lib/ruby/1.6/numru/gphys/varray.rb:808:in `mean' from /usr/lib/ruby/1.6/numru/gphys/gphys.rb:331:in `mean' from ../mknc_25years.rb:130
make: *** [ncjan] エラー 1 となってしまう.