gphys 1.2.2.1 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (405) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -17
  3. data/.rspec +2 -0
  4. data/.travis.yml +3 -0
  5. data/ChangeLog +5762 -753
  6. data/LICENSE.txt +30 -18
  7. data/Rakefile +1 -0
  8. data/bin/console +14 -0
  9. data/bin/gpcat +43 -2
  10. data/bin/gpcut +16 -0
  11. data/bin/gpvect +167 -15
  12. data/bin/gpview +254 -51
  13. data/bin/setup +7 -0
  14. data/dim_op.c +1220 -0
  15. data/doc/attribute.html +19 -0
  16. data/doc/attributenetcdf.html +15 -0
  17. data/doc/axis.html +387 -0
  18. data/doc/coordmapping.html +111 -0
  19. data/doc/coordtransform.html +36 -0
  20. data/doc/dclext.html +821 -0
  21. data/doc/derivative/gphys-derivative.html +100 -0
  22. data/doc/derivative/index.html +21 -0
  23. data/doc/derivative/index.rd +14 -0
  24. data/doc/derivative/math-doc/document.pdf +0 -0
  25. data/doc/derivative/math-doc/document.tex +158 -0
  26. data/doc/derivative/math-doc/document/document.css +30 -0
  27. data/doc/derivative/math-doc/document/document.html +57 -0
  28. data/doc/derivative/math-doc/document/images.aux +1 -0
  29. data/doc/derivative/math-doc/document/images.log +385 -0
  30. data/doc/derivative/math-doc/document/images.pl +186 -0
  31. data/doc/derivative/math-doc/document/images.tex +364 -0
  32. data/doc/derivative/math-doc/document/img1.png +0 -0
  33. data/doc/derivative/math-doc/document/img10.png +0 -0
  34. data/doc/derivative/math-doc/document/img11.png +0 -0
  35. data/doc/derivative/math-doc/document/img12.png +0 -0
  36. data/doc/derivative/math-doc/document/img13.png +0 -0
  37. data/doc/derivative/math-doc/document/img14.png +0 -0
  38. data/doc/derivative/math-doc/document/img15.png +0 -0
  39. data/doc/derivative/math-doc/document/img16.png +0 -0
  40. data/doc/derivative/math-doc/document/img17.png +0 -0
  41. data/doc/derivative/math-doc/document/img18.png +0 -0
  42. data/doc/derivative/math-doc/document/img19.png +0 -0
  43. data/doc/derivative/math-doc/document/img2.png +0 -0
  44. data/doc/derivative/math-doc/document/img20.png +0 -0
  45. data/doc/derivative/math-doc/document/img21.png +0 -0
  46. data/doc/derivative/math-doc/document/img22.png +0 -0
  47. data/doc/derivative/math-doc/document/img23.png +0 -0
  48. data/doc/derivative/math-doc/document/img24.png +0 -0
  49. data/doc/derivative/math-doc/document/img25.png +0 -0
  50. data/doc/derivative/math-doc/document/img26.png +0 -0
  51. data/doc/derivative/math-doc/document/img27.png +0 -0
  52. data/doc/derivative/math-doc/document/img28.png +0 -0
  53. data/doc/derivative/math-doc/document/img29.png +0 -0
  54. data/doc/derivative/math-doc/document/img3.png +0 -0
  55. data/doc/derivative/math-doc/document/img30.png +0 -0
  56. data/doc/derivative/math-doc/document/img4.png +0 -0
  57. data/doc/derivative/math-doc/document/img5.png +0 -0
  58. data/doc/derivative/math-doc/document/img6.png +0 -0
  59. data/doc/derivative/math-doc/document/img7.png +0 -0
  60. data/doc/derivative/math-doc/document/img8.png +0 -0
  61. data/doc/derivative/math-doc/document/img9.png +0 -0
  62. data/doc/derivative/math-doc/document/index.html +57 -0
  63. data/doc/derivative/math-doc/document/labels.pl +13 -0
  64. data/doc/derivative/math-doc/document/next.png +0 -0
  65. data/doc/derivative/math-doc/document/next_g.png +0 -0
  66. data/doc/derivative/math-doc/document/node1.html +238 -0
  67. data/doc/derivative/math-doc/document/node2.html +75 -0
  68. data/doc/derivative/math-doc/document/prev.png +0 -0
  69. data/doc/derivative/math-doc/document/prev_g.png +0 -0
  70. data/doc/derivative/math-doc/document/up.png +0 -0
  71. data/doc/derivative/math-doc/document/up_g.png +0 -0
  72. data/doc/derivative/numru-derivative.html +158 -0
  73. data/doc/ep_flux/ep_flux.html +469 -0
  74. data/doc/ep_flux/ggraph_on_merdional_section.html +71 -0
  75. data/doc/ep_flux/index.html +31 -0
  76. data/doc/ep_flux/index.rd +24 -0
  77. data/doc/ep_flux/math-doc/document.pdf +0 -0
  78. data/doc/ep_flux/math-doc/document.tex +2018 -0
  79. data/doc/ep_flux/math-doc/document/WARNINGS +1 -0
  80. data/doc/ep_flux/math-doc/document/contents.png +0 -0
  81. data/doc/ep_flux/math-doc/document/crossref.png +0 -0
  82. data/doc/ep_flux/math-doc/document/document.css +30 -0
  83. data/doc/ep_flux/math-doc/document/document.html +101 -0
  84. data/doc/ep_flux/math-doc/document/images.aux +1 -0
  85. data/doc/ep_flux/math-doc/document/images.log +1375 -0
  86. data/doc/ep_flux/math-doc/document/images.pl +1328 -0
  87. data/doc/ep_flux/math-doc/document/images.tex +1471 -0
  88. data/doc/ep_flux/math-doc/document/img1.png +0 -0
  89. data/doc/ep_flux/math-doc/document/img10.png +0 -0
  90. data/doc/ep_flux/math-doc/document/img100.png +0 -0
  91. data/doc/ep_flux/math-doc/document/img101.png +0 -0
  92. data/doc/ep_flux/math-doc/document/img102.png +0 -0
  93. data/doc/ep_flux/math-doc/document/img103.png +0 -0
  94. data/doc/ep_flux/math-doc/document/img104.png +0 -0
  95. data/doc/ep_flux/math-doc/document/img105.png +0 -0
  96. data/doc/ep_flux/math-doc/document/img106.png +0 -0
  97. data/doc/ep_flux/math-doc/document/img107.png +0 -0
  98. data/doc/ep_flux/math-doc/document/img108.png +0 -0
  99. data/doc/ep_flux/math-doc/document/img109.png +0 -0
  100. data/doc/ep_flux/math-doc/document/img11.png +0 -0
  101. data/doc/ep_flux/math-doc/document/img110.png +0 -0
  102. data/doc/ep_flux/math-doc/document/img111.png +0 -0
  103. data/doc/ep_flux/math-doc/document/img112.png +0 -0
  104. data/doc/ep_flux/math-doc/document/img113.png +0 -0
  105. data/doc/ep_flux/math-doc/document/img114.png +0 -0
  106. data/doc/ep_flux/math-doc/document/img115.png +0 -0
  107. data/doc/ep_flux/math-doc/document/img116.png +0 -0
  108. data/doc/ep_flux/math-doc/document/img117.png +0 -0
  109. data/doc/ep_flux/math-doc/document/img118.png +0 -0
  110. data/doc/ep_flux/math-doc/document/img119.png +0 -0
  111. data/doc/ep_flux/math-doc/document/img12.png +0 -0
  112. data/doc/ep_flux/math-doc/document/img120.png +0 -0
  113. data/doc/ep_flux/math-doc/document/img121.png +0 -0
  114. data/doc/ep_flux/math-doc/document/img122.png +0 -0
  115. data/doc/ep_flux/math-doc/document/img123.png +0 -0
  116. data/doc/ep_flux/math-doc/document/img124.png +0 -0
  117. data/doc/ep_flux/math-doc/document/img125.png +0 -0
  118. data/doc/ep_flux/math-doc/document/img126.png +0 -0
  119. data/doc/ep_flux/math-doc/document/img127.png +0 -0
  120. data/doc/ep_flux/math-doc/document/img128.png +0 -0
  121. data/doc/ep_flux/math-doc/document/img129.png +0 -0
  122. data/doc/ep_flux/math-doc/document/img13.png +0 -0
  123. data/doc/ep_flux/math-doc/document/img130.png +0 -0
  124. data/doc/ep_flux/math-doc/document/img131.png +0 -0
  125. data/doc/ep_flux/math-doc/document/img132.png +0 -0
  126. data/doc/ep_flux/math-doc/document/img133.png +0 -0
  127. data/doc/ep_flux/math-doc/document/img134.png +0 -0
  128. data/doc/ep_flux/math-doc/document/img135.png +0 -0
  129. data/doc/ep_flux/math-doc/document/img136.png +0 -0
  130. data/doc/ep_flux/math-doc/document/img137.png +0 -0
  131. data/doc/ep_flux/math-doc/document/img138.png +0 -0
  132. data/doc/ep_flux/math-doc/document/img139.png +0 -0
  133. data/doc/ep_flux/math-doc/document/img14.png +0 -0
  134. data/doc/ep_flux/math-doc/document/img140.png +0 -0
  135. data/doc/ep_flux/math-doc/document/img141.png +0 -0
  136. data/doc/ep_flux/math-doc/document/img142.png +0 -0
  137. data/doc/ep_flux/math-doc/document/img143.png +0 -0
  138. data/doc/ep_flux/math-doc/document/img144.png +0 -0
  139. data/doc/ep_flux/math-doc/document/img145.png +0 -0
  140. data/doc/ep_flux/math-doc/document/img146.png +0 -0
  141. data/doc/ep_flux/math-doc/document/img147.png +0 -0
  142. data/doc/ep_flux/math-doc/document/img148.png +0 -0
  143. data/doc/ep_flux/math-doc/document/img149.png +0 -0
  144. data/doc/ep_flux/math-doc/document/img15.png +0 -0
  145. data/doc/ep_flux/math-doc/document/img150.png +0 -0
  146. data/doc/ep_flux/math-doc/document/img151.png +0 -0
  147. data/doc/ep_flux/math-doc/document/img152.png +0 -0
  148. data/doc/ep_flux/math-doc/document/img153.png +0 -0
  149. data/doc/ep_flux/math-doc/document/img154.png +0 -0
  150. data/doc/ep_flux/math-doc/document/img155.png +0 -0
  151. data/doc/ep_flux/math-doc/document/img156.png +0 -0
  152. data/doc/ep_flux/math-doc/document/img157.png +0 -0
  153. data/doc/ep_flux/math-doc/document/img158.png +0 -0
  154. data/doc/ep_flux/math-doc/document/img159.png +0 -0
  155. data/doc/ep_flux/math-doc/document/img16.png +0 -0
  156. data/doc/ep_flux/math-doc/document/img160.png +0 -0
  157. data/doc/ep_flux/math-doc/document/img161.png +0 -0
  158. data/doc/ep_flux/math-doc/document/img162.png +0 -0
  159. data/doc/ep_flux/math-doc/document/img163.png +0 -0
  160. data/doc/ep_flux/math-doc/document/img164.png +0 -0
  161. data/doc/ep_flux/math-doc/document/img165.png +0 -0
  162. data/doc/ep_flux/math-doc/document/img166.png +0 -0
  163. data/doc/ep_flux/math-doc/document/img167.png +0 -0
  164. data/doc/ep_flux/math-doc/document/img168.png +0 -0
  165. data/doc/ep_flux/math-doc/document/img169.png +0 -0
  166. data/doc/ep_flux/math-doc/document/img17.png +0 -0
  167. data/doc/ep_flux/math-doc/document/img170.png +0 -0
  168. data/doc/ep_flux/math-doc/document/img171.png +0 -0
  169. data/doc/ep_flux/math-doc/document/img172.png +0 -0
  170. data/doc/ep_flux/math-doc/document/img173.png +0 -0
  171. data/doc/ep_flux/math-doc/document/img174.png +0 -0
  172. data/doc/ep_flux/math-doc/document/img175.png +0 -0
  173. data/doc/ep_flux/math-doc/document/img176.png +0 -0
  174. data/doc/ep_flux/math-doc/document/img177.png +0 -0
  175. data/doc/ep_flux/math-doc/document/img178.png +0 -0
  176. data/doc/ep_flux/math-doc/document/img179.png +0 -0
  177. data/doc/ep_flux/math-doc/document/img18.png +0 -0
  178. data/doc/ep_flux/math-doc/document/img180.png +0 -0
  179. data/doc/ep_flux/math-doc/document/img181.png +0 -0
  180. data/doc/ep_flux/math-doc/document/img182.png +0 -0
  181. data/doc/ep_flux/math-doc/document/img183.png +0 -0
  182. data/doc/ep_flux/math-doc/document/img184.png +0 -0
  183. data/doc/ep_flux/math-doc/document/img185.png +0 -0
  184. data/doc/ep_flux/math-doc/document/img186.png +0 -0
  185. data/doc/ep_flux/math-doc/document/img187.png +0 -0
  186. data/doc/ep_flux/math-doc/document/img188.png +0 -0
  187. data/doc/ep_flux/math-doc/document/img189.png +0 -0
  188. data/doc/ep_flux/math-doc/document/img19.png +0 -0
  189. data/doc/ep_flux/math-doc/document/img190.png +0 -0
  190. data/doc/ep_flux/math-doc/document/img191.png +0 -0
  191. data/doc/ep_flux/math-doc/document/img192.png +0 -0
  192. data/doc/ep_flux/math-doc/document/img193.png +0 -0
  193. data/doc/ep_flux/math-doc/document/img194.png +0 -0
  194. data/doc/ep_flux/math-doc/document/img195.png +0 -0
  195. data/doc/ep_flux/math-doc/document/img196.png +0 -0
  196. data/doc/ep_flux/math-doc/document/img197.png +0 -0
  197. data/doc/ep_flux/math-doc/document/img198.png +0 -0
  198. data/doc/ep_flux/math-doc/document/img199.png +0 -0
  199. data/doc/ep_flux/math-doc/document/img2.png +0 -0
  200. data/doc/ep_flux/math-doc/document/img20.png +0 -0
  201. data/doc/ep_flux/math-doc/document/img200.png +0 -0
  202. data/doc/ep_flux/math-doc/document/img21.png +0 -0
  203. data/doc/ep_flux/math-doc/document/img22.png +0 -0
  204. data/doc/ep_flux/math-doc/document/img23.png +0 -0
  205. data/doc/ep_flux/math-doc/document/img24.png +0 -0
  206. data/doc/ep_flux/math-doc/document/img25.png +0 -0
  207. data/doc/ep_flux/math-doc/document/img26.png +0 -0
  208. data/doc/ep_flux/math-doc/document/img27.png +0 -0
  209. data/doc/ep_flux/math-doc/document/img28.png +0 -0
  210. data/doc/ep_flux/math-doc/document/img29.png +0 -0
  211. data/doc/ep_flux/math-doc/document/img3.png +0 -0
  212. data/doc/ep_flux/math-doc/document/img30.png +0 -0
  213. data/doc/ep_flux/math-doc/document/img31.png +0 -0
  214. data/doc/ep_flux/math-doc/document/img32.png +0 -0
  215. data/doc/ep_flux/math-doc/document/img33.png +0 -0
  216. data/doc/ep_flux/math-doc/document/img34.png +0 -0
  217. data/doc/ep_flux/math-doc/document/img35.png +0 -0
  218. data/doc/ep_flux/math-doc/document/img36.png +0 -0
  219. data/doc/ep_flux/math-doc/document/img37.png +0 -0
  220. data/doc/ep_flux/math-doc/document/img38.png +0 -0
  221. data/doc/ep_flux/math-doc/document/img39.png +0 -0
  222. data/doc/ep_flux/math-doc/document/img4.png +0 -0
  223. data/doc/ep_flux/math-doc/document/img40.png +0 -0
  224. data/doc/ep_flux/math-doc/document/img41.png +0 -0
  225. data/doc/ep_flux/math-doc/document/img42.png +0 -0
  226. data/doc/ep_flux/math-doc/document/img43.png +0 -0
  227. data/doc/ep_flux/math-doc/document/img44.png +0 -0
  228. data/doc/ep_flux/math-doc/document/img45.png +0 -0
  229. data/doc/ep_flux/math-doc/document/img46.png +0 -0
  230. data/doc/ep_flux/math-doc/document/img47.png +0 -0
  231. data/doc/ep_flux/math-doc/document/img48.png +0 -0
  232. data/doc/ep_flux/math-doc/document/img49.png +0 -0
  233. data/doc/ep_flux/math-doc/document/img5.png +0 -0
  234. data/doc/ep_flux/math-doc/document/img50.png +0 -0
  235. data/doc/ep_flux/math-doc/document/img51.png +0 -0
  236. data/doc/ep_flux/math-doc/document/img52.png +0 -0
  237. data/doc/ep_flux/math-doc/document/img53.png +0 -0
  238. data/doc/ep_flux/math-doc/document/img54.png +0 -0
  239. data/doc/ep_flux/math-doc/document/img55.png +0 -0
  240. data/doc/ep_flux/math-doc/document/img56.png +0 -0
  241. data/doc/ep_flux/math-doc/document/img57.png +0 -0
  242. data/doc/ep_flux/math-doc/document/img58.png +0 -0
  243. data/doc/ep_flux/math-doc/document/img59.png +0 -0
  244. data/doc/ep_flux/math-doc/document/img6.png +0 -0
  245. data/doc/ep_flux/math-doc/document/img60.png +0 -0
  246. data/doc/ep_flux/math-doc/document/img61.png +0 -0
  247. data/doc/ep_flux/math-doc/document/img62.png +0 -0
  248. data/doc/ep_flux/math-doc/document/img63.png +0 -0
  249. data/doc/ep_flux/math-doc/document/img64.png +0 -0
  250. data/doc/ep_flux/math-doc/document/img65.png +0 -0
  251. data/doc/ep_flux/math-doc/document/img66.png +0 -0
  252. data/doc/ep_flux/math-doc/document/img67.png +0 -0
  253. data/doc/ep_flux/math-doc/document/img68.png +0 -0
  254. data/doc/ep_flux/math-doc/document/img69.png +0 -0
  255. data/doc/ep_flux/math-doc/document/img7.png +0 -0
  256. data/doc/ep_flux/math-doc/document/img70.png +0 -0
  257. data/doc/ep_flux/math-doc/document/img71.png +0 -0
  258. data/doc/ep_flux/math-doc/document/img72.png +0 -0
  259. data/doc/ep_flux/math-doc/document/img73.png +0 -0
  260. data/doc/ep_flux/math-doc/document/img74.png +0 -0
  261. data/doc/ep_flux/math-doc/document/img75.png +0 -0
  262. data/doc/ep_flux/math-doc/document/img76.png +0 -0
  263. data/doc/ep_flux/math-doc/document/img77.png +0 -0
  264. data/doc/ep_flux/math-doc/document/img78.png +0 -0
  265. data/doc/ep_flux/math-doc/document/img79.png +0 -0
  266. data/doc/ep_flux/math-doc/document/img8.png +0 -0
  267. data/doc/ep_flux/math-doc/document/img80.png +0 -0
  268. data/doc/ep_flux/math-doc/document/img81.png +0 -0
  269. data/doc/ep_flux/math-doc/document/img82.png +0 -0
  270. data/doc/ep_flux/math-doc/document/img83.png +0 -0
  271. data/doc/ep_flux/math-doc/document/img84.png +0 -0
  272. data/doc/ep_flux/math-doc/document/img85.png +0 -0
  273. data/doc/ep_flux/math-doc/document/img86.png +0 -0
  274. data/doc/ep_flux/math-doc/document/img87.png +0 -0
  275. data/doc/ep_flux/math-doc/document/img88.png +0 -0
  276. data/doc/ep_flux/math-doc/document/img89.png +0 -0
  277. data/doc/ep_flux/math-doc/document/img9.png +0 -0
  278. data/doc/ep_flux/math-doc/document/img90.png +0 -0
  279. data/doc/ep_flux/math-doc/document/img91.png +0 -0
  280. data/doc/ep_flux/math-doc/document/img92.png +0 -0
  281. data/doc/ep_flux/math-doc/document/img93.png +0 -0
  282. data/doc/ep_flux/math-doc/document/img94.png +0 -0
  283. data/doc/ep_flux/math-doc/document/img95.png +0 -0
  284. data/doc/ep_flux/math-doc/document/img96.png +0 -0
  285. data/doc/ep_flux/math-doc/document/img97.png +0 -0
  286. data/doc/ep_flux/math-doc/document/img98.png +0 -0
  287. data/doc/ep_flux/math-doc/document/img99.png +0 -0
  288. data/doc/ep_flux/math-doc/document/index.html +101 -0
  289. data/doc/ep_flux/math-doc/document/internals.pl +258 -0
  290. data/doc/ep_flux/math-doc/document/labels.pl +265 -0
  291. data/doc/ep_flux/math-doc/document/next.png +0 -0
  292. data/doc/ep_flux/math-doc/document/next_g.png +0 -0
  293. data/doc/ep_flux/math-doc/document/node1.html +104 -0
  294. data/doc/ep_flux/math-doc/document/node10.html +164 -0
  295. data/doc/ep_flux/math-doc/document/node11.html +86 -0
  296. data/doc/ep_flux/math-doc/document/node12.html +166 -0
  297. data/doc/ep_flux/math-doc/document/node13.html +897 -0
  298. data/doc/ep_flux/math-doc/document/node14.html +1065 -0
  299. data/doc/ep_flux/math-doc/document/node15.html +72 -0
  300. data/doc/ep_flux/math-doc/document/node16.html +81 -0
  301. data/doc/ep_flux/math-doc/document/node2.html +82 -0
  302. data/doc/ep_flux/math-doc/document/node3.html +91 -0
  303. data/doc/ep_flux/math-doc/document/node4.html +149 -0
  304. data/doc/ep_flux/math-doc/document/node5.html +330 -0
  305. data/doc/ep_flux/math-doc/document/node6.html +99 -0
  306. data/doc/ep_flux/math-doc/document/node7.html +98 -0
  307. data/doc/ep_flux/math-doc/document/node8.html +83 -0
  308. data/doc/ep_flux/math-doc/document/node9.html +140 -0
  309. data/doc/ep_flux/math-doc/document/prev.png +0 -0
  310. data/doc/ep_flux/math-doc/document/prev_g.png +0 -0
  311. data/doc/ep_flux/math-doc/document/up.png +0 -0
  312. data/doc/ep_flux/math-doc/document/up_g.png +0 -0
  313. data/doc/gdir.html +412 -0
  314. data/doc/gdir_client.html +16 -0
  315. data/doc/gdir_connect_ftp-like.html +61 -0
  316. data/doc/gdir_server.html +45 -0
  317. data/doc/ggraph.html +1119 -0
  318. data/doc/gpcat.html +45 -0
  319. data/doc/gpcut.html +47 -0
  320. data/doc/gphys.html +624 -0
  321. data/doc/gphys_fft.html +324 -0
  322. data/doc/gphys_grads_io.html +69 -0
  323. data/doc/gphys_grib_io.html +82 -0
  324. data/doc/gphys_io.html +183 -0
  325. data/doc/gphys_io_common.html +18 -0
  326. data/doc/gphys_netcdf_io.html +283 -0
  327. data/doc/gplist.html +24 -0
  328. data/doc/gpmath.html +52 -0
  329. data/doc/gpmaxmin.html +32 -0
  330. data/doc/gpprint.html +35 -0
  331. data/doc/gpview.html +349 -0
  332. data/doc/grads2nc_with_gphys.html +21 -0
  333. data/doc/grads_gridded.html +307 -0
  334. data/doc/grib.html +149 -0
  335. data/doc/grid.html +224 -0
  336. data/doc/index.html +145 -0
  337. data/doc/index.rd +138 -0
  338. data/doc/netcdf_convention.html +136 -0
  339. data/doc/unumeric.html +176 -0
  340. data/doc/update +69 -0
  341. data/doc/update_rdoc +8 -0
  342. data/doc/varray.html +299 -0
  343. data/doc/varraycomposite.html +67 -0
  344. data/ext_init.c +1 -0
  345. data/extconf.rb +16 -6
  346. data/gphys.gemspec +33 -26
  347. data/interpo.c +1 -1
  348. data/lib/numru/dclext.rb +718 -546
  349. data/lib/numru/derivative.rb +2 -0
  350. data/lib/numru/ganalysis.rb +38 -0
  351. data/lib/numru/ganalysis/beta_plane.rb +103 -0
  352. data/lib/numru/ganalysis/eof.rb +3 -2
  353. data/lib/numru/ganalysis/fitting.rb +559 -0
  354. data/lib/numru/ganalysis/histogram.rb +36 -19
  355. data/lib/numru/ganalysis/log_p.rb +130 -0
  356. data/lib/numru/ganalysis/met.rb +396 -2
  357. data/lib/numru/ganalysis/met_z.rb +300 -0
  358. data/lib/numru/ganalysis/planet.rb +17 -7
  359. data/lib/numru/ganalysis/qg.rb +685 -0
  360. data/lib/numru/ganalysis/sigma_coord.rb +90 -0
  361. data/lib/numru/gdir.rb +2 -1
  362. data/lib/numru/ggraph.rb +204 -60
  363. data/lib/numru/ggraph_on_merdional_section.rb +1 -1
  364. data/lib/numru/gphys.rb +6 -0
  365. data/lib/numru/gphys/assoccoords.rb +18 -3
  366. data/lib/numru/gphys/axis.rb +209 -8
  367. data/lib/numru/gphys/derivative.rb +11 -0
  368. data/lib/numru/gphys/gphys.rb +539 -48
  369. data/lib/numru/gphys/gphys_dim_op.rb +331 -0
  370. data/lib/numru/gphys/gphys_fft.rb +48 -2
  371. data/lib/numru/gphys/gphys_io.rb +241 -13
  372. data/lib/numru/gphys/gphys_netcdf_io.rb +77 -39
  373. data/lib/numru/gphys/gphys_nusdas_io.rb +3 -0
  374. data/lib/numru/gphys/grib.rb +133 -54
  375. data/lib/numru/gphys/grib_params.rb +26 -3
  376. data/lib/numru/gphys/grid.rb +75 -34
  377. data/lib/numru/gphys/interpolate.rb +24 -10
  378. data/lib/numru/gphys/mdstorage.rb +160 -0
  379. data/lib/numru/gphys/netcdf_convention.rb +4 -2
  380. data/lib/numru/gphys/subsetmapping.rb +0 -1
  381. data/lib/numru/gphys/unumeric.rb +50 -5
  382. data/lib/numru/gphys/varray.rb +15 -30
  383. data/lib/numru/gphys/varraycomposite.rb +107 -24
  384. data/lib/numru/gphys/varraynetcdf.rb +9 -3
  385. data/lib/numru/gphys/version.rb +5 -0
  386. data/sample/druby_cli1.rb +2 -0
  387. data/sample/druby_cli2.rb +0 -6
  388. data/sample/druby_serv2.rb +0 -13
  389. data/spec/gphys_spec.rb +11 -0
  390. data/spec/spec_helper.rb +2 -0
  391. data/test/test_assoccoords.rb +102 -0
  392. data/test/test_axis.rb +61 -0
  393. data/test/test_fitting.rb +116 -0
  394. data/test/test_gphys.rb +20 -0
  395. data/test/test_met_z.rb +96 -0
  396. data/test/test_sigma_coord.rb +50 -0
  397. data/{test → test_old}/eof_slp.rb +0 -0
  398. data/{test → test_old}/mltbit.dat +0 -0
  399. data/{test → test_old}/test_ep_flux.rb +0 -0
  400. data/{test → test_old}/test_multibitIO.rb +0 -0
  401. metadata +530 -191
  402. data/README.md +0 -29
  403. data/lib/gphys.rb +0 -2
  404. data/lib/numru/dclext_datetime_ax.rb +0 -220
  405. data/lib/version.rb +0 -3
@@ -0,0 +1,24 @@
1
+ <?xml version="1.0" ?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+ <html xmlns="http://www.w3.org/1999/xhtml">
6
+ <head>
7
+ <title>../bin/gplist</title>
8
+ </head>
9
+ <body>
10
+ <h1><a name="label-0" id="label-0">NAME</a></h1><!-- RDLabel: "NAME" -->
11
+ <p>gplist - print out info on GPhys-compatible variables in specified files.</p>
12
+ <h1><a name="label-1" id="label-1">Usage</a></h1><!-- RDLabel: "Usage" -->
13
+ <pre>% gplist [-h] [ FILES... ]</pre>
14
+ <p>where FILES are plane files (NetCDF, grib, GrADS control..) or directories.
15
+ If omitted, equivalent to specifing the current directory.</p>
16
+ <h1><a name="label-2" id="label-2">HISTORY</a></h1><!-- RDLabel: "HISTORY" -->
17
+ <pre>2005/05/15 S Takehiro (created)
18
+ 2005/06/21 T Horinouchi (modified to use GDir (non-recursive version))
19
+ 2005/08/10 S Takehiro (utilize internal function for printing help message)
20
+ 2005/08/23 S Takehiro (common methods to gp* command moved to gpcommon.rb)
21
+ 2010/03/10 Y SASAKI (change help block into RD format)</pre>
22
+
23
+ </body>
24
+ </html>
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" ?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+ <html xmlns="http://www.w3.org/1999/xhtml">
6
+ <head>
7
+ <title>../bin/gpmath</title>
8
+ </head>
9
+ <body>
10
+ <h1><a name="label-0" id="label-0">NAME</a></h1><!-- RDLabel: "NAME" -->
11
+ <p>gpmath - operating a mathematical function to a GPhys variable. </p>
12
+ <h1><a name="label-1" id="label-1">USAGE</a></h1><!-- RDLabel: "USAGE" -->
13
+ <pre>% gpmath [options] path[@|/]varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]</pre>
14
+ <h1><a name="label-2" id="label-2">OPTIONS</a></h1><!-- RDLabel: "OPTIONS" -->
15
+ <dl>
16
+ <dt><h4><a name="label-3" id="label-3">-h,--help</a></h4></dt><!-- RDLabel: "-h,&shy;&shy;help" -->
17
+ <dd>
18
+ print this message.
19
+ </dd>
20
+ <dt><h4><a name="label-4" id="label-4">-f func, --function func</a></h4></dt><!-- RDLabel: "-f func, &shy;&shy;function func" -->
21
+ <dd>
22
+ function name to operate (optional).
23
+ Default function name is $0[2..-1].
24
+ </dd>
25
+ <dt><h4><a name="label-5" id="label-5">-n name, --name name</a></h4></dt><!-- RDLabel: "-n name, &shy;&shy;name name" -->
26
+ <dd>
27
+ name of the output gphys variable (optional).
28
+ </dd>
29
+ <dt><h4><a name="label-6" id="label-6">-l name, --longname name</a></h4></dt><!-- RDLabel: "-l name, &shy;&shy;longname name" -->
30
+ <dd>
31
+ long_name attr. of the output gphys variable (optional).
32
+ </dd>
33
+ <dt><h4><a name="label-7" id="label-7">-o file, --output file</a></h4></dt><!-- RDLabel: "-o file, &shy;&shy;output file" -->
34
+ <dd>
35
+ output filename (optional). Default output filename is 'gphys.nc'.
36
+ <ul>
37
+ <li>Commands which operates mathematical functions to a gphys variable are
38
+ successively installed by linking this sciript as a "gp+[math. func. name]".</li>
39
+ </ul>
40
+ </dd>
41
+ </dl>
42
+ <h1><a name="label-8" id="label-8">HISTORY</a></h1><!-- RDLabel: "HISTORY" -->
43
+ <pre>2005/06/21 S Takehiro (created)
44
+ 2005/07/15 S Takehiro (open_gturl method is used for opening gphys variable)
45
+ 2005/08/10 S Takehiro (utilize internal function for printing help message)
46
+ 2005/08/21 S Takehiro (global attributes copied to the output file)
47
+ 2005/08/23 S Takehiro (common methods to gp* command moved to gpcommon.rb)
48
+ 2010/03/10 Y SASAKI (change help block into RD format)
49
+ 2012/02/19 S Takehiro (description for gturl format updated)</pre>
50
+
51
+ </body>
52
+ </html>
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0" ?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+ <html xmlns="http://www.w3.org/1999/xhtml">
6
+ <head>
7
+ <title>../bin/gpmaxmin</title>
8
+ </head>
9
+ <body>
10
+ <h1><a name="label-0" id="label-0">NAME</a></h1><!-- RDLabel: "NAME" -->
11
+ <p>gpmaxmin - printing maximum and minimum values of a GPhys variable.</p>
12
+ <h1><a name="label-1" id="label-1">USAGE</a></h1><!-- RDLabel: "USAGE" -->
13
+ <pre>% gpmaxmin [options] path[@|/]varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]</pre>
14
+ <h1><a name="label-2" id="label-2">OPTIONS</a></h1><!-- RDLabel: "OPTIONS" -->
15
+ <pre>-h, --help : Print this message.
16
+ -n, --number : Number of displayed points having max and min values.
17
+ -a, --all : All points are displayed.
18
+ -i, --index : Indicies of max and min points are displayed.</pre>
19
+ <h1><a name="label-3" id="label-3">HISTORY</a></h1><!-- RDLabel: "HISTORY" -->
20
+ <pre>2005/05/17 S Takehiro (created)
21
+ 2005/07/15 S Takehiro (open_gturl method is used for opening gphys variable)
22
+ 2005/08/07 S Takehiro (parse_gturl removed)
23
+ 2005/08/10 S Takehiro (locations having max and min values are displayed.
24
+ utilize internal function for printing help message.
25
+ --all, --index, --number options added.)
26
+ 2005/08/23 S Takehiro (common methods to gp* command moved to gpcommon.rb)
27
+ 2006/03/07 M Nakano (USAGE Typo fixed)
28
+ 2010/03/10 Y SASAKI (change help block into RD format)
29
+ 2012/02/19 S Takehiro (description for gturl format updated)</pre>
30
+
31
+ </body>
32
+ </html>
@@ -0,0 +1,35 @@
1
+ <?xml version="1.0" ?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+ <html xmlns="http://www.w3.org/1999/xhtml">
6
+ <head>
7
+ <title>../bin/gpprint</title>
8
+ </head>
9
+ <body>
10
+ <h1><a name="label-0" id="label-0">NAME</a></h1><!-- RDLabel: "NAME" -->
11
+ <p>gpprint - a command to print the values of a variable specified by a gtool4-type URL. </p>
12
+ <h1><a name="label-1" id="label-1">DESCRIPTION</a></h1><!-- RDLabel: "DESCRIPTION" -->
13
+ <p><em>gpprint</em> is a command-line tool to print the values of a variable
14
+ specified by a gtool4-type URL. Outputs are comma-separated ascii
15
+ texts with line feeding to avoid long lines and are made to stdout.</p>
16
+ <h1><a name="label-2" id="label-2">USAGE</a></h1><!-- RDLabel: "USAGE" -->
17
+ <pre>% gpprint url</pre>
18
+ <p>where the format of the url is </p>
19
+ <pre>path[@|/]varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]</pre>
20
+ <h1><a name="label-3" id="label-3">EXAMPLES</a></h1><!-- RDLabel: "EXAMPLES" -->
21
+ <pre>% gpprint data.nc@temp
22
+ % gpprint data.nc@temp,lon=135.0
23
+ % gpprint data.nc@temp,lon=130:150,lat=0
24
+ % gpprint data.nc@temp,lon=130:150,lat=0:90:2</pre>
25
+ <h1><a name="label-4" id="label-4">HISTORY</a></h1><!-- RDLabel: "HISTORY" -->
26
+ <pre>2004/12/14 T Horinouchi (created)
27
+ 2005/01/12 T Horinouchi (document -&gt; in rd)
28
+ 2005/06/15 S Takehiro (set first_dim_length 1 when gp.shape[0] returns nil)
29
+ 2005/08/10 S Takehiro (utilize internal function for printing help message)
30
+ 2005/08/23 S Takehiro (common methods to gp* command moved to gpcommon.rb)
31
+ 2010/03/10 Y SASAKI (change help block into RD format)
32
+ 2012/02/19 S Takehiro (description for gturl format updated)</pre>
33
+
34
+ </body>
35
+ </html>
@@ -0,0 +1,349 @@
1
+ <?xml version="1.0" ?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+ <html xmlns="http://www.w3.org/1999/xhtml">
6
+ <head>
7
+ <title>../bin/gpview</title>
8
+ </head>
9
+ <body>
10
+ <h1><a name="label-0" id="label-0">NAME</a></h1><!-- RDLabel: "NAME" -->
11
+ <p>gpview - quick viewer for the values of a variable specified by a gtool4-type URL. </p>
12
+ <ol>
13
+ <li>for 1-dimensional variable, make line plot.</li>
14
+ <li>for 2-dimensional variable, make contour/tone plot.</li>
15
+ <li>for 3/more-dimensional variable, make contour/tone plot,
16
+ select first 2D. possible to make animation.</li>
17
+ </ol>
18
+ <h1><a name="label-1" id="label-1">USAGE</a></h1><!-- RDLabel: "USAGE" -->
19
+ <p>The first command form is </p>
20
+ <pre>% gpview [options] gturl1 gturl2 gturl3 ...</pre>
21
+ <p>where the format of the gturl is</p>
22
+ <pre>path[@|/]varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]</pre>
23
+ <p>The second commnad form is </p>
24
+ <pre>% gpview --var url [options] gtfile1 gtfile2 ...</pre>
25
+ <p>where the format of the url is </p>
26
+ <pre>varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]</pre>
27
+ <h1><a name="label-2" id="label-2">OPTIONS</a></h1><!-- RDLabel: "OPTIONS" -->
28
+ <p>if you want to know more description, please read</p>
29
+ <pre>http://ruby.gfd-dennou.org/products/gphys/doc/gpview.html</pre>
30
+ <h2><a name="label-3" id="label-3">GLOBAL OPTIONS</a></h2><!-- RDLabel: "GLOBAL OPTIONS" -->
31
+ <dl>
32
+ <dt><h4><a name="label-4" id="label-4">--help:</a></h4></dt><!-- RDLabel: "&shy;&shy;help:" -->
33
+ <dd>
34
+ print this message.
35
+ </dd>
36
+ <dt><h4><a name="label-5" id="label-5">--var url:</a></h4></dt><!-- RDLabel: "&shy;&shy;var url:" -->
37
+ <dd>
38
+ set the variable name and slicing parameters.
39
+ </dd>
40
+ <dt><h4><a name="label-6" id="label-6">--wsn [1-4]:</a></h4></dt><!-- RDLabel: "&shy;&shy;wsn [1-4]:" -->
41
+ <dd>
42
+ set work staion number. each number represent output device:
43
+ 1 : X window.
44
+ 2 : PS file. (named dcl.ps)
45
+ 3 : Tcl/Tk file.
46
+ 4 : GTK Windows (depend on dcl-5.3)
47
+ </dd>
48
+ <dt><h4><a name="label-7" id="label-7">--clrmap [1-]:</a></h4></dt><!-- RDLabel: "&shy;&shy;clrmap [1-]:" -->
49
+ <dd>
50
+ set colormap to draw tone/contour.
51
+ </dd>
52
+ <dt><h4><a name="label-8" id="label-8">--itr [1-4,5-7,10-15,20-23,30-33]:</a></h4></dt><!-- RDLabel: "&shy;&shy;itr [1-4,5-7,10-15,20-23,30-33]:" -->
53
+ <dd>
54
+ set axis scale. default is 1.
55
+ 1 : linear scale for x/y axis
56
+ 2 : linear scale for x , log scale for y axis
57
+ 3 : log scale for x , linear scale for y axis
58
+ 4 : log scale for x/y axis
59
+ </dd>
60
+ <dt><h4><a name="label-9" id="label-9">--similar [simfac,vxoff,vyoff]:</a></h4></dt><!-- RDLabel: "&shy;&shy;similar [simfac,vxoff,vyoff]:" -->
61
+ <dd>
62
+ (for 5&lt;=itr&lt;=7) set similarity parameters which are fed in DCL.grssim.
63
+ </dd>
64
+ <dt><h4><a name="label-10" id="label-10">--map_axis [uxc,uyc,rot]:</a></h4></dt><!-- RDLabel: "&shy;&shy;map_axis [uxc,uyc,rot]:" -->
65
+ <dd>
66
+ (for 10&lt;=itr&lt;=33) set mapping parameters which are fed in DCL.umpcnt.
67
+ </dd>
68
+ <dt><h4><a name="label-11" id="label-11">--map_radius &lt;radius&gt;:</a></h4></dt><!-- RDLabel: "&shy;&shy;map_radius <radius>:" -->
69
+ <dd>
70
+ (for itr&gt;=20) set clipping radius (degree) around the tangential point.
71
+ Deafault=90.
72
+ </dd>
73
+ <dt><h4><a name="label-12" id="label-12">--xcoord [xcoord]</a></h4></dt><!-- RDLabel: "&shy;&shy;xcoord [xcoord]" -->
74
+ <dd>
75
+ name of x-coordinate (use for associate coordinates)
76
+ </dd>
77
+ <dt><h4><a name="label-13" id="label-13">--ycoord [ycoord]</a></h4></dt><!-- RDLabel: "&shy;&shy;ycoord [ycoord]" -->
78
+ <dd>
79
+ name of y-coordinate (use for associate coordinates)
80
+ </dd>
81
+ <dt><h4><a name="label-14" id="label-14">--title:</a></h4></dt><!-- RDLabel: "&shy;&shy;title:" -->
82
+ <dd>
83
+ set title of figure
84
+ </dd>
85
+ <dt><h4><a name="label-15" id="label-15">--aspect &lt;aspect&gt;:</a></h4></dt><!-- RDLabel: "&shy;&shy;aspect <aspect>:" -->
86
+ <dd>
87
+ set aspect ratio of Viewport. default is 2.0.
88
+ </dd>
89
+ <dt><h4><a name="label-16" id="label-16">--noannotate:</a></h4></dt><!-- RDLabel: "&shy;&shy;noannotate:" -->
90
+ <dd>
91
+ not draw annotations.
92
+ </dd>
93
+ <dt><h4><a name="label-17" id="label-17">--animate/anim &lt;dim&gt;:</a></h4></dt><!-- RDLabel: "&shy;&shy;animate/anim <dim>:" -->
94
+ <dd>
95
+ plot animation along &lt;dim&gt;. &lt;dim&gt; must be name of dimension.
96
+ </dd>
97
+ <dt><h4><a name="label-18" id="label-18">--alternate, --Ga:</a></h4></dt><!-- RDLabel: "&shy;&shy;alternate, &shy;&shy;Ga:" -->
98
+ <dd>
99
+ enable to backing store.
100
+ </dd>
101
+ <dt><h4><a name="label-19" id="label-19">--nowait, --Gw:</a></h4></dt><!-- RDLabel: "&shy;&shy;nowait, &shy;&shy;Gw:" -->
102
+ <dd>
103
+ not wait for any actions if animate
104
+ </dd>
105
+ <dt><h4><a name="label-20" id="label-20">--reverse, --Gr:</a></h4></dt><!-- RDLabel: "&shy;&shy;reverse, &shy;&shy;Gr:" -->
106
+ <dd>
107
+ plot animation reversible if animate
108
+ </dd>
109
+ <dt><h4><a name="label-21" id="label-21">--smooth, --Gaw:</a></h4></dt><!-- RDLabel: "&shy;&shy;smooth, &shy;&shy;Gaw:" -->
110
+ <dd>
111
+ equal to --anlternate &amp;&amp; --nowait
112
+ </dd>
113
+ <dt><h4><a name="label-22" id="label-22">--exch:</a></h4></dt><!-- RDLabel: "&shy;&shy;exch:" -->
114
+ <dd>
115
+ exchange(transpose) x/y axis.
116
+ </dd>
117
+ <dt><h4><a name="label-23" id="label-23">--mean &lt;dim&gt;:</a></h4></dt><!-- RDLabel: "&shy;&shy;mean <dim>:" -->
118
+ <dd>
119
+ mean along axis &lt;dim&gt;.
120
+ </dd>
121
+ <dt><h4><a name="label-24" id="label-24">--stddev &lt;dim&gt;:</a></h4></dt><!-- RDLabel: "&shy;&shy;stddev <dim>:" -->
122
+ <dd>
123
+ standard deviation along axis &lt;dim&gt;.
124
+ </dd>
125
+ <dt><h4><a name="label-25" id="label-25">--eddy &lt;dim&gt;:</a></h4></dt><!-- RDLabel: "&shy;&shy;eddy <dim>:" -->
126
+ <dd>
127
+ deviation from mean along axis &lt;dim&gt;.
128
+ </dd>
129
+ <dt><h4><a name="label-26" id="label-26">--diff:</a></h4></dt><!-- RDLabel: "&shy;&shy;diff:" -->
130
+ <dd>
131
+ calculate the difference of two variables.
132
+ you must provide two gturls whose size and dimension are same.
133
+ </dd>
134
+ <dt><h4><a name="label-27" id="label-27">--m, --map &lt;map_type&gt;:</a></h4></dt><!-- RDLabel: "&shy;&shy;m, &shy;&shy;map <map_type>:" -->
135
+ <dd>
136
+ plot map. itr number must be set. this option is neglect if itr
137
+ number is 1-4. abailable map type is coast_world, border_world,
138
+ plate_world, state_usa, coast_japan, pref_japan
139
+ </dd>
140
+ <dt><h4><a name="label-28" id="label-28">--operation &lt;math_func&gt;:</a></h4></dt><!-- RDLabel: "&shy;&shy;operation <math_func>:" -->
141
+ <dd>
142
+ operation of the specified math function on the data.
143
+ &lt;math_func&gt; should be a math function with one argument
144
+ such as log10, sqrt, sin, etc.
145
+ </dd>
146
+ <dt><h4><a name="label-29" id="label-29">--time_ax [nil|false|h|ymd]:</a></h4></dt><!-- RDLabel: "&shy;&shy;time_ax [nil|false|h|ymd]:" -->
147
+ <dd>
148
+ <p>specify type of calendar-type time axis: </p>
149
+ <pre>nil (=&gt; auto slection)
150
+ false (=&gt; do not use the time axis even if
151
+ the units of the axis is a time one with since field)
152
+ "h" (=&gt; like nil, but always use the hour-resolving datetime_ax method
153
+ in dclext_datetime_ax.rb)
154
+ "ymd" (=&gt; like "h" but for y-m-d type using DCL.uc[xy]acl)</pre>
155
+ </dd>
156
+ <dt><h4><a name="label-30" id="label-30">-xx:yyyy=value:</a></h4></dt><!-- RDLabel: "-xx:yyyy=value:" -->
157
+ <dd>
158
+ specify Dennou Club Library internal variable.
159
+ 'xx' is a package name prefix of DCL (eg. sg=&gt;sgpack).
160
+ 'yy' is a variable name of DCL.
161
+ 'value' is a value of the DCL variable.
162
+ </dd>
163
+ </dl>
164
+ <h2><a name="label-31" id="label-31">LINE/MARK OPTIONS</a></h2><!-- RDLabel: "LINE/MARK OPTIONS" -->
165
+ <dl>
166
+ <dt><h4><a name="label-32" id="label-32">--line:</a></h4></dt><!-- RDLabel: "&shy;&shy;line:" -->
167
+ <dd>
168
+ make line plot forced. (about first 1D)
169
+ </dd>
170
+ <dt><h4><a name="label-33" id="label-33">--mark:</a></h4></dt><!-- RDLabel: "&shy;&shy;mark:" -->
171
+ <dd>
172
+ make mark plot forced. (about first 1D)
173
+ </dd>
174
+ <dt><h4><a name="label-34" id="label-34">--index:</a></h4></dt><!-- RDLabel: "&shy;&shy;index:" -->
175
+ <dd>
176
+ set DCL line index, which set the color/thickness of the line
177
+ primitive. please see DCL documents.
178
+ </dd>
179
+ <dt><h4><a name="label-35" id="label-35">--type:</a></h4></dt><!-- RDLabel: "&shy;&shy;type:" -->
180
+ <dd>
181
+ set line type.
182
+ </dd>
183
+ <dt><h4><a name="label-36" id="label-36">--range [min:max]</a></h4></dt><!-- RDLabel: "&shy;&shy;range [min:max]" -->
184
+ <dd>
185
+ set min/max value for line plot. min or max must be set.
186
+ </dd>
187
+ <dt><h4><a name="label-37" id="label-37">--overplot</a></h4></dt><!-- RDLabel: "&shy;&shy;overplot" -->
188
+ <dd>
189
+ set number of lines on each figure.
190
+ </dd>
191
+ <dt><h4><a name="label-38" id="label-38">--overplot_color, --Opc</a></h4></dt><!-- RDLabel: "&shy;&shy;overplot_color, &shy;&shy;Opc" -->
192
+ <dd>
193
+ multiple lines are distinguished with color rather than line type.
194
+ </dd>
195
+ </dl>
196
+ <h2><a name="label-39" id="label-39">CONTOUR/TONE OPTIONS</a></h2><!-- RDLabel: "CONTOUR/TONE OPTIONS" -->
197
+ <dl>
198
+ <dt><h4><a name="label-40" id="label-40">--shade:</a></h4></dt><!-- RDLabel: "&shy;&shy;shade:" -->
199
+ <dd>
200
+ make contour and tone plot.
201
+ </dd>
202
+ <dt><h4><a name="label-41" id="label-41">--noshade:</a></h4></dt><!-- RDLabel: "&shy;&shy;noshade:" -->
203
+ <dd>
204
+ make contour plot, without tone.
205
+ </dd>
206
+ <dt><h4><a name="label-42" id="label-42">--nocont:</a></h4></dt><!-- RDLabel: "&shy;&shy;nocont:" -->
207
+ <dd>
208
+ make tone plot, without contour.
209
+ </dd>
210
+ <dt><h4><a name="label-43" id="label-43">--range [min:max]:</a></h4></dt><!-- RDLabel: "&shy;&shy;range [min:max]:" -->
211
+ <dd>
212
+ set min/max value for contour/tone plot. min or max must be set.
213
+ </dd>
214
+ <dt><h4><a name="label-44" id="label-44">--crange:</a></h4></dt><!-- RDLabel: "&shy;&shy;crange:" -->
215
+ <dd>
216
+ set min/max value for contour plot. this is more dominant than --range
217
+ </dd>
218
+ <dt><h4><a name="label-45" id="label-45">--srange:</a></h4></dt><!-- RDLabel: "&shy;&shy;srange:" -->
219
+ <dd>
220
+ set min/max value for tone plot. this is more dominant than --interval/int
221
+ </dd>
222
+ <dt><h4><a name="label-46" id="label-46">--interval,--int [num]:</a></h4></dt><!-- RDLabel: "&shy;&shy;interval,&shy;&shy;int [num]:" -->
223
+ <dd>
224
+ set interval value for contour/tone plot. set the number of lines if
225
+ you set negative value.
226
+ </dd>
227
+ <dt><h4><a name="label-47" id="label-47">--cint:</a></h4></dt><!-- RDLabel: "&shy;&shy;cint:" -->
228
+ <dd>
229
+ set interval value for contour plot. this is more dominant
230
+ than --interval/int
231
+ </dd>
232
+ <dt><h4><a name="label-48" id="label-48">--sint:</a></h4></dt><!-- RDLabel: "&shy;&shy;sint:" -->
233
+ <dd>
234
+ set interval value for tone plot. this is more dominant than --interval/int.
235
+ </dd>
236
+ <dt><h4><a name="label-49" id="label-49">--levels:</a></h4></dt><!-- RDLabel: "&shy;&shy;levels:" -->
237
+ <dd>
238
+ set values of contour/tone levels.
239
+ </dd>
240
+ <dt><h4><a name="label-50" id="label-50">--clevels:</a></h4></dt><!-- RDLabel: "&shy;&shy;clevels:" -->
241
+ <dd>
242
+ set values of contour levels.
243
+ </dd>
244
+ <dt><h4><a name="label-51" id="label-51">--slevels:</a></h4></dt><!-- RDLabel: "&shy;&shy;slevels:" -->
245
+ <dd>
246
+ set tone of contour levels.
247
+ </dd>
248
+ <dt><h4><a name="label-52" id="label-52">--patterns:</a></h4></dt><!-- RDLabel: "&shy;&shy;patterns:" -->
249
+ <dd>
250
+ set each patterns for tone plot.
251
+ </dd>
252
+ <dt><h4><a name="label-53" id="label-53">--tone [a|e|f|b|c]:</a></h4></dt><!-- RDLabel: "&shy;&shy;tone [a|e|f|b|c]:" -->
253
+ <dd>
254
+ <p>set tone subroutine:</p>
255
+ <pre>a (=&gt; tone routine is selected automatically depending on the datasize)
256
+ e (=&gt; DCL.uetone is used)
257
+ f (=&gt; DCL.uetonf is used)
258
+ b (=&gt; DCL.uetonb is used)
259
+ c (=&gt; DCL.uetonc is used)</pre>
260
+ </dd>
261
+ <dt><h4><a name="label-54" id="label-54">--nocolorbar:</a></h4></dt><!-- RDLabel: "&shy;&shy;nocolorbar:" -->
262
+ <dd>
263
+ do not draw color bar
264
+ </dd>
265
+ <dt><h4><a name="label-55" id="label-55">--nozero:</a></h4></dt><!-- RDLabel: "&shy;&shy;nozero:" -->
266
+ <dd>
267
+ do not draw zero contour
268
+ </dd>
269
+ <dt><h4><a name="label-56" id="label-56">--udsfmt [strings]:</a></h4></dt><!-- RDLabel: "&shy;&shy;udsfmt [strings]:" -->
270
+ <dd>
271
+ change contour label format. see UDCNTR/DCL manual for the format.
272
+ </dd>
273
+ </dl>
274
+ <h2><a name="label-57" id="label-57">EXAMPLES</a></h2><!-- RDLabel: "EXAMPLES" -->
275
+ <p>For a single GPhys variable, </p>
276
+ <pre>% gpview data.nc@temp
277
+ % gpview data.nc@temp,lon=130:150,lat=0:90:2
278
+ % gpview --nocont data.nc@temp,lon=130:150,lat=0
279
+ % gpview --noshade data.nc@temp,lon=130:150,lat=0
280
+ % gpview --mean lon data.nc@temp,lon=130:150,lat=0
281
+ % gpview --exch data.nc@temp,lon=130:150,lat=0
282
+ % gpview --animate lon data.nc@temp,lon=130:150
283
+ % gpview --animate lon --alternate data.nc@temp
284
+ % gpview --smooth lon data.nc@temp,lon=130:150
285
+ % gpview --levels 0,10,20,30 --pattern 30999,40999,50999,60999,70999 data.nc@temp
286
+ % gpview --overplot=3 --anim t data.nc@temp,lon=0
287
+ % gpview --mark data.nc@temp,lon=0,lat=0
288
+ % gpview --operation log10 data.nc@temp,lon=0
289
+ % gpview --time_ax false data.nc@temp,lon=0,lat=0</pre>
290
+ <p>Example to set DCL internal variable,</p>
291
+ <pre>% gpview -ud:lmsg=false --itr 5 --exch data.nc@temp,lon=0</pre>
292
+ <p>For multiple GPhys variables, </p>
293
+ <pre>% gpview data1.nc@temp data2.nc@temp
294
+ % gpview data1.nc@temp,lon=130:150 data2.nc@temp,lon=150:170
295
+ % gpview --overplot=3 --anim t data.nc@temp,lon=0 data.nc@temp,lon=10
296
+ % gpview --var temp,lon=130:150 data?.nc
297
+ % gpview --anim t --var temp,lon=130:150 data*.nc </pre>
298
+ <h2><a name="label-58" id="label-58">HISTORY</a></h2><!-- RDLabel: "HISTORY" -->
299
+ <pre>2004/12/14 D Tsukahara &amp;&amp; T Horinouti(parse_gturl)
300
+ 2005/01/08 D Tsukahara (add option --exch and able to invalid value)
301
+ 2005/01/09 D Tsukahara (add option --animate, smooth, alternate, index )
302
+ 2005/01/10 D Tsukahara (transpose axis with attr "positive:down" ,
303
+ abailable loopsense_flag. )
304
+ 2005/01/10 D Tsukahara (implement GGraph::color_bar, and margin_info,
305
+ which file name, date, and toolname. )
306
+ 2005/01/11 D Tsukahara ( 1. write document about OPTIONS.
307
+ 2. add many options. more info please see document. )
308
+ 2005/01/23 S Takehiro (add option --similar, map_axis)
309
+ 2005/02/09 D Tsukahara &amp;&amp; M Nakano (add option --reverse, --Gr, --map)
310
+ 2005/02/10 D Tsukahara (change option parser (getopts =&gt; getoptlong))
311
+ 2005/02/24 D Tsukahara (apply --range for line plot)
312
+ 2005/06/15 S Takehiro (add option --levels, --clevels, --slevels, --patterns)
313
+ 2005/06/17 S Takehiro (missing_value attribute setting removed)
314
+ 2005/06/22 S Takehiro (debug, clipping control added to GGraph::annotate)
315
+ 2005/06/23 S Takehiro (debug, option --title implemented)
316
+ 2005/07/15 S Takehiro (option --noannotate implemented)
317
+ 2005/08/07 S Takehiro (option --overplot implemented)
318
+ 2005/08/09 S Takehiro &amp;&amp; T Horinouchi (add option --help and help function.
319
+ URL information corrected. )
320
+ 2005/08/23 S Takehiro (multiple Gphys variables plotting
321
+ and option --var implemented)
322
+ 2005/08/23 S Takehiro (common methods to gp* command moved to gpcommon.rb)
323
+ 2005/10/30 S Takehiro (option --animate recoverd)
324
+ 2005/10/31 S Takehiro (option --smooth bug fixed)
325
+ 2006/03/07 M Nakano (option --int bug fixed)
326
+ 2007/10/03 S Takehiro (option --nocolorbar implemented)
327
+ 2008/04/03 S Takehiro (option --nozero implemented)
328
+ 2008/12/14 S Takehiro (option --mark implemented)
329
+ 2010/03/10 Y SASAKI (change help block into RD format)
330
+ 2011/01/14 T Tanigawa &amp;&amp; S Takehiro (option --operation implemented)
331
+ 2011/11/04 S Takehiro (option --time_ax implemented)
332
+ 2011/11/20 S Takehiro (option --eddy implemented)
333
+ 2012/02/19 S Takehiro (description for gturl format updated)
334
+ 2013/01/29 T Tanigawa &amp;&amp; S Takehiro (calculation of aspect ratio
335
+ of viewport improved)
336
+ 2013/01/29 S Nishizawa &amp;&amp; S Takehiro (sequential operation implemented)
337
+ 2014/02/21 Y Naito &amp;&amp; S Takehiro (implement DCL internal variable setting,
338
+ add option --udsfmt)
339
+ 2014/02/21 S Noda &amp;&amp; S Takehiro (add option --stddev)
340
+ 2014/02/23 S Takehiro (option --tonf is changed to --tone)
341
+ 2014/03/05 S Takehiro (add option --map_radius)
342
+ 2014/03/10 Y Kawai &amp;&amp; S Takehiro (setting labels for contours)
343
+ 2014/04/06 S Takehiro (option --map_radius bug fix)
344
+ 2014/06/27 S Nishizawa &amp;&amp; S Takehiro (add options --xcoord, --ycoord)
345
+ 2014/11/28 H Kashimura &amp;&amp; S Takehiro (add option --diff, --tone bug fix)
346
+ 2014/11/28 Y O Takahashi &amp;&amp; S Takehiro (add option --overplot_color, --Opc)</pre>
347
+
348
+ </body>
349
+ </html>