gentooboontoo-gphys 0.6.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (401) hide show
  1. checksums.yaml +7 -0
  2. data/ChangeLog +1255 -0
  3. data/README +32 -0
  4. data/bin/gdir_client +9 -0
  5. data/bin/gdir_server +123 -0
  6. data/bin/gpaop +134 -0
  7. data/bin/gpcat +140 -0
  8. data/bin/gpcut +94 -0
  9. data/bin/gpedit +196 -0
  10. data/bin/gplist +67 -0
  11. data/bin/gpmath +114 -0
  12. data/bin/gpmaxmin +127 -0
  13. data/bin/gpprint +57 -0
  14. data/bin/gpvect +657 -0
  15. data/bin/gpview +603 -0
  16. data/bin/grads2nc_with_gphys +56 -0
  17. data/doc/attribute.html +19 -0
  18. data/doc/attributenetcdf.html +15 -0
  19. data/doc/axis.html +368 -0
  20. data/doc/coordmapping.html +111 -0
  21. data/doc/coordtransform.html +36 -0
  22. data/doc/derivative/gphys-derivative.html +80 -0
  23. data/doc/derivative/index.html +21 -0
  24. data/doc/derivative/index.rd +14 -0
  25. data/doc/derivative/math-doc/document/document.css +30 -0
  26. data/doc/derivative/math-doc/document/document.html +57 -0
  27. data/doc/derivative/math-doc/document/images.aux +1 -0
  28. data/doc/derivative/math-doc/document/images.log +385 -0
  29. data/doc/derivative/math-doc/document/images.pl +186 -0
  30. data/doc/derivative/math-doc/document/images.tex +364 -0
  31. data/doc/derivative/math-doc/document/img1.png +0 -0
  32. data/doc/derivative/math-doc/document/img10.png +0 -0
  33. data/doc/derivative/math-doc/document/img11.png +0 -0
  34. data/doc/derivative/math-doc/document/img12.png +0 -0
  35. data/doc/derivative/math-doc/document/img13.png +0 -0
  36. data/doc/derivative/math-doc/document/img14.png +0 -0
  37. data/doc/derivative/math-doc/document/img15.png +0 -0
  38. data/doc/derivative/math-doc/document/img16.png +0 -0
  39. data/doc/derivative/math-doc/document/img17.png +0 -0
  40. data/doc/derivative/math-doc/document/img18.png +0 -0
  41. data/doc/derivative/math-doc/document/img19.png +0 -0
  42. data/doc/derivative/math-doc/document/img2.png +0 -0
  43. data/doc/derivative/math-doc/document/img20.png +0 -0
  44. data/doc/derivative/math-doc/document/img21.png +0 -0
  45. data/doc/derivative/math-doc/document/img22.png +0 -0
  46. data/doc/derivative/math-doc/document/img23.png +0 -0
  47. data/doc/derivative/math-doc/document/img24.png +0 -0
  48. data/doc/derivative/math-doc/document/img25.png +0 -0
  49. data/doc/derivative/math-doc/document/img26.png +0 -0
  50. data/doc/derivative/math-doc/document/img27.png +0 -0
  51. data/doc/derivative/math-doc/document/img28.png +0 -0
  52. data/doc/derivative/math-doc/document/img29.png +0 -0
  53. data/doc/derivative/math-doc/document/img3.png +0 -0
  54. data/doc/derivative/math-doc/document/img30.png +0 -0
  55. data/doc/derivative/math-doc/document/img4.png +0 -0
  56. data/doc/derivative/math-doc/document/img5.png +0 -0
  57. data/doc/derivative/math-doc/document/img6.png +0 -0
  58. data/doc/derivative/math-doc/document/img7.png +0 -0
  59. data/doc/derivative/math-doc/document/img8.png +0 -0
  60. data/doc/derivative/math-doc/document/img9.png +0 -0
  61. data/doc/derivative/math-doc/document/index.html +57 -0
  62. data/doc/derivative/math-doc/document/labels.pl +13 -0
  63. data/doc/derivative/math-doc/document/next.png +0 -0
  64. data/doc/derivative/math-doc/document/next_g.png +0 -0
  65. data/doc/derivative/math-doc/document/node1.html +238 -0
  66. data/doc/derivative/math-doc/document/node2.html +75 -0
  67. data/doc/derivative/math-doc/document/prev.png +0 -0
  68. data/doc/derivative/math-doc/document/prev_g.png +0 -0
  69. data/doc/derivative/math-doc/document/up.png +0 -0
  70. data/doc/derivative/math-doc/document/up_g.png +0 -0
  71. data/doc/derivative/math-doc/document.pdf +0 -0
  72. data/doc/derivative/math-doc/document.tex +158 -0
  73. data/doc/derivative/numru-derivative.html +129 -0
  74. data/doc/ep_flux/ep_flux.html +469 -0
  75. data/doc/ep_flux/ggraph_on_merdional_section.html +71 -0
  76. data/doc/ep_flux/index.html +31 -0
  77. data/doc/ep_flux/index.rd +24 -0
  78. data/doc/ep_flux/math-doc/document/WARNINGS +1 -0
  79. data/doc/ep_flux/math-doc/document/contents.png +0 -0
  80. data/doc/ep_flux/math-doc/document/crossref.png +0 -0
  81. data/doc/ep_flux/math-doc/document/document.css +30 -0
  82. data/doc/ep_flux/math-doc/document/document.html +101 -0
  83. data/doc/ep_flux/math-doc/document/images.aux +1 -0
  84. data/doc/ep_flux/math-doc/document/images.log +1375 -0
  85. data/doc/ep_flux/math-doc/document/images.pl +1328 -0
  86. data/doc/ep_flux/math-doc/document/images.tex +1471 -0
  87. data/doc/ep_flux/math-doc/document/img1.png +0 -0
  88. data/doc/ep_flux/math-doc/document/img10.png +0 -0
  89. data/doc/ep_flux/math-doc/document/img100.png +0 -0
  90. data/doc/ep_flux/math-doc/document/img101.png +0 -0
  91. data/doc/ep_flux/math-doc/document/img102.png +0 -0
  92. data/doc/ep_flux/math-doc/document/img103.png +0 -0
  93. data/doc/ep_flux/math-doc/document/img104.png +0 -0
  94. data/doc/ep_flux/math-doc/document/img105.png +0 -0
  95. data/doc/ep_flux/math-doc/document/img106.png +0 -0
  96. data/doc/ep_flux/math-doc/document/img107.png +0 -0
  97. data/doc/ep_flux/math-doc/document/img108.png +0 -0
  98. data/doc/ep_flux/math-doc/document/img109.png +0 -0
  99. data/doc/ep_flux/math-doc/document/img11.png +0 -0
  100. data/doc/ep_flux/math-doc/document/img110.png +0 -0
  101. data/doc/ep_flux/math-doc/document/img111.png +0 -0
  102. data/doc/ep_flux/math-doc/document/img112.png +0 -0
  103. data/doc/ep_flux/math-doc/document/img113.png +0 -0
  104. data/doc/ep_flux/math-doc/document/img114.png +0 -0
  105. data/doc/ep_flux/math-doc/document/img115.png +0 -0
  106. data/doc/ep_flux/math-doc/document/img116.png +0 -0
  107. data/doc/ep_flux/math-doc/document/img117.png +0 -0
  108. data/doc/ep_flux/math-doc/document/img118.png +0 -0
  109. data/doc/ep_flux/math-doc/document/img119.png +0 -0
  110. data/doc/ep_flux/math-doc/document/img12.png +0 -0
  111. data/doc/ep_flux/math-doc/document/img120.png +0 -0
  112. data/doc/ep_flux/math-doc/document/img121.png +0 -0
  113. data/doc/ep_flux/math-doc/document/img122.png +0 -0
  114. data/doc/ep_flux/math-doc/document/img123.png +0 -0
  115. data/doc/ep_flux/math-doc/document/img124.png +0 -0
  116. data/doc/ep_flux/math-doc/document/img125.png +0 -0
  117. data/doc/ep_flux/math-doc/document/img126.png +0 -0
  118. data/doc/ep_flux/math-doc/document/img127.png +0 -0
  119. data/doc/ep_flux/math-doc/document/img128.png +0 -0
  120. data/doc/ep_flux/math-doc/document/img129.png +0 -0
  121. data/doc/ep_flux/math-doc/document/img13.png +0 -0
  122. data/doc/ep_flux/math-doc/document/img130.png +0 -0
  123. data/doc/ep_flux/math-doc/document/img131.png +0 -0
  124. data/doc/ep_flux/math-doc/document/img132.png +0 -0
  125. data/doc/ep_flux/math-doc/document/img133.png +0 -0
  126. data/doc/ep_flux/math-doc/document/img134.png +0 -0
  127. data/doc/ep_flux/math-doc/document/img135.png +0 -0
  128. data/doc/ep_flux/math-doc/document/img136.png +0 -0
  129. data/doc/ep_flux/math-doc/document/img137.png +0 -0
  130. data/doc/ep_flux/math-doc/document/img138.png +0 -0
  131. data/doc/ep_flux/math-doc/document/img139.png +0 -0
  132. data/doc/ep_flux/math-doc/document/img14.png +0 -0
  133. data/doc/ep_flux/math-doc/document/img140.png +0 -0
  134. data/doc/ep_flux/math-doc/document/img141.png +0 -0
  135. data/doc/ep_flux/math-doc/document/img142.png +0 -0
  136. data/doc/ep_flux/math-doc/document/img143.png +0 -0
  137. data/doc/ep_flux/math-doc/document/img144.png +0 -0
  138. data/doc/ep_flux/math-doc/document/img145.png +0 -0
  139. data/doc/ep_flux/math-doc/document/img146.png +0 -0
  140. data/doc/ep_flux/math-doc/document/img147.png +0 -0
  141. data/doc/ep_flux/math-doc/document/img148.png +0 -0
  142. data/doc/ep_flux/math-doc/document/img149.png +0 -0
  143. data/doc/ep_flux/math-doc/document/img15.png +0 -0
  144. data/doc/ep_flux/math-doc/document/img150.png +0 -0
  145. data/doc/ep_flux/math-doc/document/img151.png +0 -0
  146. data/doc/ep_flux/math-doc/document/img152.png +0 -0
  147. data/doc/ep_flux/math-doc/document/img153.png +0 -0
  148. data/doc/ep_flux/math-doc/document/img154.png +0 -0
  149. data/doc/ep_flux/math-doc/document/img155.png +0 -0
  150. data/doc/ep_flux/math-doc/document/img156.png +0 -0
  151. data/doc/ep_flux/math-doc/document/img157.png +0 -0
  152. data/doc/ep_flux/math-doc/document/img158.png +0 -0
  153. data/doc/ep_flux/math-doc/document/img159.png +0 -0
  154. data/doc/ep_flux/math-doc/document/img16.png +0 -0
  155. data/doc/ep_flux/math-doc/document/img160.png +0 -0
  156. data/doc/ep_flux/math-doc/document/img161.png +0 -0
  157. data/doc/ep_flux/math-doc/document/img162.png +0 -0
  158. data/doc/ep_flux/math-doc/document/img163.png +0 -0
  159. data/doc/ep_flux/math-doc/document/img164.png +0 -0
  160. data/doc/ep_flux/math-doc/document/img165.png +0 -0
  161. data/doc/ep_flux/math-doc/document/img166.png +0 -0
  162. data/doc/ep_flux/math-doc/document/img167.png +0 -0
  163. data/doc/ep_flux/math-doc/document/img168.png +0 -0
  164. data/doc/ep_flux/math-doc/document/img169.png +0 -0
  165. data/doc/ep_flux/math-doc/document/img17.png +0 -0
  166. data/doc/ep_flux/math-doc/document/img170.png +0 -0
  167. data/doc/ep_flux/math-doc/document/img171.png +0 -0
  168. data/doc/ep_flux/math-doc/document/img172.png +0 -0
  169. data/doc/ep_flux/math-doc/document/img173.png +0 -0
  170. data/doc/ep_flux/math-doc/document/img174.png +0 -0
  171. data/doc/ep_flux/math-doc/document/img175.png +0 -0
  172. data/doc/ep_flux/math-doc/document/img176.png +0 -0
  173. data/doc/ep_flux/math-doc/document/img177.png +0 -0
  174. data/doc/ep_flux/math-doc/document/img178.png +0 -0
  175. data/doc/ep_flux/math-doc/document/img179.png +0 -0
  176. data/doc/ep_flux/math-doc/document/img18.png +0 -0
  177. data/doc/ep_flux/math-doc/document/img180.png +0 -0
  178. data/doc/ep_flux/math-doc/document/img181.png +0 -0
  179. data/doc/ep_flux/math-doc/document/img182.png +0 -0
  180. data/doc/ep_flux/math-doc/document/img183.png +0 -0
  181. data/doc/ep_flux/math-doc/document/img184.png +0 -0
  182. data/doc/ep_flux/math-doc/document/img185.png +0 -0
  183. data/doc/ep_flux/math-doc/document/img186.png +0 -0
  184. data/doc/ep_flux/math-doc/document/img187.png +0 -0
  185. data/doc/ep_flux/math-doc/document/img188.png +0 -0
  186. data/doc/ep_flux/math-doc/document/img189.png +0 -0
  187. data/doc/ep_flux/math-doc/document/img19.png +0 -0
  188. data/doc/ep_flux/math-doc/document/img190.png +0 -0
  189. data/doc/ep_flux/math-doc/document/img191.png +0 -0
  190. data/doc/ep_flux/math-doc/document/img192.png +0 -0
  191. data/doc/ep_flux/math-doc/document/img193.png +0 -0
  192. data/doc/ep_flux/math-doc/document/img194.png +0 -0
  193. data/doc/ep_flux/math-doc/document/img195.png +0 -0
  194. data/doc/ep_flux/math-doc/document/img196.png +0 -0
  195. data/doc/ep_flux/math-doc/document/img197.png +0 -0
  196. data/doc/ep_flux/math-doc/document/img198.png +0 -0
  197. data/doc/ep_flux/math-doc/document/img199.png +0 -0
  198. data/doc/ep_flux/math-doc/document/img2.png +0 -0
  199. data/doc/ep_flux/math-doc/document/img20.png +0 -0
  200. data/doc/ep_flux/math-doc/document/img200.png +0 -0
  201. data/doc/ep_flux/math-doc/document/img21.png +0 -0
  202. data/doc/ep_flux/math-doc/document/img22.png +0 -0
  203. data/doc/ep_flux/math-doc/document/img23.png +0 -0
  204. data/doc/ep_flux/math-doc/document/img24.png +0 -0
  205. data/doc/ep_flux/math-doc/document/img25.png +0 -0
  206. data/doc/ep_flux/math-doc/document/img26.png +0 -0
  207. data/doc/ep_flux/math-doc/document/img27.png +0 -0
  208. data/doc/ep_flux/math-doc/document/img28.png +0 -0
  209. data/doc/ep_flux/math-doc/document/img29.png +0 -0
  210. data/doc/ep_flux/math-doc/document/img3.png +0 -0
  211. data/doc/ep_flux/math-doc/document/img30.png +0 -0
  212. data/doc/ep_flux/math-doc/document/img31.png +0 -0
  213. data/doc/ep_flux/math-doc/document/img32.png +0 -0
  214. data/doc/ep_flux/math-doc/document/img33.png +0 -0
  215. data/doc/ep_flux/math-doc/document/img34.png +0 -0
  216. data/doc/ep_flux/math-doc/document/img35.png +0 -0
  217. data/doc/ep_flux/math-doc/document/img36.png +0 -0
  218. data/doc/ep_flux/math-doc/document/img37.png +0 -0
  219. data/doc/ep_flux/math-doc/document/img38.png +0 -0
  220. data/doc/ep_flux/math-doc/document/img39.png +0 -0
  221. data/doc/ep_flux/math-doc/document/img4.png +0 -0
  222. data/doc/ep_flux/math-doc/document/img40.png +0 -0
  223. data/doc/ep_flux/math-doc/document/img41.png +0 -0
  224. data/doc/ep_flux/math-doc/document/img42.png +0 -0
  225. data/doc/ep_flux/math-doc/document/img43.png +0 -0
  226. data/doc/ep_flux/math-doc/document/img44.png +0 -0
  227. data/doc/ep_flux/math-doc/document/img45.png +0 -0
  228. data/doc/ep_flux/math-doc/document/img46.png +0 -0
  229. data/doc/ep_flux/math-doc/document/img47.png +0 -0
  230. data/doc/ep_flux/math-doc/document/img48.png +0 -0
  231. data/doc/ep_flux/math-doc/document/img49.png +0 -0
  232. data/doc/ep_flux/math-doc/document/img5.png +0 -0
  233. data/doc/ep_flux/math-doc/document/img50.png +0 -0
  234. data/doc/ep_flux/math-doc/document/img51.png +0 -0
  235. data/doc/ep_flux/math-doc/document/img52.png +0 -0
  236. data/doc/ep_flux/math-doc/document/img53.png +0 -0
  237. data/doc/ep_flux/math-doc/document/img54.png +0 -0
  238. data/doc/ep_flux/math-doc/document/img55.png +0 -0
  239. data/doc/ep_flux/math-doc/document/img56.png +0 -0
  240. data/doc/ep_flux/math-doc/document/img57.png +0 -0
  241. data/doc/ep_flux/math-doc/document/img58.png +0 -0
  242. data/doc/ep_flux/math-doc/document/img59.png +0 -0
  243. data/doc/ep_flux/math-doc/document/img6.png +0 -0
  244. data/doc/ep_flux/math-doc/document/img60.png +0 -0
  245. data/doc/ep_flux/math-doc/document/img61.png +0 -0
  246. data/doc/ep_flux/math-doc/document/img62.png +0 -0
  247. data/doc/ep_flux/math-doc/document/img63.png +0 -0
  248. data/doc/ep_flux/math-doc/document/img64.png +0 -0
  249. data/doc/ep_flux/math-doc/document/img65.png +0 -0
  250. data/doc/ep_flux/math-doc/document/img66.png +0 -0
  251. data/doc/ep_flux/math-doc/document/img67.png +0 -0
  252. data/doc/ep_flux/math-doc/document/img68.png +0 -0
  253. data/doc/ep_flux/math-doc/document/img69.png +0 -0
  254. data/doc/ep_flux/math-doc/document/img7.png +0 -0
  255. data/doc/ep_flux/math-doc/document/img70.png +0 -0
  256. data/doc/ep_flux/math-doc/document/img71.png +0 -0
  257. data/doc/ep_flux/math-doc/document/img72.png +0 -0
  258. data/doc/ep_flux/math-doc/document/img73.png +0 -0
  259. data/doc/ep_flux/math-doc/document/img74.png +0 -0
  260. data/doc/ep_flux/math-doc/document/img75.png +0 -0
  261. data/doc/ep_flux/math-doc/document/img76.png +0 -0
  262. data/doc/ep_flux/math-doc/document/img77.png +0 -0
  263. data/doc/ep_flux/math-doc/document/img78.png +0 -0
  264. data/doc/ep_flux/math-doc/document/img79.png +0 -0
  265. data/doc/ep_flux/math-doc/document/img8.png +0 -0
  266. data/doc/ep_flux/math-doc/document/img80.png +0 -0
  267. data/doc/ep_flux/math-doc/document/img81.png +0 -0
  268. data/doc/ep_flux/math-doc/document/img82.png +0 -0
  269. data/doc/ep_flux/math-doc/document/img83.png +0 -0
  270. data/doc/ep_flux/math-doc/document/img84.png +0 -0
  271. data/doc/ep_flux/math-doc/document/img85.png +0 -0
  272. data/doc/ep_flux/math-doc/document/img86.png +0 -0
  273. data/doc/ep_flux/math-doc/document/img87.png +0 -0
  274. data/doc/ep_flux/math-doc/document/img88.png +0 -0
  275. data/doc/ep_flux/math-doc/document/img89.png +0 -0
  276. data/doc/ep_flux/math-doc/document/img9.png +0 -0
  277. data/doc/ep_flux/math-doc/document/img90.png +0 -0
  278. data/doc/ep_flux/math-doc/document/img91.png +0 -0
  279. data/doc/ep_flux/math-doc/document/img92.png +0 -0
  280. data/doc/ep_flux/math-doc/document/img93.png +0 -0
  281. data/doc/ep_flux/math-doc/document/img94.png +0 -0
  282. data/doc/ep_flux/math-doc/document/img95.png +0 -0
  283. data/doc/ep_flux/math-doc/document/img96.png +0 -0
  284. data/doc/ep_flux/math-doc/document/img97.png +0 -0
  285. data/doc/ep_flux/math-doc/document/img98.png +0 -0
  286. data/doc/ep_flux/math-doc/document/img99.png +0 -0
  287. data/doc/ep_flux/math-doc/document/index.html +101 -0
  288. data/doc/ep_flux/math-doc/document/internals.pl +258 -0
  289. data/doc/ep_flux/math-doc/document/labels.pl +265 -0
  290. data/doc/ep_flux/math-doc/document/next.png +0 -0
  291. data/doc/ep_flux/math-doc/document/next_g.png +0 -0
  292. data/doc/ep_flux/math-doc/document/node1.html +104 -0
  293. data/doc/ep_flux/math-doc/document/node10.html +164 -0
  294. data/doc/ep_flux/math-doc/document/node11.html +86 -0
  295. data/doc/ep_flux/math-doc/document/node12.html +166 -0
  296. data/doc/ep_flux/math-doc/document/node13.html +897 -0
  297. data/doc/ep_flux/math-doc/document/node14.html +1065 -0
  298. data/doc/ep_flux/math-doc/document/node15.html +72 -0
  299. data/doc/ep_flux/math-doc/document/node16.html +81 -0
  300. data/doc/ep_flux/math-doc/document/node2.html +82 -0
  301. data/doc/ep_flux/math-doc/document/node3.html +91 -0
  302. data/doc/ep_flux/math-doc/document/node4.html +149 -0
  303. data/doc/ep_flux/math-doc/document/node5.html +330 -0
  304. data/doc/ep_flux/math-doc/document/node6.html +99 -0
  305. data/doc/ep_flux/math-doc/document/node7.html +98 -0
  306. data/doc/ep_flux/math-doc/document/node8.html +83 -0
  307. data/doc/ep_flux/math-doc/document/node9.html +140 -0
  308. data/doc/ep_flux/math-doc/document/prev.png +0 -0
  309. data/doc/ep_flux/math-doc/document/prev_g.png +0 -0
  310. data/doc/ep_flux/math-doc/document/up.png +0 -0
  311. data/doc/ep_flux/math-doc/document/up_g.png +0 -0
  312. data/doc/ep_flux/math-doc/document.pdf +0 -0
  313. data/doc/ep_flux/math-doc/document.tex +2018 -0
  314. data/doc/gdir.html +412 -0
  315. data/doc/gdir_client.html +16 -0
  316. data/doc/gdir_connect_ftp-like.html +61 -0
  317. data/doc/gdir_server.html +33 -0
  318. data/doc/ggraph.html +1332 -0
  319. data/doc/gpcat.html +27 -0
  320. data/doc/gpcut.html +27 -0
  321. data/doc/gphys.html +501 -0
  322. data/doc/gphys_fft.html +183 -0
  323. data/doc/gphys_grads_io.html +69 -0
  324. data/doc/gphys_grib_io.html +82 -0
  325. data/doc/gphys_io.html +96 -0
  326. data/doc/gphys_io_common.html +18 -0
  327. data/doc/gphys_netcdf_io.html +283 -0
  328. data/doc/gplist.html +23 -0
  329. data/doc/gpmath.html +34 -0
  330. data/doc/gpmaxmin.html +30 -0
  331. data/doc/gpprint.html +32 -0
  332. data/doc/gpview.html +187 -0
  333. data/doc/grads2nc_with_gphys.html +23 -0
  334. data/doc/grads_gridded.html +307 -0
  335. data/doc/grib.html +101 -0
  336. data/doc/grid.html +240 -0
  337. data/doc/index.html +125 -0
  338. data/doc/index.rd +121 -0
  339. data/doc/netcdf_convention.html +136 -0
  340. data/doc/unumeric.html +127 -0
  341. data/doc/update +64 -0
  342. data/doc/varray.html +293 -0
  343. data/doc/varraycomposite.html +67 -0
  344. data/lib/numru/dclext_datetime_ax.rb +220 -0
  345. data/lib/numru/derivative.rb +298 -0
  346. data/lib/numru/gdir.rb +1038 -0
  347. data/lib/numru/gdir_connect_ftp-like.rb +149 -0
  348. data/lib/numru/ggraph.rb +4604 -0
  349. data/lib/numru/ggraph_on_merdional_section.rb +178 -0
  350. data/lib/numru/gphys/attribute.rb +130 -0
  351. data/lib/numru/gphys/attributenetcdf.rb +80 -0
  352. data/lib/numru/gphys/axis.rb +958 -0
  353. data/lib/numru/gphys/coordmapping.rb +286 -0
  354. data/lib/numru/gphys/coordtransform.rb +209 -0
  355. data/lib/numru/gphys/derivative.rb +297 -0
  356. data/lib/numru/gphys/ep_flux.rb +868 -0
  357. data/lib/numru/gphys/gpcommon.rb +52 -0
  358. data/lib/numru/gphys/gphys.rb +1121 -0
  359. data/lib/numru/gphys/gphys_fft.rb +538 -0
  360. data/lib/numru/gphys/gphys_grads_io.rb +212 -0
  361. data/lib/numru/gphys/gphys_grib_io.rb +214 -0
  362. data/lib/numru/gphys/gphys_io.rb +363 -0
  363. data/lib/numru/gphys/gphys_io_common.rb +126 -0
  364. data/lib/numru/gphys/gphys_netcdf_io.rb +767 -0
  365. data/lib/numru/gphys/gphys_nusdas_io.rb +78 -0
  366. data/lib/numru/gphys/grads_gridded.rb +1539 -0
  367. data/lib/numru/gphys/grib.rb +2005 -0
  368. data/lib/numru/gphys/grib_params.rb +1270 -0
  369. data/lib/numru/gphys/grid.rb +602 -0
  370. data/lib/numru/gphys/netcdf_convention.rb +366 -0
  371. data/lib/numru/gphys/subsetmapping.rb +332 -0
  372. data/lib/numru/gphys/unumeric.rb +452 -0
  373. data/lib/numru/gphys/varray.rb +1079 -0
  374. data/lib/numru/gphys/varraycomposite.rb +415 -0
  375. data/lib/numru/gphys/varraygrads.rb +225 -0
  376. data/lib/numru/gphys/varraygrib.rb +177 -0
  377. data/lib/numru/gphys/varraynetcdf.rb +348 -0
  378. data/lib/numru/gphys/varraynusdas.rb +59 -0
  379. data/lib/numru/gphys.rb +7 -0
  380. data/lib/numru/htdir.rb +170 -0
  381. data/lib/numru/vizshot.rb +697 -0
  382. data/sample/cira86_to_nc.rb +122 -0
  383. data/sample/druby_cli1.rb +21 -0
  384. data/sample/druby_cli2.rb +34 -0
  385. data/sample/druby_serv1.rb +30 -0
  386. data/sample/druby_serv2.rb +64 -0
  387. data/sample/ep_flux/demo_NCEP_1.rb +48 -0
  388. data/sample/ep_flux/demo_NCEP_2.rb +57 -0
  389. data/sample/ep_flux/demo_NCEP_3.rb +81 -0
  390. data/sample/ggraph_latlon_labelling_dr002690.rb +159 -0
  391. data/sample/ggraph_mapfit-axes_dr002687.rb +131 -0
  392. data/sample/map_projection.rb +121 -0
  393. data/test/test_ep_flux.rb +533 -0
  394. data/testdata/T.jan.ctl +12 -0
  395. data/testdata/T.jan.dat +0 -0
  396. data/testdata/T.jan.grib +0 -0
  397. data/testdata/T.jan.nc +0 -0
  398. data/testdata/T.jan.packed.withmiss.nc +0 -0
  399. data/testdata/UV.jan.nc +0 -0
  400. data/testdata/cira86.dat +1332 -0
  401. metadata +527 -0
data/doc/grid.html ADDED
@@ -0,0 +1,240 @@
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>../lib/numru/gphys/grid.rb</title>
8
+ </head>
9
+ <body>
10
+ <h1><a name="label:0" id="label:0">class NumRU::Grid</a></h1><!-- RDLabel: "class NumRU::Grid" -->
11
+ <p>A class to handle discretized grids of physical quantities.</p>
12
+ <h2><a name="label:1" id="label:1">Class Methods</a></h2><!-- RDLabel: "Class Methods" -->
13
+ <dl>
14
+ <dt><h4><a name="label:2" id="label:2"><code>Grid.new( *<var>axes</var> )</code></a></h4></dt><!-- RDLabel: "Grid.new" -->
15
+ <dd>
16
+ <p>Constructor.</p>
17
+ <p>RETURN VALUE</p>
18
+ <ul>
19
+ <li>a Grid</li>
20
+ </ul></dd>
21
+ </dl>
22
+ <h2><a name="label:3" id="label:3">Instance Methods</a></h2><!-- RDLabel: "Instance Methods" -->
23
+ <dl>
24
+ <dt><h4><a name="label:4" id="label:4"><code>axnames</code></a></h4></dt><!-- RDLabel: "axnames" -->
25
+ <dd>
26
+ <p>Returns the names of the axes</p>
27
+ <p>RETURN VALUE</p>
28
+ <ul>
29
+ <li>an Array of String</li>
30
+ </ul></dd>
31
+ <dt><h4><a name="label:5" id="label:5"><code>lost_axes</code></a></h4></dt><!-- RDLabel: "lost_axes" -->
32
+ <dd>
33
+ <p>Returns info on axes eliminated during operations.</p>
34
+ <p>Useful for annotation in plots, for example (See the code of GGraph
35
+ for an application).</p>
36
+ <p>RETURN VALUE</p>
37
+ <ul>
38
+ <li>an Array of String</li>
39
+ </ul></dd>
40
+ <dt><h4><a name="label:6" id="label:6"><code>axis(<var>dim_or_dimname</var>)</code></a></h4></dt><!-- RDLabel: "axis" -->
41
+ <dd>
42
+ <p>Returns an Axis</p>
43
+ <p>ARGUMENTS</p>
44
+ <ul>
45
+ <li>dim_or_dimname (String or Integer) to specify an axis.</li>
46
+ </ul>
47
+ <p>RETURN VALUE</p>
48
+ <ul>
49
+ <li>an Axis</li>
50
+ </ul></dd>
51
+ <dt><h4><a name="label:7" id="label:7"><code>dim_index(<var>dimname</var>)</code></a></h4></dt><!-- RDLabel: "dim_index" -->
52
+ <dd>
53
+ <p>Returns the integer id (count from zero) of the dimension</p>
54
+ <p>ARGUMENT</p>
55
+ <ul>
56
+ <li>dimname (String or Integer) : this method is trivial if is is an integer</li>
57
+ </ul>
58
+ <p>RETURN VALUE</p>
59
+ <ul>
60
+ <li>an Integer</li>
61
+ </ul></dd>
62
+ <dt><h4><a name="label:8" id="label:8"><code>set_axis(<var>dim_or_dimname</var>,<var>ax</var>)</code></a></h4></dt><!-- RDLabel: "set_axis" -->
63
+ <dd>
64
+ <p>Sets an axis.</p>
65
+ <p>ARGUMENTS</p>
66
+ <ul>
67
+ <li>dim_or_dimname (String or Integer) to specify an axis.</li>
68
+ <li>ax (Axis) the axis</li>
69
+ </ul>
70
+ <p>RETURN VALUE</p>
71
+ <ul>
72
+ <li>self</li>
73
+ </ul></dd>
74
+ <dt><h4><a name="label:9" id="label:9"><code>set_lost_axes( <var>lost</var> )</code></a></h4></dt><!-- RDLabel: "set_lost_axes" -->
75
+ <dd>
76
+ <p>Sets info on axes eliminated.</p>
77
+ <p>RETURN VALUE</p>
78
+ <ul>
79
+ <li>self</li>
80
+ </ul></dd>
81
+ <dt><h4><a name="label:10" id="label:10"><code>add_lost_axes( <var>lost</var> )</code></a></h4></dt><!-- RDLabel: "add_lost_axes" -->
82
+ <dd>
83
+ <p>Adds info on axes eliminated to existing ones.</p>
84
+ <p>RETURN VALUE</p>
85
+ <ul>
86
+ <li>self</li>
87
+ </ul></dd>
88
+ <dt><h4><a name="label:11" id="label:11"><code>delete_axes( <var>at</var>, <var>deleted_by</var>=<var>nil</var> )</code></a></h4></dt><!-- RDLabel: "delete_axes" -->
89
+ <dd>
90
+ <p>Delete an axis.</p>
91
+ <p>ARGUMENTS</p>
92
+ <ul>
93
+ <li>at (String or Integer) to specify an axis.</li>
94
+ <li>deleted_by (String or nil) if non-nil, it is written in
95
+ the internal lost-axis info. Best if you put the name of the
96
+ method, in which this method is called.</li>
97
+ </ul>
98
+ <p>RETURN VALUE</p>
99
+ <ul>
100
+ <li>a Grid</li>
101
+ </ul></dd>
102
+ <dt><h4><a name="label:12" id="label:12"><code>copy</code></a></h4></dt><!-- RDLabel: "copy" -->
103
+ <dd>
104
+ <p>Makes a deep clone onto memory.</p>
105
+ <p>RETURN VALUE</p>
106
+ <ul>
107
+ <li>a Grid</li>
108
+ </ul></dd>
109
+ <dt><h4><a name="label:13" id="label:13"><code>merge(<var>other</var>)</code></a></h4></dt><!-- RDLabel: "merge" -->
110
+ <dd>
111
+ <p>merge two grids by basically using copies of self's axes but
112
+ using the other's if the length in self is 1 and
113
+ the length in the other is longer</p>
114
+ <p>ARGUMENTS</p>
115
+ <ul>
116
+ <li>other (Grid)</li>
117
+ </ul>
118
+ <p>RETURN VALUE</p>
119
+ <ul>
120
+ <li>a Grid</li>
121
+ </ul></dd>
122
+ <dt><h4><a name="label:14" id="label:14"><code>shape</code></a></h4></dt><!-- RDLabel: "shape" -->
123
+ <dd>
124
+ <p>Returns the shape of self.</p>
125
+ <p>RETURN VALUE</p>
126
+ <ul>
127
+ <li>an Array of Integer</li>
128
+ </ul></dd>
129
+ <dt><h4><a name="label:15" id="label:15"><code>[*<var>slicer</var>]</code></a></h4></dt><!-- RDLabel: "[]" -->
130
+ <dd>
131
+ <p>Returns a subset.</p>
132
+ <p>ARGUMENTS</p>
133
+ <ul>
134
+ <li>Same as those for NArray#[], NetCDFVar#[], etc.</li>
135
+ </ul>
136
+ <p>RETURN VALUE</p>
137
+ <ul>
138
+ <li>a Grid</li>
139
+ </ul></dd>
140
+ <dt><h4><a name="label:16" id="label:16"><code>cut(*<var>args</var>)</code></a></h4></dt><!-- RDLabel: "cut" -->
141
+ <dd>
142
+ <p>Similar to <a href="#label:15">[]</a>, but the subset is specified by physical coordinate.</p>
143
+ <p>ARGUMENTS</p>
144
+ <ul>
145
+ <li>pattern 1: similar to those for <a href="#label:15">[]</a>, where the first
146
+ argument specifies a subset for the first dimension.</li>
147
+ <li>pattern 2: by a Hash, in which keys are axis names.</li>
148
+ </ul>
149
+ <p>EXAMPLES</p>
150
+ <ul>
151
+ <li><p>Pattern 1</p>
152
+ <pre>gphys.cut(135.5,0..20.5,false)</pre></li>
153
+ <li><p>Pattern 2</p>
154
+ <pre>gphys.cut({'lon'=&gt;135.5,'lat'=&gt;0..20})</pre></li>
155
+ </ul>
156
+ <p>RETURN VALUE</p>
157
+ <ul>
158
+ <li>an Array : [a Grid, slicer], where slicer is an array
159
+ to be used to make a subset of an corresponding varray
160
+ (to be used in GPhys#cut).</li>
161
+ </ul></dd>
162
+ <dt><h4><a name="label:17" id="label:17"><code>cut_rank_conserving(*<var>args</var>)</code></a></h4></dt><!-- RDLabel: "cut_rank_conserving" -->
163
+ <dd>
164
+ <p>Similar to <a href="#label:16">cut</a>, but the rank is conserved by not eliminating
165
+ any dimension (whose length could be one).</p></dd>
166
+ <dt><h4><a name="label:18" id="label:18"><code>exclude(<var>dim_or_dimname</var>)</code></a></h4></dt><!-- RDLabel: "exclude" -->
167
+ <dd>
168
+ <p>Returns a Grid in which an axis is eliminated from self.</p>
169
+ <p>ARGUMENTS</p>
170
+ <ul>
171
+ <li>dim_or_dimname (String or Integer) to specify an axis.</li>
172
+ </ul>
173
+ <p>RETURN VALUE</p>
174
+ <ul>
175
+ <li>a Grid</li>
176
+ </ul></dd>
177
+ <dt><h4><a name="label:19" id="label:19"><code>change_axis(<var>dim</var>, <var>axis</var>)</code></a></h4></dt><!-- RDLabel: "change_axis" -->
178
+ <dd>
179
+ <p>Replaces an axis. (Returns a new object)</p>
180
+ <p>ARGUMENTS</p>
181
+ <ul>
182
+ <li>dim_or_dimname (String or Integer) to specify an axis.</li>
183
+ <li>axis (Axis)</li>
184
+ </ul>
185
+ <p>RETURN VALUE</p>
186
+ <ul>
187
+ <li>a Grid</li>
188
+ </ul></dd>
189
+ <dt><h4><a name="label:20" id="label:20"><code>change_axis!(<var>dim_or_dimname</var>, <var>axis</var>)</code></a></h4></dt><!-- RDLabel: "change_axis!" -->
190
+ <dd>
191
+ <p>Replaces an axis. (overwrites self)</p>
192
+ <p>ARGUMENTS</p>
193
+ <ul>
194
+ <li>dim_or_dimname (String or Integer) to specify an axis.</li>
195
+ <li>axis (Axis)</li>
196
+ </ul>
197
+ <p>RETURN VALUE</p>
198
+ <ul>
199
+ <li>self</li>
200
+ </ul></dd>
201
+ <dt><h4><a name="label:21" id="label:21"><code>insert_axis(<var>dim_or_dimname</var>, <var>axis</var>)</code></a></h4></dt><!-- RDLabel: "insert_axis" -->
202
+ <dd>
203
+ <p>Inserts an axis. (Returns a new object)</p>
204
+ <p>ARGUMENTS</p>
205
+ <ul>
206
+ <li>dim_or_dimname (String or Integer) to specify an axis.</li>
207
+ <li>axis (Axis)</li>
208
+ </ul>
209
+ <p>RETURN VALUE</p>
210
+ <ul>
211
+ <li>a Grid</li>
212
+ </ul></dd>
213
+ <dt><h4><a name="label:22" id="label:22"><code>insert_axis!(<var>dim_or_dimname</var>, <var>axis</var>)</code></a></h4></dt><!-- RDLabel: "insert_axis!" -->
214
+ <dd>
215
+ <p>Inserts an axis. (overwrites self)</p>
216
+ <p>ARGUMENTS</p>
217
+ <ul>
218
+ <li>dim_or_dimname (String or Integer) to specify an axis.</li>
219
+ <li>axis (Axis)</li>
220
+ </ul>
221
+ <p>RETURN VALUE</p>
222
+ <ul>
223
+ <li>self</li>
224
+ </ul></dd>
225
+ <dt><h4><a name="label:23" id="label:23"><code>transpose( *<var>dims</var> )</code></a></h4></dt><!-- RDLabel: "transpose" -->
226
+ <dd>
227
+ <p>Transpose.</p>
228
+ <p>ARGUMENTS</p>
229
+ <ul>
230
+ <li>dims (integers) : for example, [1,0] to transpose a 2D object.
231
+ For 3D objects, [1,0,2], [2,1,0], etc.etc.</li>
232
+ </ul>
233
+ <p>RETURN VALUE</p>
234
+ <ul>
235
+ <li>a Grid</li>
236
+ </ul></dd>
237
+ </dl>
238
+
239
+ </body>
240
+ </html>
data/doc/index.html ADDED
@@ -0,0 +1,125 @@
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>index.rd</title>
8
+ </head>
9
+ <body>
10
+ <h1><a name="label:0" id="label:0">Reference manuals of the GPhys library</a></h1><!-- RDLabel: "Reference manuals of the GPhys library" -->
11
+ <h2><a name="label:1" id="label:1">Index</a></h2><!-- RDLabel: "Index" -->
12
+ <ul>
13
+ <li><a href="#label:2">Commands to be installed</a></li>
14
+ <li><a href="#label:3">GPhys and its components</a></li>
15
+ <li><a href="#label:8">Applications distributed with GPhys</a></li>
16
+ </ul>
17
+ <p>---------------------------------------------------------------------</p>
18
+ <h2><a name="label:2" id="label:2">Commands to be installed</a></h2><!-- RDLabel: "Commands to be installed" -->
19
+ <ul>
20
+ <li><a href="grads2nc_with_gphys.html">grads2nc_with_gphys</a> file converter
21
+ from the GrADS format to NetCDF</li>
22
+ <li><a href="gdir_server.html">gdir_server</a> A dRuby server with a GDir
23
+ at the front end.</li>
24
+ <li><a href="gdir_client.html">gdir_client</a> : A client of gdir_server
25
+ using irb with <a href="gdir_connect_ftp-like.html">gdir_connect_ftp-like</a></li>
26
+ <li><a href="gpcat.html">gpcat</a> Read a variable in multiple NetCDF files, concatenate and write them to a single netcdf file. </li>
27
+ <li><a href="gpcut.html">gpcut</a> extract, slicing and thinning a GPhys variable</li>
28
+ <li><a href="gplist.html">gplist</a> print out variables and their dimnsions</li>
29
+ <li><a href="gpmath.html">gpmath</a> operate a math function to a GPhys variable</li>
30
+ <li><a href="gpmaxmin.html">gpmaxmin</a> prints maximum and minimum values of a GPhys variable</li>
31
+ <li><a href="gpprint.html">gpprint</a> prints the values of a GPhys variable </li>
32
+ <li><a href="gpview.html">gpview</a> visualizer (2D, 1D)</li>
33
+ </ul>
34
+ <h2><a name="label:3" id="label:3">GPhys and its components</a></h2><!-- RDLabel: "GPhys and its components" -->
35
+ <h4><a name="label:4" id="label:4">GPhys Core Part</a></h4><!-- RDLabel: "GPhys Core Part" -->
36
+ <p>A GPhys object has the following structure:</p>
37
+ <pre>-
38
+ has 1
39
+ a GPhys --------- array-like data (VArray)
40
+ | has 1
41
+ --------- grid (Grid)
42
+ | has rank
43
+ ------------ axis (Axis)
44
+ | has 1
45
+ -------- 1D position data (VArray)
46
+ | has 0..
47
+ -------- ancillary data (VArray)</pre>
48
+ <p>That is, a GPhys object consists of data (whose class is VArray) and
49
+ grid (whose class is Grid). The latter consists of axes (whose class is
50
+ Axis), which consist of VArray objects (such as ones that have
51
+ 1-dimensional grid-point position data). To use GPhys, it is
52
+ useful to know these four classes.</p>
53
+ <ul>
54
+ <li><a href="varray.html">class NumRu::VArray</a> :
55
+ Virtual Array class, which holds multi-dimensional data of various
56
+ format and media (on memory or in file).
57
+ <ul>
58
+ <li><a href="varraycomposite.html">class NumRu::VArrayComposite</a> :
59
+ Subclass of VArray to bundle multiple VArrays by "tiling".</li>
60
+ </ul></li>
61
+ <li><a href="axis.html">class NumRu::Axis</a> : A class to represent a discretized physical coordinate.</li>
62
+ <li><a href="grid.html">class NumRu::Grid</a> : A class to represent discretized grids of physical quantities.</li>
63
+ <li><a href="gphys.html">class NumRu::GPhys</a> : Core part of the GPhys class</li>
64
+ </ul>
65
+ <h4><a name="label:5" id="label:5">Miscellaneous Dependent Libraries Distributed with GPhys</a></h4><!-- RDLabel: "Miscellaneous Dependent Libraries Distributed with GPhys" -->
66
+ <ul>
67
+ <li><a href="unumeric.html">class NumRu::UNumeric</a> :
68
+ Numeric with units (combination of Numeric and Units)</li>
69
+ <li><a href="derivative/index.html">module NumRu::Derivative</a> :
70
+ Module functions to make differentiation using NArray.</li>
71
+ <li><!-- Reference, RDLabel "class NumRu::SubsetMapping" doesn't exist --><em class="label-not-found">class NumRu::SubsetMapping</em><!-- Reference end --> : Sorry, yet to be written.</li>
72
+ <li><a href="attribute.html">class NumRu::Attribute</a> : A Hash class compatible with NetCDF attributes.</li>
73
+ <li><a href="coordmapping.html">class NumRu::CoordMapping</a> :
74
+ <ul>
75
+ <li><a href="coordmapping.html">class NumRu::LinearCoordMapping</a> :</li>
76
+ </ul></li>
77
+ <li><a href="grads_gridded.html">class NumRu::GrADS_Gridded</a> :
78
+ Class to handle GrADS data.</li>
79
+ <li><a href="grib.html">class NumRu::Grib</a> :
80
+ a class for Grib datasets.</li>
81
+ <li><a href="htdir.html">class NumRu::GDir::HtDir</a> :
82
+ A class to treat the URL of a "directory" as a directory (used in
83
+ GDir).</li>
84
+ </ul>
85
+ <h4><a name="label:6" id="label:6">External File Handlers of GPhys</a></h4><!-- RDLabel: "External File Handlers of GPhys" -->
86
+ <ul>
87
+ <li><a href="gphys_io.html">module NumRu::GPhys::IO</a> :
88
+ GPhys file IO module for all file types.</li>
89
+ <li><a href="gphys_netcdf_io.html">module NumRu::GPhys::NetCDF_IO</a> :
90
+ NetCDF data input/output.</li>
91
+ <li><a href="netcdf_convention.html">module NumRu::NetCDF_Conventions,
92
+ module NumRu::NetCDF_Convention_Users_Guide etc.
93
+ </a> :
94
+ NetCDF convention handler.</li>
95
+ <li><a href="gphys_grads_io.html">module NumRu::GPhys::GrADS_IO</a> :
96
+ GrADS data input/output.</li>
97
+ <li><a href="gphys_grib_io.html">module NumRu::GPhys::Grib_IO</a> :
98
+ Grib data IO.</li>
99
+ </ul>
100
+ <h4><a name="label:7" id="label:7">Miscellaneous Extensions of GPhys</a></h4><!-- RDLabel: "Miscellaneous Extensions of GPhys" -->
101
+ <ul>
102
+ <li><a href="coordtransform.html">coordinate transformation</a> :
103
+ Extension of the NumRu::GPhys class for coordinate transformation.</li>
104
+ <li><a href="gphys_fft.html">FFT</a> :
105
+ Extension of the NumRu::GPhys class
106
+ for the Fast Fourier Transformation and its applications</li>
107
+ <li><a href="derivative/index.html">module NumRu::GPhys::Derivative</a> :
108
+ Module functions to make differentiation of GPhys objects.</li>
109
+ <li><a href="ep_flux/index.html">module NumRu::GPhys::EP_Flux</a> :
110
+ Module functions to derive the Eliassen-Palm flux and related
111
+ quantities (such as the residual circulation and its mass stream function).</li>
112
+ </ul>
113
+ <h2><a name="label:8" id="label:8">Applications distributed with GPhys</a></h2><!-- RDLabel: "Applications distributed with GPhys" -->
114
+ <p>To use the following, you have to <var>require</var> explicitly. </p>
115
+ <ul>
116
+ <li><a href="ggraph.html">module NumRu::GGraph</a> :
117
+ A graphic library using GPhys.</li>
118
+ <li><a href="gdir.html">class NumRu::GDir</a> :
119
+ A class to represent diretories and data files for GPhys.</li>
120
+ <li><a href="gdir_connect_ftp-like.html">irb start-up program gdir_connect_ftp-like</a> A library to be required
121
+ to interactively connect with a <a href="gdir_server.html">gdir_server</a>.</li>
122
+ </ul>
123
+
124
+ </body>
125
+ </html>
data/doc/index.rd ADDED
@@ -0,0 +1,121 @@
1
+ =begin
2
+
3
+ =Reference manuals of the GPhys library
4
+
5
+ ==Index
6
+ * ((<Commands to be installed>))
7
+ * ((<GPhys and its components>))
8
+ * ((<Applications distributed with GPhys>))
9
+ ---------------------------------------------------------------------
10
+
11
+ ==Commands to be installed
12
+
13
+ * ((<grads2nc_with_gphys|URL:grads2nc_with_gphys.html>)) file converter
14
+ from the GrADS format to NetCDF
15
+ * ((<gdir_server|URL:gdir_server.html>)) A dRuby server with a GDir
16
+ at the front end.
17
+ * ((<gdir_client|URL:gdir_client.html>)) : A client of gdir_server
18
+ using irb with ((<gdir_connect_ftp-like|URL:gdir_connect_ftp-like.html>))
19
+
20
+ * ((<gpcat|URL:gpcat.html>)) Read a variable in multiple NetCDF files, concatenate and write them to a single netcdf file.
21
+ * ((<gpcut|URL:gpcut.html>)) extract, slicing and thinning a GPhys variable
22
+ * ((<gplist|URL:gplist.html>)) print out variables and their dimnsions
23
+ * ((<gpmath|URL:gpmath.html>)) operate a math function to a GPhys variable
24
+ * ((<gpmaxmin|URL:gpmaxmin.html>)) prints maximum and minimum values of a GPhys variable
25
+ * ((<gpprint|URL:gpprint.html>)) prints the values of a GPhys variable
26
+ * ((<gpview|URL:gpview.html>)) visualizer (2D, 1D)
27
+
28
+ ==GPhys and its components
29
+
30
+ ====GPhys Core Part
31
+
32
+ A GPhys object has the following structure:
33
+
34
+ -
35
+ has 1
36
+ a GPhys --------- array-like data (VArray)
37
+ | has 1
38
+ --------- grid (Grid)
39
+ | has rank
40
+ ------------ axis (Axis)
41
+ | has 1
42
+ -------- 1D position data (VArray)
43
+ | has 0..
44
+ -------- ancillary data (VArray)
45
+
46
+ That is, a GPhys object consists of data (whose class is VArray) and
47
+ grid (whose class is Grid). The latter consists of axes (whose class is
48
+ Axis), which consist of VArray objects (such as ones that have
49
+ 1-dimensional grid-point position data). To use GPhys, it is
50
+ useful to know these four classes.
51
+
52
+ * ((<class NumRu::VArray|URL:varray.html>)) :
53
+ Virtual Array class, which holds multi-dimensional data of various
54
+ format and media (on memory or in file).
55
+
56
+ * ((<class NumRu::VArrayComposite|URL:varraycomposite.html>)) :
57
+ Subclass of VArray to bundle multiple VArrays by "tiling".
58
+
59
+ * ((<class NumRu::Axis|URL:axis.html>)) : A class to represent a discretized physical coordinate.
60
+ * ((<class NumRu::Grid|URL:grid.html>)) : A class to represent discretized grids of physical quantities.
61
+ * ((<class NumRu::GPhys|URL:gphys.html>)) : Core part of the GPhys class
62
+
63
+ ====Miscellaneous Dependent Libraries Distributed with GPhys
64
+
65
+ * ((<class NumRu::UNumeric|URL:unumeric.html>)) :
66
+ Numeric with units (combination of Numeric and Units)
67
+ * ((<module NumRu::Derivative|URL:derivative/index.html>)) :
68
+ Module functions to make differentiation using NArray.
69
+ * ((<class NumRu::SubsetMapping>)) : Sorry, yet to be written.
70
+ * ((<class NumRu::Attribute|URL:attribute.html>)) : A Hash class compatible with NetCDF attributes.
71
+ * ((<class NumRu::CoordMapping|URL:coordmapping.html>)) :
72
+ * ((<class NumRu::LinearCoordMapping|URL:coordmapping.html>)) :
73
+ * ((<class NumRu::GrADS_Gridded|URL:grads_gridded.html>)) :
74
+ Class to handle GrADS data.
75
+ * ((<class NumRu::Grib|URL:grib.html>)) :
76
+ a class for Grib datasets.
77
+ * ((<class NumRu::GDir::HtDir|URL:htdir.html>)) :
78
+ A class to treat the URL of a "directory" as a directory (used in
79
+ GDir).
80
+
81
+ ====External File Handlers of GPhys
82
+
83
+ * ((<module NumRu::GPhys::IO|URL:gphys_io.html>)) :
84
+ GPhys file IO module for all file types.
85
+ * ((<module NumRu::GPhys::NetCDF_IO|URL:gphys_netcdf_io.html>)) :
86
+ NetCDF data input/output.
87
+ * ((<module NumRu::NetCDF_Conventions,
88
+ module NumRu::NetCDF_Convention_Users_Guide etc.
89
+ |URL:netcdf_convention.html>)) :
90
+ NetCDF convention handler.
91
+ * ((<module NumRu::GPhys::GrADS_IO|URL:gphys_grads_io.html>)) :
92
+ GrADS data input/output.
93
+ * ((<module NumRu::GPhys::Grib_IO|URL:gphys_grib_io.html>)) :
94
+ Grib data IO.
95
+
96
+ ====Miscellaneous Extensions of GPhys
97
+
98
+ * ((<coordinate transformation|URL:coordtransform.html>)) :
99
+ Extension of the NumRu::GPhys class for coordinate transformation.
100
+ * ((<FFT|URL:gphys_fft.html>)) :
101
+ Extension of the NumRu::GPhys class
102
+ for the Fast Fourier Transformation and its applications
103
+ * ((<module NumRu::GPhys::Derivative|URL:derivative/index.html>)) :
104
+ Module functions to make differentiation of GPhys objects.
105
+ * ((<module NumRu::GPhys::EP_Flux|URL:ep_flux/index.html>)) :
106
+ Module functions to derive the Eliassen-Palm flux and related
107
+ quantities (such as the residual circulation and its mass stream function).
108
+
109
+ ==Applications distributed with GPhys
110
+
111
+ To use the following, you have to ((|require|)) explicitly.
112
+
113
+ * ((<module NumRu::GGraph|URL:ggraph.html>)) :
114
+ A graphic library using GPhys.
115
+
116
+ * ((<class NumRu::GDir|URL:gdir.html>)) :
117
+ A class to represent diretories and data files for GPhys.
118
+
119
+ * ((<irb start-up program gdir_connect_ftp-like|URL:gdir_connect_ftp-like.html>)) A library to be required
120
+ to interactively connect with a ((<gdir_server|URL:gdir_server.html>)).
121
+ =end
@@ -0,0 +1,136 @@
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>../lib/numru/gphys/netcdf_convention.rb</title>
8
+ </head>
9
+ <body>
10
+ <h2><a name="label:0" id="label:0">INDEX</a></h2><!-- RDLabel: "INDEX" -->
11
+ <ul>
12
+ <li><a href="#label:1">module NumRu::NetCDF_Conventions</a></li>
13
+ <li><a href="#label:6">module NumRu::NetCDF_Convention_Users_Guide</a>
14
+ <ul>
15
+ <li><a href="#label:15">module NumRu::NetCDF_Convention_Users_Guide::Attribute_Mixin</a></li>
16
+ <li><a href="#label:18">module NumRu::NetCDF_Convention_Users_Guide::VArray_Mixin</a></li>
17
+ </ul></li>
18
+ <li><a href="#label:20">module NumRu::NetCDF_Convention_Wind_Profiler</a></li>
19
+ </ul>
20
+ <h1><a name="label:1" id="label:1">module NumRu::NetCDF_Conventions</a></h1><!-- RDLabel: "module NumRu::NetCDF_Conventions" -->
21
+ <p>NetCDF_Conventions is the general handler of NetCDF conventions for the
22
+ GPhys library.</p>
23
+ <h2><a name="label:2" id="label:2">Module Functions</a></h2><!-- RDLabel: "Module Functions" -->
24
+ <dl>
25
+ <dt><h4><a name="label:3" id="label:3"><code>find( <var>netcdf</var> )</code></a></h4></dt><!-- RDLabel: "find" -->
26
+ <dd>
27
+ <p>Figures out what NetCDF convention a netcdf file is following.</p>
28
+ <p>ARGUMENTS</p>
29
+ <ul>
30
+ <li><var>netcdf</var> (NetCDF): the file</li>
31
+ </ul>
32
+ <p>RETURN VALUE</p>
33
+ <ul>
34
+ <li>a Module (NumRu::NetCDF_Convention_Users_Guide etc.)</li>
35
+ </ul>
36
+ <p>REMARK</p>
37
+ <ul>
38
+ <li>The convention is figured out from the 'Conventions' global attribute.
39
+ You can instead fix the convention by using <a href="#label:4">fix_to</a>.</li>
40
+ </ul></dd>
41
+ <dt><h4><a name="label:4" id="label:4"><code>fix_to( <var>convention</var> )</code></a></h4></dt><!-- RDLabel: "fix_to" -->
42
+ <dd>
43
+ <p>Fix the convention to be returned by <a href="#label:3">find</a> regardless the value
44
+ of the 'Conventions' attribute.</p>
45
+ <p>ARGUMENTS</p>
46
+ <ul>
47
+ <li><var>convention</var> (Module): NumRu::NetCDF_Convention_Users_Guide etc.</li>
48
+ </ul>
49
+ <p>RETURN VALUE</p>
50
+ <ul>
51
+ <li>convention</li>
52
+ </ul></dd>
53
+ <dt><h4><a name="label:5" id="label:5"><code>add_history(<var>netcdf</var>, <var>str</var>=<var>nil</var>)</code></a></h4></dt><!-- RDLabel: "add_history" -->
54
+ <dd>
55
+ <p>Adds a line to the 'history' global convention of <var>netcdf</var>.
56
+ The line consists of date, time, user name, and <var>str</var>
57
+ if present (e.g., '2004-03-02 17:52:25 JST horinout&gt; '+str).</p>
58
+ <p>ARGUMENTS</p>
59
+ <ul>
60
+ <li><var>netcdf</var> (NetCDF): the file in which the history is updated</li>
61
+ <li><var>str</var> (nil or String): if present, added to the end of the line.</li>
62
+ </ul></dd>
63
+ </dl>
64
+ <h1><a name="label:6" id="label:6">module NumRu::NetCDF_Convention_Users_Guide</a></h1><!-- RDLabel: "module NumRu::NetCDF_Convention_Users_Guide" -->
65
+ <p>The NetCDF Users Guide Convention
66
+ (http://www.unidata.ucar.edu/packages/netcdf/docs.html).</p>
67
+ <h2><a name="label:7" id="label:7">Constants</a></h2><!-- RDLabel: "Constants" -->
68
+ <dl>
69
+ <dt><h4><a name="label:8" id="label:8"><code>Attribute_Mixin</code></a><!-- RDLabel: "Attribute_Mixin" -->
70
+ </dl>
71
+ <p>See below: <a href="#label:15">module NumRu::NetCDF_Convention_Users_Guide::Attribute_Mixin</a>.</p>
72
+ <dl>
73
+ <dt><h4><a name="label:9" id="label:9"><code>VArray_Mixin</code></a><!-- RDLabel: "VArray_Mixin" -->
74
+ </dl>
75
+ <p>See below: <a href="#label:18">module NumRu::NetCDF_Convention_Users_Guide::VArray_Mixin</a>.</p>
76
+ <h2><a name="label:10" id="label:10">Module Functions</a></h2><!-- RDLabel: "Module Functions" -->
77
+ <dl>
78
+ <dt><h4><a name="label:11" id="label:11"><code>to_s</code></a></h4></dt><!-- RDLabel: "to_s" -->
79
+ <dd>
80
+ <p>Returns a string to be used as representing the convention.
81
+ The Users Guide Convention does not have one, so a string
82
+ was tentatively assigned by Horinouchi.</p></dd>
83
+ <dt><h4><a name="label:12" id="label:12"><code>coord_var_names(<var>ncvar</var>)</code></a></h4></dt><!-- RDLabel: "coord_var_names" -->
84
+ <dd>
85
+ <p>Returns the names of coordinate variables for all the dimensions
86
+ of <var>ncvar</var>.</p>
87
+ <p>ARGUMENTS</p>
88
+ <ul>
89
+ <li><var>ncvar</var> (NetCDFVar)</li>
90
+ </ul>
91
+ <p>RETURN VALUE</p>
92
+ <ul>
93
+ <li>Array of strings, whose length is the rank of <var>ncvar</var>.</li>
94
+ </ul></dd>
95
+ <dt><h4><a name="label:13" id="label:13"><code>cell_bounds?(<var>coord_var</var>)</code></a></h4></dt><!-- RDLabel: "cell_bounds?" -->
96
+ <dd>
97
+ <p>Document to be written. (returns false&amp;nil in this convention.)
98
+ Might be reorganized in future when the gtool4 convention is supported.</p></dd>
99
+ <dt><h4><a name="label:14" id="label:14"><code>cell_center?(<var>coord_var</var>)</code></a></h4></dt><!-- RDLabel: "cell_center?" -->
100
+ <dd>
101
+ <p>Document to be written. (returns false&amp;nil in this convention.)
102
+ Might be reorganized in future when the gtool4 convention is supported.</p></dd>
103
+ </dl>
104
+ <p>--------------------------------------------------</p>
105
+ <h2><a name="label:15" id="label:15">module NumRu::NetCDF_Convention_Users_Guide::Attribute_Mixin</a></h2><!-- RDLabel: "module NumRu::NetCDF_Convention_Users_Guide::Attribute_Mixin" -->
106
+ <p>The module to be mixed in NumRu::AttributeNetCDF.</p>
107
+ <h3><a name="label:16" id="label:16">Instance Methods </a></h3><!-- RDLabel: "Instance Methods " -->
108
+ <p>Methods below will become sigular methods of NumRu::AttributeNetCDF.</p>
109
+ <dl>
110
+ <dt><h4><a name="label:17" id="label:17"><code>copy(<var>to</var>=<var>nil</var>)</code></a></h4></dt><!-- RDLabel: "copy" -->
111
+ <dd>
112
+ <p>Same as super (the one overridden by this method),
113
+ but edits some standard attributes if to is nil (copy onto memory)):</p>
114
+ <ul>
115
+ <li>scale_factor, add_offset: removed, since data copying includes
116
+ "unpaking" by interpreting them</li>
117
+ <li>valid_*, missing_value: unpacked if packed.</li>
118
+ <li>_FillValue, FORTRAN_format, C_format: eliminated</li>
119
+ </ul></dd>
120
+ </dl>
121
+ <p>---------------------------------------------------</p>
122
+ <h2><a name="label:18" id="label:18">module NumRu::NetCDF_Convention_Users_Guide::VArray_Mixin</a></h2><!-- RDLabel: "module NumRu::NetCDF_Convention_Users_Guide::VArray_Mixin" -->
123
+ <p>The module to be mixed in NumRu::VArrayNetCDF.</p>
124
+ <h3><a name="label:19" id="label:19">Instance Methods</a></h3><!-- RDLabel: "Instance Methods" -->
125
+ <p>Currently none, meaning is that no modification is made
126
+ in VArrayNetCDF.</p>
127
+ <p>---------------------------------------------------------------------</p>
128
+ <h1><a name="label:20" id="label:20">module NumRu::NetCDF_Convention_Wind_Profiler</a></h1><!-- RDLabel: "module NumRu::NetCDF_Convention_Wind_Profiler" -->
129
+ <p>The Wind Profiler convention
130
+ (http://www.kurasc.kyoto-u.ac.jp/radar-group/wind_profiler_conventions/).</p>
131
+ <p>Inherits NetCDF_Convention_Users_Guide and makes appropriate redefinitions.
132
+ See <a href="#label:6">module NumRu::NetCDF_Convention_Users_Guide</a> for the description
133
+ of constants and module functions.</p>
134
+
135
+ </body>
136
+ </html>