#!/usr/bin/env ruby
# ----------------------------------------------
# local load path

$local_path = '/work11/ape/yukiko/lib'
$: << $local_path

# ----------------------------------------------
# 必要なライブラリ, モジュールの読み込み

load "#{$local_path}/ape-view.rb"

id = ["control","flat","peaked","1keq","3keq","3kw1","Qobs","control-5N"]
test = ape_mkfig_new(3)
#test = ape_mkfig_new(2)
#test = ape_mkfig_new(1)

$rezol = "T39L48_eml"
$expID = "control"
set_dir("aguforape", host="eva01")
test.nc_tr

$rezol = "T39L24_eml"
$expID = "control"
set_dir("aguforape", host="eva01")
test.nc_tr

$rezol = "T39L96_eml"
$expID = "control"
set_dir("aguforape", host="eva01")
test.nc_tr

$rezol = "T79L48_eml"
$expID = "control"
set_dir("aguforape", host="eva01")
test.nc_tr

$rezol = "T159L48_eml"
$expID = "control"
set_dir("aguforape", host="eva01")
test.gr_tr_all

$rezol = "T319L48_eml"
$expID = "control"
set_dir("aguforape", host="eva01")
test.gr_tr_all

DCL::grcls

=begin

$rezol = "T39L48_eml"
$expID = "3keq"
set_dir("aguforape", host="eva01")
test.nc_sh_phiuv850_anm
test.nc_sh_phiuv850_anm

$rezol = "T39L96_eml"
$expID = "3keq"
set_dir("aguforape", host="eva01")
test.nc_sh_phiuv850_anm

$rezol = "T39L24_eml"
$expID = "3keq"
set_dir("aguforape", host="eva01")
test.nc_sh_phiuv850_anm

$rezol = "T79L48_eml"
$expID = "3keq"
set_dir("aguforape", host="eva01")
test.nc_sh_phiuv850_anm


$rezol = "T159L48_eml"
$expID = "3keq"
set_dir("aguforape", host="eva01")
test.nc_sh_phiuv850_anm


["ias","ksc","kuo","mca","non"].each { |item|

$cumulus = item
$rezol = "T39L48_#{$cumulus}"

$expID = "3keq"
set_dir("aguforape", host="eva01")
test.nc_sh_phiuv850_anm

$expID = "flat3keq"
set_dir("aguforape", host="eva01")
test.nc_sh_phiuv850_anm("flat")

$expID = "Qobs3keq"
set_dir("aguforape", host="eva01")
test.nc_sh_phiuv850_anm("Qobs")

$expID = "H1998pa"
set_dir("aguforape", host="eva01")
test.nc_sh_phiuv850_anm("H1998con")

}


$cumulus = "non"
$rezol = "T39L48_#{$cumulus}"
$expID = "H1998pa"
set_dir("aguforape", host="eva01")
test.nc_sh_phiuv850_anm("H1998con")

=end
=begin
test.nc_ml_tuom_anm
test.nc_sh_tuv500_anm
test.nc_sh_psuv_anm
test.nc_sh_phiuv250_anm
test.nc_sh_phiuv850_anm

=end
