summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSHEN Wenqiang <wqshen>2016-01-06 07:45:16 +0000
committerSHEN Wenqiang <wqshen>2016-01-06 07:45:16 +0000
commitc29d2ffff5eb120017c514fab4a6cad1ad017da5 (patch)
treeff4d77483f7a5bf2eef4125578835160d8bf9da3
parent55569b79e44c7228cb04e5e77e1ad2210d38822c (diff)
downloadpygments-c29d2ffff5eb120017c514fab4a6cad1ad017da5.tar.gz
test.ncl created online with Bitbucket
this file is a test NCL script.
-rw-r--r--tests/examplefiles/test.ncl20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/examplefiles/test.ncl b/tests/examplefiles/test.ncl
new file mode 100644
index 00000000..f20f8159
--- /dev/null
+++ b/tests/examplefiles/test.ncl
@@ -0,0 +1,20 @@
+load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
+load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
+load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
+begin
+ int_num = 1
+ float_num = 0.1
+ str = "A void map"
+ array = (/1, 2, 3, 4, 5/)
+
+
+ wks = gsn_open_wks("X11", "test_for_pygments")
+
+ res = True
+ res@mpMinLonF = 90.
+ res@mpMaxLonF = 180.
+ res@mpMinLatF = 0.
+ res@mpMaxLatF = 90.
+
+ plot = gsn_csm_map_ce(wks, res)
+end \ No newline at end of file