asi
Menggunakan NCL
Monsoon
Index
https://www.ncl.ucar.e
du/
Libraries
Functions
Resources
Comments
Functions
Resources
NetCDF 3
NetCDF 4
GRIB 1
GRIB 2
HDF 4
HDF 5
Shapefile
ASCII
Contoh
Keluaran:
Australian Monsoon
Index
Libraries
load
Pustaka yang mengaktifkan fungsi-fungsi
"$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl visualisasi data pada ncl
load
"$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl
Pustaka yang mengaktifkan fungsi-fungsi
load
Yang dibuat oleh user-user yang berkontribusi dalam
"$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.n
Pemerograman ncl
cl"
Function
s
f = addfile("./uwnd.mon.mean.nc", "r")
uwnd = f->uwnd(144:695, {850}, {0:20}, {40:110})
uwnd_avg = wgt_areaave_Wrap(uwnd, 1.0, 1.0, 0)
AUSMI = uwnd_avg
AUSMI@long_name = "Australian Monsoon Index
printVarSummary(AUSMI)
AUSMI_stdv = dim_stddev_n_Wrap(AUSMI, 0)
res
= True
res@gsnDraw
= False
res@gsnFrame
= False
res@vpHeightF = 0.4
res@vpWidthF
= 0.8
res@vpXF
= 0.1
res@gsnYRefLine = 0.0
res@gsnAboveYRefLineColor = "red
res@gsnBelowYRefLineColor = "blue
Resourc
es
resP
= True
resP@gsnMaximize
= True
resP@txString
= "Australian Monsoon Index
res@tiYAxisString = "Australian Monsoon Index
res@trYMinF
= -12.0
res@trYMaxF
= 12.0
plot(0)
= gsn_csm_xy(wks, yrfrac, AUSMI, res)
res@tiYAxisString
= "Standardized AUSMI
res@trYMinF
= -3.0
res@trYMaxF
= 3.0
plot(1)
= gsn_csm_xy(wks, yrfrac, AUSMI_std, res)
gsn_panel(wks, plot, (/2,1/), resP)
Mengaktifkan Resources
Membuat garis horizontal dengan nilai 0.0 (hanya berlaku pada fun
gsn_csm_xy)
Warna grafik anomali bagian atas
Warna grafik anomali bagian bawah