#!/usr/bin/env ruby1.8
# -*- coding: euc-jp -*-
#
#= dcmodel thumbnail generate ruby script
#
#  Editor :: takuya
#  Version:: 2011/09/13 10:12:48
#
#== Overview
#
#This file is generate by following ruby script automatically.
#
#      /GFD_Dennou_Club/ftp/arch/deepconv/arare/sample/2011-07-25_takuya/thum-src/dcmodel-thum.rb
#      version "$Revision: 1.31 $ : $Date: 2007/05/22 05:13:14 $"
#
#Please edit this file according to your purpose.
#
#== Usage
#
#Please check following sample page and reference manual.
#
#  http://www.gfd-dennou.org/library/dcmodel/doc/dcmodel-tools/dcmodel-thum-sample
#  http://www.gfd-dennou.org/library/dcmodel/doc/dcmodel-tools/dcmodel-thum-rdoc
#
##################################################

require "/GFD_Dennou_Club/ftp/arch/deepconv/arare/sample/2011-07-25_takuya/thum-src/dcmodel-thum.rb"

######################################################
# DCModelThumbnail のインスタンスを作成 (必須)
thumb = DCModelThumbnail.new

# サムネイル実行コマンド (必須)。最後に実行すること
END{
  thumb.create
}

#thumb.copyright = "GFD Dennou Club"
                              # コピーライト

thumb.index     = "../sample_thum"
                              # 作成されるサムネイルのファイル名 (拡張子除く)

#thumb.index_ext = ".htm"
                              # 作成されるサムネイルの拡張子名

thumb.infofile  = "#{File.basename(thumb.index)}.txt"
                              # 「情報ファイル (infofile)」のファイル名

#thumb.ext_list.push("bmp")
                              # 画像ファイルとして認識させたい拡張子の
                              # 追加。デフォルトでは 
                              # gif, png, jpg, jpeg,
                              # GIF, PNG, JPG, JPEG
                              # が認識される。

#thumb.headlimit = "headlimit_"
                              # headlimit に当てはまらないものは画像と
                              # しては無視され、当てはまるものは「情報
                              # ファイル」において、接頭部分 headlimit 
                              # を省略して指定することが可能となる。

#thumb.blankfig = true
                              # 画像ファイル名を表示しない

#thumb.figdir    = "../figdir"
                              # 絵のあるディレクトリの名前。
                              # 必ず存在していなければならない。

#thumb.thumbnaildir    = "../thumbdir"
                              # サムネイル画像を置くディレクトリの名前

#thumb.thumbnailtail    = "_thumb.png"
                              # サムネイル画像の拡張子名

#thumb.thumbnailpage = "1"
                              # サムネイル画像化する元画像のページ番号

#thumb.convert_cmd = "convert -depth 8 -geometry"
                              # convert コマンドおよびオプション。この
                              # 後ろに画像サイズが 200x150 のような形
                              # 式で指定される。

#thumb.convert_overwrite = false
                              # convert コマンドが実行される際、既に出
                              # 力先のファイルがある場合に上書きするた
                              # めのフラグ。これが false の場合、出力
                              # 先のファイルが存在し、且つ元のファイル
                              # よりも新しい場合は変換を行わない。

#thumb.css       = "/GFD_Dennou_Club/ftp/arch/dcmodel/htmltools/dcmodel.css"
                              # スタイルシートファイル

#thumb.rd2_path  = "/usr/bin/rd2"
                              # rd2 コマンドへのパス

#thumb.rd2htmlextlib = "/GFD_Dennou_Club/ftp/arch/dcmodel/lib/ruby/1.8"
                              # rd2-ext-lib へのライブラリへのパス

#thumb.mksigen = false
                              # SIGEN ファイルを作らない場合は false 
                              # にセットする

#thumb.norobots = true
                              # HTML のロボット検索を禁止する場合には 
                              # true にセットする

#thumb.img_width  = 200
                              # 画像ファイルサイズ (幅)

#thumb.img_height = 150
                              # 画像ファイルサイズ (高さ)

thumb.figtable_num = 9
                              # 横にならべるファイル数

#thumb.style = <<-STYLE
#  a:link { color:#269900; }
#  a:visited { color:#269900; }
#  a:hover { color:#99FF33; }
#STYLE
                              # スタイルシートを直接設定するためのもの 
                              # (css ファイルに書き込む情報を直接指定
                              # できる)

#thumb.html_author  = "deepconv"
                              # html の作成者情報 (デフォルトはユーザ
                              # アカウント名が自動取得される)

thumb.title     = "dcmodel-thum : 実験結果サムネイル簡易作成スクリプト"
                              # html ヘッダのタイトル

                              # 本体に書き出すメッセージ。サムネイルの
                              # 部分よりも上に出力される。この変数自体
                              # は Array オブジェクトで、その内部に 
                              # String オブジェクトが格納される。

                              # フッターメッセージ。
                              # "=" ではなく、"<<" で代入することに注意！！
thumb.footer    = Array.new
#thumb.footer    << <<-Footer
# 
#Footer

                              # メッセージ。
                              # "=" ではなく、"<<" で代入することに注意！！
thumb.message   = Array.new
thumb.message   << <<-Message
=begin
= arare5 のテスト計算 5
== 概要
サーマル上昇実験 5 (凝結: Kessler, H2O, NH3, NH4SH, 乱流: Klemp and Wilhelmson)
* 凝結: Kessler, H2O, NH3, NH4SH, 乱流: Klemp and Wilhelmson
* 初期の温度擾乱分布はガウス分布
* 木星を想定

=== 関連計算
* ((<サーマル上昇テスト計算 1 (凝結なし, 乱流なし)|URL:../2011-07-25_takuya/sample_thum.htm>))
* ((<サーマル上昇テスト計算 2 (凝結なし, 乱流: Klemp and Wilhelmson)|URL:../2011-09-18_takuya/sample_thum.htm>))
* ((<サーマル上昇テスト計算 3 (凝結: Kessler, H2O のみ, 乱流: Klemp and Wilhelmson)|URL:../2011-09-18_takuya-2/sample_thum.htm>))
* ((<サーマル上昇テスト計算 4 (凝結: Kessler, H2O のみ, 乱流: Klemp and Wilhelmson, 地表面過程: Bulk 法)|URL:../2011-09-18_takuya-3/sample_thum.htm>))


== ソースコード
* ((<arare5-20110623-2|URL:http://www.gfd-dennou.org/arch/deepconv/arare/sample/2011-09-18_takuya-3/arare5-20110623-2>))
* メインプログラムは ((<arare.f90|URL:http://www.gfd-dennou.org/arch/deepconv/arare/sample/2011-09-18_takuya-3/arare5-20110623-2/src/main/arare.f90>))

== 計算設定
* ((<設定ファイル|URL:http://www.gfd-dennou.org/arch/deepconv/arare/sample/2011-09-18_takuya-3/arare5-20110623-2/src/sample_nml/arare-thermal-moist.conf>))
* 設定概要
  * 音波減衰項の係数
    * 1.0e-8
  * 数値拡散項の係数
    * 1.0e-4
  * 計算領域
    * x, z 方向ともに 150 km, y 方向 1.5 km
  * 格子点数
    * x 方向 100 点, y 方向 1 点, z 方向 100 点
  * 時間格子間隔
    * 長い時間ステップ: 4.0 sec, 短い時間ステップ: 0.4 sec
  * 境界条件
    * 水平方向周期境界, 鉛直境界で w = 0 m/sec
  * スポンジ層
    * e-folding time: 400 sec
    * 水平方向の厚さ: 0.0 m
    * 鉛直方向の厚さ: 20 km
  * 初期条件 
    * Θ =300 K の等温位大気に振幅 1.0 K のガウス分布型擾乱を与える
      * 温位擾乱は y 方向一様
  * 計算モデル時間
    * 4000 sec

== 計算結果
* ((<netCDF ファイル|URL:http://www.gfd-dennou.org/arch/deepconv/arare/sample/2011-09-18_takuya-3/data>))
* ((<描画スクリプト|URL:http://www.gfd-dennou.org/arch/deepconv/arare/sample/2011-09-18_takuya-3/arare5-20110623-2/gazou.rb>))
  * ((<補助スクリプト|URL:http://www.gfd-dennou.org/arch/deepconv/arare/sample/2011-09-18_takuya-3/arare5-20110623-2/conv.sh>))
=end

Message

