gphys 1.1.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (369) hide show
  1. data/.gitignore +17 -0
  2. data/ChangeLog +221 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +18 -30
  5. data/README +23 -26
  6. data/README.md +29 -0
  7. data/Rakefile +1 -56
  8. data/bin/gpaop +2 -1
  9. data/bin/gpcut +3 -2
  10. data/bin/gpedit +6 -2
  11. data/bin/gpmath +3 -2
  12. data/bin/gpmaxmin +3 -2
  13. data/bin/gpprint +2 -1
  14. data/bin/gpvect +28 -5
  15. data/bin/gpview +43 -5
  16. data/extconf.rb +5 -6
  17. data/gphys.gemspec +34 -0
  18. data/interpo.c +63 -24
  19. data/lib/gphys.rb +2 -0
  20. data/lib/numru/dclext.rb +2636 -0
  21. data/lib/numru/derivative.rb +53 -12
  22. data/lib/numru/ganalysis/eof.rb +4 -0
  23. data/lib/numru/ganalysis/histogram.rb +73 -5
  24. data/lib/numru/ganalysis/met.rb +163 -2
  25. data/lib/numru/ganalysis/planet.rb +230 -20
  26. data/lib/numru/ggraph.rb +147 -2247
  27. data/lib/numru/gphys/assoccoords.rb +19 -3
  28. data/lib/numru/gphys/axis.rb +1 -1
  29. data/lib/numru/gphys/coordmapping.rb +2 -2
  30. data/lib/numru/gphys/derivative.rb +56 -13
  31. data/lib/numru/gphys/gphys.rb +17 -1
  32. data/lib/numru/gphys/gphys_grads_io.rb +6 -5
  33. data/lib/numru/gphys/gphys_grib_io.rb +6 -6
  34. data/lib/numru/gphys/gphys_io.rb +25 -6
  35. data/lib/numru/gphys/grads_gridded.rb +31 -29
  36. data/lib/numru/gphys/grib.rb +13 -9
  37. data/lib/numru/gphys/interpolate.rb +153 -29
  38. data/lib/numru/gphys/unumeric.rb +29 -6
  39. data/lib/numru/gphys/varray.rb +9 -0
  40. data/lib/numru/gphys/varraygrib.rb +70 -8
  41. data/lib/version.rb +3 -0
  42. metadata +247 -531
  43. data/doc/attribute.html +0 -19
  44. data/doc/attributenetcdf.html +0 -15
  45. data/doc/axis.html +0 -376
  46. data/doc/coordmapping.html +0 -111
  47. data/doc/coordtransform.html +0 -36
  48. data/doc/derivative/gphys-derivative.html +0 -80
  49. data/doc/derivative/index.html +0 -21
  50. data/doc/derivative/index.rd +0 -14
  51. data/doc/derivative/math-doc/document/document.css +0 -30
  52. data/doc/derivative/math-doc/document/document.html +0 -57
  53. data/doc/derivative/math-doc/document/images.aux +0 -1
  54. data/doc/derivative/math-doc/document/images.log +0 -385
  55. data/doc/derivative/math-doc/document/images.pl +0 -186
  56. data/doc/derivative/math-doc/document/images.tex +0 -364
  57. data/doc/derivative/math-doc/document/img1.png +0 -0
  58. data/doc/derivative/math-doc/document/img10.png +0 -0
  59. data/doc/derivative/math-doc/document/img11.png +0 -0
  60. data/doc/derivative/math-doc/document/img12.png +0 -0
  61. data/doc/derivative/math-doc/document/img13.png +0 -0
  62. data/doc/derivative/math-doc/document/img14.png +0 -0
  63. data/doc/derivative/math-doc/document/img15.png +0 -0
  64. data/doc/derivative/math-doc/document/img16.png +0 -0
  65. data/doc/derivative/math-doc/document/img17.png +0 -0
  66. data/doc/derivative/math-doc/document/img18.png +0 -0
  67. data/doc/derivative/math-doc/document/img19.png +0 -0
  68. data/doc/derivative/math-doc/document/img2.png +0 -0
  69. data/doc/derivative/math-doc/document/img20.png +0 -0
  70. data/doc/derivative/math-doc/document/img21.png +0 -0
  71. data/doc/derivative/math-doc/document/img22.png +0 -0
  72. data/doc/derivative/math-doc/document/img23.png +0 -0
  73. data/doc/derivative/math-doc/document/img24.png +0 -0
  74. data/doc/derivative/math-doc/document/img25.png +0 -0
  75. data/doc/derivative/math-doc/document/img26.png +0 -0
  76. data/doc/derivative/math-doc/document/img27.png +0 -0
  77. data/doc/derivative/math-doc/document/img28.png +0 -0
  78. data/doc/derivative/math-doc/document/img29.png +0 -0
  79. data/doc/derivative/math-doc/document/img3.png +0 -0
  80. data/doc/derivative/math-doc/document/img30.png +0 -0
  81. data/doc/derivative/math-doc/document/img4.png +0 -0
  82. data/doc/derivative/math-doc/document/img5.png +0 -0
  83. data/doc/derivative/math-doc/document/img6.png +0 -0
  84. data/doc/derivative/math-doc/document/img7.png +0 -0
  85. data/doc/derivative/math-doc/document/img8.png +0 -0
  86. data/doc/derivative/math-doc/document/img9.png +0 -0
  87. data/doc/derivative/math-doc/document/index.html +0 -57
  88. data/doc/derivative/math-doc/document/labels.pl +0 -13
  89. data/doc/derivative/math-doc/document/next.png +0 -0
  90. data/doc/derivative/math-doc/document/next_g.png +0 -0
  91. data/doc/derivative/math-doc/document/node1.html +0 -238
  92. data/doc/derivative/math-doc/document/node2.html +0 -75
  93. data/doc/derivative/math-doc/document/prev.png +0 -0
  94. data/doc/derivative/math-doc/document/prev_g.png +0 -0
  95. data/doc/derivative/math-doc/document/up.png +0 -0
  96. data/doc/derivative/math-doc/document/up_g.png +0 -0
  97. data/doc/derivative/math-doc/document.pdf +0 -0
  98. data/doc/derivative/math-doc/document.tex +0 -158
  99. data/doc/derivative/numru-derivative.html +0 -129
  100. data/doc/ep_flux/ep_flux.html +0 -469
  101. data/doc/ep_flux/ggraph_on_merdional_section.html +0 -71
  102. data/doc/ep_flux/index.html +0 -31
  103. data/doc/ep_flux/index.rd +0 -24
  104. data/doc/ep_flux/math-doc/document/WARNINGS +0 -1
  105. data/doc/ep_flux/math-doc/document/contents.png +0 -0
  106. data/doc/ep_flux/math-doc/document/crossref.png +0 -0
  107. data/doc/ep_flux/math-doc/document/document.css +0 -30
  108. data/doc/ep_flux/math-doc/document/document.html +0 -101
  109. data/doc/ep_flux/math-doc/document/images.aux +0 -1
  110. data/doc/ep_flux/math-doc/document/images.log +0 -1375
  111. data/doc/ep_flux/math-doc/document/images.pl +0 -1328
  112. data/doc/ep_flux/math-doc/document/images.tex +0 -1471
  113. data/doc/ep_flux/math-doc/document/img1.png +0 -0
  114. data/doc/ep_flux/math-doc/document/img10.png +0 -0
  115. data/doc/ep_flux/math-doc/document/img100.png +0 -0
  116. data/doc/ep_flux/math-doc/document/img101.png +0 -0
  117. data/doc/ep_flux/math-doc/document/img102.png +0 -0
  118. data/doc/ep_flux/math-doc/document/img103.png +0 -0
  119. data/doc/ep_flux/math-doc/document/img104.png +0 -0
  120. data/doc/ep_flux/math-doc/document/img105.png +0 -0
  121. data/doc/ep_flux/math-doc/document/img106.png +0 -0
  122. data/doc/ep_flux/math-doc/document/img107.png +0 -0
  123. data/doc/ep_flux/math-doc/document/img108.png +0 -0
  124. data/doc/ep_flux/math-doc/document/img109.png +0 -0
  125. data/doc/ep_flux/math-doc/document/img11.png +0 -0
  126. data/doc/ep_flux/math-doc/document/img110.png +0 -0
  127. data/doc/ep_flux/math-doc/document/img111.png +0 -0
  128. data/doc/ep_flux/math-doc/document/img112.png +0 -0
  129. data/doc/ep_flux/math-doc/document/img113.png +0 -0
  130. data/doc/ep_flux/math-doc/document/img114.png +0 -0
  131. data/doc/ep_flux/math-doc/document/img115.png +0 -0
  132. data/doc/ep_flux/math-doc/document/img116.png +0 -0
  133. data/doc/ep_flux/math-doc/document/img117.png +0 -0
  134. data/doc/ep_flux/math-doc/document/img118.png +0 -0
  135. data/doc/ep_flux/math-doc/document/img119.png +0 -0
  136. data/doc/ep_flux/math-doc/document/img12.png +0 -0
  137. data/doc/ep_flux/math-doc/document/img120.png +0 -0
  138. data/doc/ep_flux/math-doc/document/img121.png +0 -0
  139. data/doc/ep_flux/math-doc/document/img122.png +0 -0
  140. data/doc/ep_flux/math-doc/document/img123.png +0 -0
  141. data/doc/ep_flux/math-doc/document/img124.png +0 -0
  142. data/doc/ep_flux/math-doc/document/img125.png +0 -0
  143. data/doc/ep_flux/math-doc/document/img126.png +0 -0
  144. data/doc/ep_flux/math-doc/document/img127.png +0 -0
  145. data/doc/ep_flux/math-doc/document/img128.png +0 -0
  146. data/doc/ep_flux/math-doc/document/img129.png +0 -0
  147. data/doc/ep_flux/math-doc/document/img13.png +0 -0
  148. data/doc/ep_flux/math-doc/document/img130.png +0 -0
  149. data/doc/ep_flux/math-doc/document/img131.png +0 -0
  150. data/doc/ep_flux/math-doc/document/img132.png +0 -0
  151. data/doc/ep_flux/math-doc/document/img133.png +0 -0
  152. data/doc/ep_flux/math-doc/document/img134.png +0 -0
  153. data/doc/ep_flux/math-doc/document/img135.png +0 -0
  154. data/doc/ep_flux/math-doc/document/img136.png +0 -0
  155. data/doc/ep_flux/math-doc/document/img137.png +0 -0
  156. data/doc/ep_flux/math-doc/document/img138.png +0 -0
  157. data/doc/ep_flux/math-doc/document/img139.png +0 -0
  158. data/doc/ep_flux/math-doc/document/img14.png +0 -0
  159. data/doc/ep_flux/math-doc/document/img140.png +0 -0
  160. data/doc/ep_flux/math-doc/document/img141.png +0 -0
  161. data/doc/ep_flux/math-doc/document/img142.png +0 -0
  162. data/doc/ep_flux/math-doc/document/img143.png +0 -0
  163. data/doc/ep_flux/math-doc/document/img144.png +0 -0
  164. data/doc/ep_flux/math-doc/document/img145.png +0 -0
  165. data/doc/ep_flux/math-doc/document/img146.png +0 -0
  166. data/doc/ep_flux/math-doc/document/img147.png +0 -0
  167. data/doc/ep_flux/math-doc/document/img148.png +0 -0
  168. data/doc/ep_flux/math-doc/document/img149.png +0 -0
  169. data/doc/ep_flux/math-doc/document/img15.png +0 -0
  170. data/doc/ep_flux/math-doc/document/img150.png +0 -0
  171. data/doc/ep_flux/math-doc/document/img151.png +0 -0
  172. data/doc/ep_flux/math-doc/document/img152.png +0 -0
  173. data/doc/ep_flux/math-doc/document/img153.png +0 -0
  174. data/doc/ep_flux/math-doc/document/img154.png +0 -0
  175. data/doc/ep_flux/math-doc/document/img155.png +0 -0
  176. data/doc/ep_flux/math-doc/document/img156.png +0 -0
  177. data/doc/ep_flux/math-doc/document/img157.png +0 -0
  178. data/doc/ep_flux/math-doc/document/img158.png +0 -0
  179. data/doc/ep_flux/math-doc/document/img159.png +0 -0
  180. data/doc/ep_flux/math-doc/document/img16.png +0 -0
  181. data/doc/ep_flux/math-doc/document/img160.png +0 -0
  182. data/doc/ep_flux/math-doc/document/img161.png +0 -0
  183. data/doc/ep_flux/math-doc/document/img162.png +0 -0
  184. data/doc/ep_flux/math-doc/document/img163.png +0 -0
  185. data/doc/ep_flux/math-doc/document/img164.png +0 -0
  186. data/doc/ep_flux/math-doc/document/img165.png +0 -0
  187. data/doc/ep_flux/math-doc/document/img166.png +0 -0
  188. data/doc/ep_flux/math-doc/document/img167.png +0 -0
  189. data/doc/ep_flux/math-doc/document/img168.png +0 -0
  190. data/doc/ep_flux/math-doc/document/img169.png +0 -0
  191. data/doc/ep_flux/math-doc/document/img17.png +0 -0
  192. data/doc/ep_flux/math-doc/document/img170.png +0 -0
  193. data/doc/ep_flux/math-doc/document/img171.png +0 -0
  194. data/doc/ep_flux/math-doc/document/img172.png +0 -0
  195. data/doc/ep_flux/math-doc/document/img173.png +0 -0
  196. data/doc/ep_flux/math-doc/document/img174.png +0 -0
  197. data/doc/ep_flux/math-doc/document/img175.png +0 -0
  198. data/doc/ep_flux/math-doc/document/img176.png +0 -0
  199. data/doc/ep_flux/math-doc/document/img177.png +0 -0
  200. data/doc/ep_flux/math-doc/document/img178.png +0 -0
  201. data/doc/ep_flux/math-doc/document/img179.png +0 -0
  202. data/doc/ep_flux/math-doc/document/img18.png +0 -0
  203. data/doc/ep_flux/math-doc/document/img180.png +0 -0
  204. data/doc/ep_flux/math-doc/document/img181.png +0 -0
  205. data/doc/ep_flux/math-doc/document/img182.png +0 -0
  206. data/doc/ep_flux/math-doc/document/img183.png +0 -0
  207. data/doc/ep_flux/math-doc/document/img184.png +0 -0
  208. data/doc/ep_flux/math-doc/document/img185.png +0 -0
  209. data/doc/ep_flux/math-doc/document/img186.png +0 -0
  210. data/doc/ep_flux/math-doc/document/img187.png +0 -0
  211. data/doc/ep_flux/math-doc/document/img188.png +0 -0
  212. data/doc/ep_flux/math-doc/document/img189.png +0 -0
  213. data/doc/ep_flux/math-doc/document/img19.png +0 -0
  214. data/doc/ep_flux/math-doc/document/img190.png +0 -0
  215. data/doc/ep_flux/math-doc/document/img191.png +0 -0
  216. data/doc/ep_flux/math-doc/document/img192.png +0 -0
  217. data/doc/ep_flux/math-doc/document/img193.png +0 -0
  218. data/doc/ep_flux/math-doc/document/img194.png +0 -0
  219. data/doc/ep_flux/math-doc/document/img195.png +0 -0
  220. data/doc/ep_flux/math-doc/document/img196.png +0 -0
  221. data/doc/ep_flux/math-doc/document/img197.png +0 -0
  222. data/doc/ep_flux/math-doc/document/img198.png +0 -0
  223. data/doc/ep_flux/math-doc/document/img199.png +0 -0
  224. data/doc/ep_flux/math-doc/document/img2.png +0 -0
  225. data/doc/ep_flux/math-doc/document/img20.png +0 -0
  226. data/doc/ep_flux/math-doc/document/img200.png +0 -0
  227. data/doc/ep_flux/math-doc/document/img21.png +0 -0
  228. data/doc/ep_flux/math-doc/document/img22.png +0 -0
  229. data/doc/ep_flux/math-doc/document/img23.png +0 -0
  230. data/doc/ep_flux/math-doc/document/img24.png +0 -0
  231. data/doc/ep_flux/math-doc/document/img25.png +0 -0
  232. data/doc/ep_flux/math-doc/document/img26.png +0 -0
  233. data/doc/ep_flux/math-doc/document/img27.png +0 -0
  234. data/doc/ep_flux/math-doc/document/img28.png +0 -0
  235. data/doc/ep_flux/math-doc/document/img29.png +0 -0
  236. data/doc/ep_flux/math-doc/document/img3.png +0 -0
  237. data/doc/ep_flux/math-doc/document/img30.png +0 -0
  238. data/doc/ep_flux/math-doc/document/img31.png +0 -0
  239. data/doc/ep_flux/math-doc/document/img32.png +0 -0
  240. data/doc/ep_flux/math-doc/document/img33.png +0 -0
  241. data/doc/ep_flux/math-doc/document/img34.png +0 -0
  242. data/doc/ep_flux/math-doc/document/img35.png +0 -0
  243. data/doc/ep_flux/math-doc/document/img36.png +0 -0
  244. data/doc/ep_flux/math-doc/document/img37.png +0 -0
  245. data/doc/ep_flux/math-doc/document/img38.png +0 -0
  246. data/doc/ep_flux/math-doc/document/img39.png +0 -0
  247. data/doc/ep_flux/math-doc/document/img4.png +0 -0
  248. data/doc/ep_flux/math-doc/document/img40.png +0 -0
  249. data/doc/ep_flux/math-doc/document/img41.png +0 -0
  250. data/doc/ep_flux/math-doc/document/img42.png +0 -0
  251. data/doc/ep_flux/math-doc/document/img43.png +0 -0
  252. data/doc/ep_flux/math-doc/document/img44.png +0 -0
  253. data/doc/ep_flux/math-doc/document/img45.png +0 -0
  254. data/doc/ep_flux/math-doc/document/img46.png +0 -0
  255. data/doc/ep_flux/math-doc/document/img47.png +0 -0
  256. data/doc/ep_flux/math-doc/document/img48.png +0 -0
  257. data/doc/ep_flux/math-doc/document/img49.png +0 -0
  258. data/doc/ep_flux/math-doc/document/img5.png +0 -0
  259. data/doc/ep_flux/math-doc/document/img50.png +0 -0
  260. data/doc/ep_flux/math-doc/document/img51.png +0 -0
  261. data/doc/ep_flux/math-doc/document/img52.png +0 -0
  262. data/doc/ep_flux/math-doc/document/img53.png +0 -0
  263. data/doc/ep_flux/math-doc/document/img54.png +0 -0
  264. data/doc/ep_flux/math-doc/document/img55.png +0 -0
  265. data/doc/ep_flux/math-doc/document/img56.png +0 -0
  266. data/doc/ep_flux/math-doc/document/img57.png +0 -0
  267. data/doc/ep_flux/math-doc/document/img58.png +0 -0
  268. data/doc/ep_flux/math-doc/document/img59.png +0 -0
  269. data/doc/ep_flux/math-doc/document/img6.png +0 -0
  270. data/doc/ep_flux/math-doc/document/img60.png +0 -0
  271. data/doc/ep_flux/math-doc/document/img61.png +0 -0
  272. data/doc/ep_flux/math-doc/document/img62.png +0 -0
  273. data/doc/ep_flux/math-doc/document/img63.png +0 -0
  274. data/doc/ep_flux/math-doc/document/img64.png +0 -0
  275. data/doc/ep_flux/math-doc/document/img65.png +0 -0
  276. data/doc/ep_flux/math-doc/document/img66.png +0 -0
  277. data/doc/ep_flux/math-doc/document/img67.png +0 -0
  278. data/doc/ep_flux/math-doc/document/img68.png +0 -0
  279. data/doc/ep_flux/math-doc/document/img69.png +0 -0
  280. data/doc/ep_flux/math-doc/document/img7.png +0 -0
  281. data/doc/ep_flux/math-doc/document/img70.png +0 -0
  282. data/doc/ep_flux/math-doc/document/img71.png +0 -0
  283. data/doc/ep_flux/math-doc/document/img72.png +0 -0
  284. data/doc/ep_flux/math-doc/document/img73.png +0 -0
  285. data/doc/ep_flux/math-doc/document/img74.png +0 -0
  286. data/doc/ep_flux/math-doc/document/img75.png +0 -0
  287. data/doc/ep_flux/math-doc/document/img76.png +0 -0
  288. data/doc/ep_flux/math-doc/document/img77.png +0 -0
  289. data/doc/ep_flux/math-doc/document/img78.png +0 -0
  290. data/doc/ep_flux/math-doc/document/img79.png +0 -0
  291. data/doc/ep_flux/math-doc/document/img8.png +0 -0
  292. data/doc/ep_flux/math-doc/document/img80.png +0 -0
  293. data/doc/ep_flux/math-doc/document/img81.png +0 -0
  294. data/doc/ep_flux/math-doc/document/img82.png +0 -0
  295. data/doc/ep_flux/math-doc/document/img83.png +0 -0
  296. data/doc/ep_flux/math-doc/document/img84.png +0 -0
  297. data/doc/ep_flux/math-doc/document/img85.png +0 -0
  298. data/doc/ep_flux/math-doc/document/img86.png +0 -0
  299. data/doc/ep_flux/math-doc/document/img87.png +0 -0
  300. data/doc/ep_flux/math-doc/document/img88.png +0 -0
  301. data/doc/ep_flux/math-doc/document/img89.png +0 -0
  302. data/doc/ep_flux/math-doc/document/img9.png +0 -0
  303. data/doc/ep_flux/math-doc/document/img90.png +0 -0
  304. data/doc/ep_flux/math-doc/document/img91.png +0 -0
  305. data/doc/ep_flux/math-doc/document/img92.png +0 -0
  306. data/doc/ep_flux/math-doc/document/img93.png +0 -0
  307. data/doc/ep_flux/math-doc/document/img94.png +0 -0
  308. data/doc/ep_flux/math-doc/document/img95.png +0 -0
  309. data/doc/ep_flux/math-doc/document/img96.png +0 -0
  310. data/doc/ep_flux/math-doc/document/img97.png +0 -0
  311. data/doc/ep_flux/math-doc/document/img98.png +0 -0
  312. data/doc/ep_flux/math-doc/document/img99.png +0 -0
  313. data/doc/ep_flux/math-doc/document/index.html +0 -101
  314. data/doc/ep_flux/math-doc/document/internals.pl +0 -258
  315. data/doc/ep_flux/math-doc/document/labels.pl +0 -265
  316. data/doc/ep_flux/math-doc/document/next.png +0 -0
  317. data/doc/ep_flux/math-doc/document/next_g.png +0 -0
  318. data/doc/ep_flux/math-doc/document/node1.html +0 -104
  319. data/doc/ep_flux/math-doc/document/node10.html +0 -164
  320. data/doc/ep_flux/math-doc/document/node11.html +0 -86
  321. data/doc/ep_flux/math-doc/document/node12.html +0 -166
  322. data/doc/ep_flux/math-doc/document/node13.html +0 -897
  323. data/doc/ep_flux/math-doc/document/node14.html +0 -1065
  324. data/doc/ep_flux/math-doc/document/node15.html +0 -72
  325. data/doc/ep_flux/math-doc/document/node16.html +0 -81
  326. data/doc/ep_flux/math-doc/document/node2.html +0 -82
  327. data/doc/ep_flux/math-doc/document/node3.html +0 -91
  328. data/doc/ep_flux/math-doc/document/node4.html +0 -149
  329. data/doc/ep_flux/math-doc/document/node5.html +0 -330
  330. data/doc/ep_flux/math-doc/document/node6.html +0 -99
  331. data/doc/ep_flux/math-doc/document/node7.html +0 -98
  332. data/doc/ep_flux/math-doc/document/node8.html +0 -83
  333. data/doc/ep_flux/math-doc/document/node9.html +0 -140
  334. data/doc/ep_flux/math-doc/document/prev.png +0 -0
  335. data/doc/ep_flux/math-doc/document/prev_g.png +0 -0
  336. data/doc/ep_flux/math-doc/document/up.png +0 -0
  337. data/doc/ep_flux/math-doc/document/up_g.png +0 -0
  338. data/doc/ep_flux/math-doc/document.pdf +0 -0
  339. data/doc/ep_flux/math-doc/document.tex +0 -2018
  340. data/doc/gdir.html +0 -412
  341. data/doc/gdir_client.html +0 -16
  342. data/doc/gdir_connect_ftp-like.html +0 -61
  343. data/doc/gdir_server.html +0 -45
  344. data/doc/ggraph.html +0 -1615
  345. data/doc/gpcat.html +0 -44
  346. data/doc/gpcut.html +0 -41
  347. data/doc/gphys.html +0 -532
  348. data/doc/gphys_fft.html +0 -324
  349. data/doc/gphys_grads_io.html +0 -69
  350. data/doc/gphys_grib_io.html +0 -82
  351. data/doc/gphys_io.html +0 -120
  352. data/doc/gphys_io_common.html +0 -18
  353. data/doc/gphys_netcdf_io.html +0 -283
  354. data/doc/gplist.html +0 -24
  355. data/doc/gpmath.html +0 -51
  356. data/doc/gpmaxmin.html +0 -31
  357. data/doc/gpprint.html +0 -34
  358. data/doc/gpview.html +0 -270
  359. data/doc/grads2nc_with_gphys.html +0 -21
  360. data/doc/grads_gridded.html +0 -307
  361. data/doc/grib.html +0 -144
  362. data/doc/grid.html +0 -212
  363. data/doc/index.html +0 -133
  364. data/doc/index.rd +0 -127
  365. data/doc/netcdf_convention.html +0 -136
  366. data/doc/unumeric.html +0 -176
  367. data/doc/update +0 -64
  368. data/doc/varray.html +0 -299
  369. data/doc/varraycomposite.html +0 -67
data/doc/gdir.html DELETED
@@ -1,412 +0,0 @@
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/gdir.rb</title>
8
- </head>
9
- <body>
10
- <h1><a name="label-0" id="label-0">class NumRu::GDir</a></h1><!-- RDLabel: "class NumRu::GDir" -->
11
- <p>A class to represent diretories and data files for GPhys.</p>
12
- <h2><a name="label-1" id="label-1">Overview</a></h2><!-- RDLabel: "Overview" -->
13
- <p>A GDir object represents a directory, or a file (such as a NetCDF
14
- file or GrADS control file), for which
15
- GPhys objects can be defined for the variables in it.
16
- This means that a NetCDF file, for example, is treated a
17
- directory, rather than a plain file.</p>
18
- <p>GDir serves a directory tree under a root (top) directory, which can
19
- be set as a class variable with <a href="#label-3">GDir.top=</a>. All the absolute path
20
- of GDir is actually relative to the root directory, and to access
21
- outside the root directory is prohibited. Furthermore, it has a
22
- working directory as a class variable, whose initial value is the top
23
- directory and can be changed by <a href="#label-8">GDir.cd</a>.</p>
24
- <p>NEW(2005/06): Now GDir can accept DODS URL as a path. Also,
25
- the top directory can be set to a DODS URL.</p>
26
- <h2><a name="label-2" id="label-2">Class Methods</a></h2><!-- RDLabel: "Class Methods" -->
27
- <dl>
28
- <dt><h4><a name="label-3" id="label-3"><code>GDir.top=(<var>top</var>)</code></a></h4></dt><!-- RDLabel: "GDir.top=" -->
29
- <dd>
30
- <p>Sets the root directory. This should be done before making
31
- any GDir objects by <a href="#label-5">GDir.new</a>. The default root directory
32
- is the root directory of the local file system ('/').</p>
33
- <p>ARGUMENTS</p>
34
- <ul>
35
- <li><var>top</var> (String): path of the top directory</li>
36
- </ul>
37
- <p>RETURN VALUE</p>
38
- <ul>
39
- <li>absolute path of the top directory (String) (followed by a '/')</li>
40
- </ul></dd>
41
- <dt><h4><a name="label-4" id="label-4"><code>GDir.top</code></a></h4></dt><!-- RDLabel: "GDir.top" -->
42
- <dd>
43
- RETURN VALUE
44
- <ul>
45
- <li>absolute path of the top directory (String) (followed by a '/')</li>
46
- </ul></dd>
47
- <dt><h4><a name="label-5" id="label-5"><code>GDir.new(<var>path</var>)</code></a></h4></dt><!-- RDLabel: "GDir.new" -->
48
- <dd>
49
- <p>Constructor.</p>
50
- <p>ARGUMENTS</p>
51
- <ul>
52
- <li><var>path</var> (String): path of the directory to open as a GDir.
53
- The path is expressed in terms of the top directory.</li>
54
- </ul>
55
- <p>RETURN VALUE</p>
56
- <ul>
57
- <li>a GDir</li>
58
- </ul>
59
- <p>ERRORS</p>
60
- <ul>
61
- <li>ArgumentError if <var>path</var> is out of the directory
62
- tree (originated at the top directory).</li>
63
- </ul>
64
- <p>EXAMPLES</p>
65
- <ul>
66
- <li><p>If the top directory is "/hoge", you can open
67
- "/hoge/ho" directory by any of the following.</p>
68
- <pre>gdir = GDir.new("/ho")
69
- gdir = GDir.new("./ho")</pre>
70
- <p>If you want to open "/hoge" (the top directly), then</p>
71
- <pre>gdir = GDir.new("/")
72
- gdir = GDir.new(".")</pre>
73
- <p>To open a NetCDF file or GrADS control file,</p>
74
- <pre>gdir = GDir.new("/ho/data.nc")
75
- gdir = GDir.new("/ho/data.ctl")</pre></li>
76
- </ul></dd>
77
- <dt><h4><a name="label-6" id="label-6"><code>GDir.set_text_pattern(*<var>regexps</var>)</code></a></h4></dt><!-- RDLabel: "GDir.set_text_pattern" -->
78
- <dd>
79
- <p>Sets regular expressions to match the file name of text files.
80
- The default is /\.txt$/ and /^\w*$/.</p>
81
- <p>ARGUMENTS</p>
82
- <ul>
83
- <li>zero or more Regular expressions (zero means no file will be treated
84
- as a NetCDF file).</li>
85
- </ul>
86
- <p>RETURN VALUE</p>
87
- <ul>
88
- <li>nil</li>
89
- </ul>
90
- <p>ERRORS</p>
91
- <ul>
92
- <li>TypeError if any of the arguments is not a Regexp</li>
93
- </ul></dd>
94
- <dt><h4><a name="label-7" id="label-7"><code>GDir.add_text_pattern(<var>regexp</var> [, <var>regexp</var> [, ...]])</code></a></h4></dt><!-- RDLabel: "GDir.add_text_pattern" -->
95
- <dd>
96
- <p>Similar to <a href="#label-6">GDir.set_text_pattern</a>, but adds regular expressions
97
- instead of replacing existing ones.</p>
98
- <p>RETURN VALUE</p>
99
- <ul>
100
- <li>nil</li>
101
- </ul>
102
- <p>ERRORS</p>
103
- <ul>
104
- <li>TypeError if any of the arguments is not a Regexp</li>
105
- </ul></dd>
106
- <dt><h4><a name="label-8" id="label-8"><code>GDir.cd(<var>path</var>)</code></a></h4></dt><!-- RDLabel: "GDir.cd" -->
107
- <dd>
108
- <p>Changes the working directory of the class.</p>
109
- <p>RETURN VALUE</p>
110
- <ul>
111
- <li>a GDir</li>
112
- </ul></dd>
113
- <dt><h4><a name="label-9" id="label-9"><code>GDir.cwd=(<var>path</var>)</code></a></h4></dt><!-- RDLabel: "GDir.cwd=" -->
114
- <dd>
115
- Aliased to <a href="#label-8">GDir.cd</a>.</dd>
116
- <dt><h4><a name="label-10" id="label-10"><code>GDir.cwd</code></a></h4></dt><!-- RDLabel: "GDir.cwd" -->
117
- <dd>
118
- <p>Returns the current working directory as a GDir. The initial value of
119
- the working directory is the top directory.</p>
120
- <p>RETURN VALUE</p>
121
- <ul>
122
- <li>a GDir</li>
123
- </ul></dd>
124
- <dt><h4><a name="label-11" id="label-11"><code>GDir.cd(<var>path</var>)</code></a></h4></dt><!-- RDLabel: "GDir.cd" -->
125
- <dd>
126
- <p>Changes the working directory to path</p>
127
- <p>RETURN VALUE</p>
128
- <ul>
129
- <li>a GDir (current working directory changed by path)</li>
130
- </ul></dd>
131
- <dt><h4><a name="label-12" id="label-12"><code>GDir[]</code></a></h4></dt><!-- RDLabel: "GDir[]" -->
132
- <dt><h4><a name="label-13" id="label-13"><code>GDir.data</code></a></h4></dt><!-- RDLabel: "GDir.data" -->
133
- <dt><h4><a name="label-14" id="label-14"><code>GDir.text</code></a></h4></dt><!-- RDLabel: "GDir.text" -->
134
- <dt><h4><a name="label-15" id="label-15"><code>GDir.list_dirs</code></a></h4></dt><!-- RDLabel: "GDir.list_dirs" -->
135
- <dt><h4><a name="label-16" id="label-16"><code>GDir.list_dirs_v</code></a></h4></dt><!-- RDLabel: "GDir.list_dirs_v" -->
136
- <dt><h4><a name="label-17" id="label-17"><code>GDir.list_data</code></a></h4></dt><!-- RDLabel: "GDir.list_data" -->
137
- <dt><h4><a name="label-18" id="label-18"><code>GDir.list_data_v</code></a></h4></dt><!-- RDLabel: "GDir.list_data_v" -->
138
- <dt><h4><a name="label-19" id="label-19"><code>GDir.list_texts</code></a></h4></dt><!-- RDLabel: "GDir.list_texts" -->
139
- <dt><h4><a name="label-20" id="label-20"><code>GDir.list_texts_v</code></a></h4></dt><!-- RDLabel: "GDir.list_texts_v" -->
140
- <dt><h4><a name="label-21" id="label-21"><code>GDir.ls</code></a></h4></dt><!-- RDLabel: "GDir.ls" -->
141
- <dt><h4><a name="label-22" id="label-22"><code>GDir.ls_v</code></a></h4></dt><!-- RDLabel: "GDir.ls_v" -->
142
- <dd>
143
- All of these are dispatched to the current working directory.
144
- Thus, GDir.show is equivalent to GDir.cwd.show, for example.</dd>
145
- </dl>
146
- <h2><a name="label-23" id="label-23">Instance Methods</a></h2><!-- RDLabel: "Instance Methods" -->
147
- <dl>
148
- <dt><h4><a name="label-24" id="label-24"><code>close</code></a></h4></dt><!-- RDLabel: "close" -->
149
- <dd>
150
- Closes the file/directory objects in the GDir.</dd>
151
- <dt><h4><a name="label-25" id="label-25"><code>path</code></a></h4></dt><!-- RDLabel: "path" -->
152
- <dd>
153
- <p>Returns the path (relative to the top directory)</p>
154
- <p>RETURN VALUE</p>
155
- <ul>
156
- <li>a String</li>
157
- </ul></dd>
158
- <dt><h4><a name="label-26" id="label-26"><code>name</code></a></h4></dt><!-- RDLabel: "name" -->
159
- <dd>
160
- <p>Name of the GDir</p>
161
- <p>RETURN VALUE</p>
162
- <ul>
163
- <li>a String</li>
164
- </ul></dd>
165
- <dt><h4><a name="label-27" id="label-27"><code>inspect</code></a></h4></dt><!-- RDLabel: "inspect" -->
166
- <dd>
167
- <p>Returns the path</p>
168
- <p>RETURN VALUE</p>
169
- <ul>
170
- <li>a String</li>
171
- </ul></dd>
172
- <dt><h4><a name="label-28" id="label-28"><code>[<var>path</var>]</code></a></h4></dt><!-- RDLabel: "[]" -->
173
- <dd>
174
- <p>Returns a GDir, GPhys, or File (text), by calling
175
- <a href="#label-29">dir</a>, <a href="#label-30">data</a>, or <a href="#label-31">text</a> depending on path.</p>
176
- <p>ARGUMENTS</p>
177
- <ul>
178
- <li><var>path</var> (String): Either relative or absolute.</li>
179
- </ul>
180
- <p>RETURN VALUE</p>
181
- <ul>
182
- <li>a GDir, GPhys, or File (text assumed)</li>
183
- </ul>
184
- <p>ERROR</p>
185
- <ul>
186
- <li>an exception is raised if <var>path</var> is not appropriate.</li>
187
- </ul></dd>
188
- <dt><h4><a name="label-29" id="label-29"><code>dir(<var>path</var>)</code></a></h4></dt><!-- RDLabel: "dir" -->
189
- <dd>
190
- <p>Returns a GDir specified the <var>path</var>.</p>
191
- <p>ARGUMENTS</p>
192
- <ul>
193
- <li><var>path</var> (String): Either relative or absolute.</li>
194
- </ul>
195
- <p>RETURN VALUE</p>
196
- <ul>
197
- <li>a GDir</li>
198
- </ul>
199
- <p>ERROR</p>
200
- <ul>
201
- <li>an exception is raised if <var>path</var> is invalid as a GDir.</li>
202
- </ul></dd>
203
- <dt><h4><a name="label-30" id="label-30"><code>data(<var>path</var>)</code></a></h4></dt><!-- RDLabel: "data" -->
204
- <dd>
205
- <p>Returns a GPhys specified the <var>path</var>.</p>
206
- <p>ARGUMENTS</p>
207
- <ul>
208
- <li><var>path</var> (String): Either relative or absolute.</li>
209
- </ul>
210
- <p>RETURN VALUE</p>
211
- <ul>
212
- <li>a GPhys</li>
213
- </ul>
214
- <p>ERROR</p>
215
- <ul>
216
- <li>an exception is raised if <var>path</var> is invalid as a GPhys.</li>
217
- </ul></dd>
218
- <dt><h4><a name="label-31" id="label-31"><code>text(<var>path</var>)</code></a></h4></dt><!-- RDLabel: "text" -->
219
- <dd>
220
- <p>Returns a text file object specified the <var>path</var>.</p>
221
- <p>ARGUMENTS</p>
222
- <ul>
223
- <li><var>path</var> (String): Either relative or absolute.</li>
224
- </ul>
225
- <p>RETURN VALUE</p>
226
- <ul>
227
- <li>a File</li>
228
- </ul>
229
- <p>ERROR</p>
230
- <ul>
231
- <li>an exception is raised if <var>path</var> is invalid as a text file
232
- (based on the pattern: see above).</li>
233
- </ul></dd>
234
- <dt><h4><a name="label-32" id="label-32"><code>find_dir( <var>filt</var> )</code></a></h4></dt><!-- RDLabel: "find_dir" -->
235
- <dd>
236
- <p>Recursively search a GDir whose name match <var>filt</var>..</p>
237
- <p>ARGUMENTS</p>
238
- <ul>
239
- <li><var>filt</var> (Regexp or String) If String, converted to Regexp
240
- with Regexp.new(filt).</li>
241
- </ul>
242
- <p>RETURN VALUE</p>
243
- <ul>
244
- <li>an Array holding pathes (String) that matched.</li>
245
- </ul></dd>
246
- <dt><h4><a name="label-33" id="label-33"><code>find_data( <var>name</var>=<var>nil</var>,<var>long_name</var>=<var>nil</var>,<var>units</var>=<var>nil</var> )</code></a></h4></dt><!-- RDLabel: "find_data" -->
247
- <dd>
248
- <p>Recursively search data variables under the directory.
249
- Mathces are by taking "AND" for non-nil arguments.
250
- (At least one of the three arguments must be non-nil.)</p>
251
- <p>ARGUMENTS</p>
252
- <ul>
253
- <li><var>name</var> (Regexp or String or nil) Variable name. If String,
254
- converted to Regexp with Regexp.new(name).</li>
255
- <li><var>long_name</var> (Regexp or String or nil) long_name. If String,
256
- converted to Regexp with Regexp.new(long_name).</li>
257
- <li><var>long_name</var> (Units or String or nil) long_name. If String,
258
- converted to Units with Units.new(units).</li>
259
- </ul>
260
- <p>RETURN VALUE</p>
261
- <ul>
262
- <li>an Array holding the path and variable name that matched
263
- (two-element Array of String; [path, variable_name] ).</li>
264
- </ul></dd>
265
- <dt><h4><a name="label-34" id="label-34"><code>list_dirs(<var>path</var>=<var>nil</var>)</code></a></h4></dt><!-- RDLabel: "list_dirs" -->
266
- <dd>
267
- <p>Returns the names of the directories.</p>
268
- <p>See also <a href="#label-40">ls</a>.</p>
269
- <p>ARGUMENTS</p>
270
- <ul>
271
- <li><var>path</var> (nil or String): if nil, the method is applied to the
272
- current directory. If specified, listing is made for the directory
273
- designated by it. Either relative or absolute.</li>
274
- </ul>
275
- <p>RETURN VALUE</p>
276
- <ul>
277
- <li>an Array of String</li>
278
- </ul></dd>
279
- <dt><h4><a name="label-35" id="label-35"><code>list_dirs_v(<var>path</var>=<var>nil</var>)</code></a></h4></dt><!-- RDLabel: "list_dirs_v" -->
280
- <dd>
281
- <p>Verbose version of <a href="#label-34">list_dirs</a>, showing size and mtime like 'ls -l'.</p>
282
- <p>See also <a href="#label-43">ls_l</a>.</p>
283
- <p>ARGUMENTS</p>
284
- <ul>
285
- <li>See <a href="#label-34">list_dirs</a>.</li>
286
- </ul>
287
- <p>RETURN VALUE</p>
288
- <ul>
289
- <li><p>an Array of String</p>
290
- <p>Example of a string:</p>
291
- <pre>275492 Apr 12 19:15 hogehoge_data.nc/</pre></li>
292
- </ul></dd>
293
- <dt><h4><a name="label-36" id="label-36"><code>list_data(<var>path</var>=<var>nil</var>)</code></a></h4></dt><!-- RDLabel: "list_data" -->
294
- <dd>
295
- <p>Returns the names of the data (variables on which GPhys objects
296
- can be defined.) Returns a non-empty array if the GDir (current
297
- or at the path) is actually a file recognized by GPhys (i.e.,
298
- NetCDF or GrADS control file).</p>
299
- <p>ARGUMENTS</p>
300
- <ul>
301
- <li><var>path</var> (nil or String): if nil, the method is applied to the
302
- current directory. If specified, listing is made for the directory
303
- designated by it. Either relative or absolute.</li>
304
- </ul>
305
- <p>RETURN VALUE</p>
306
- <ul>
307
- <li>an Array of String</li>
308
- </ul></dd>
309
- <dt><h4><a name="label-37" id="label-37"><code>list_data_v(<var>path</var>=<var>nil</var>)</code></a></h4></dt><!-- RDLabel: "list_data_v" -->
310
- <dd>
311
- <p>Verbose version of <a href="#label-36">list_data</a>, showing shape, long_name,
312
- and units.</p>
313
- <p>See also <a href="#label-43">ls_l</a>.</p>
314
- <p>ARGUMENTS</p>
315
- <ul>
316
- <li>See <a href="#label-36">list_data</a>.</li>
317
- </ul>
318
- <p>RETURN VALUE</p>
319
- <ul>
320
- <li><p>an Array of String</p>
321
- <p>Example of a string:</p>
322
- <pre>u [lon=120,lat=120,z=40,t=73] 'x components of velocity' (m/s)</pre></li>
323
- </ul></dd>
324
- <dt><h4><a name="label-38" id="label-38"><code>list_texts(<var>path</var>=<var>nil</var>)</code></a></h4></dt><!-- RDLabel: "list_texts" -->
325
- <dd>
326
- <p>Returns the names of the text files.
327
- Whether a file is a text file or not is judged based on the
328
- name of the file: That matched the predefined patters is
329
- judged as a text file regardless whether it is really so.
330
- The default pattern is /\.txt$/ and /^\w*$/. The patterns
331
- can be customized by <!-- Reference, RDLabel "set_text_patterns" doesn't exist --><em class="label-not-found">set_text_patterns</em><!-- Reference end --> or
332
- <!-- Reference, RDLabel "add_text_patterns" doesn't exist --><em class="label-not-found">add_text_patterns</em><!-- Reference end -->.</p>
333
- <p>ARGUMENTS</p>
334
- <ul>
335
- <li><var>path</var> (nil or String): if nil, the method is applied to the
336
- current directory. If specified, listing is made for the directory
337
- designated by it. Either relative or absolute.</li>
338
- </ul>
339
- <p>RETURN VALUE</p>
340
- <ul>
341
- <li>an Array of String</li>
342
- </ul></dd>
343
- <dt><h4><a name="label-39" id="label-39"><code>list_texts_v(<var>path</var>=<var>nil</var>)</code></a></h4></dt><!-- RDLabel: "list_texts_v" -->
344
- <dd>
345
- <p>Verbose version of <a href="#label-38">list_texts</a>, showing size and mtime like 'ls -l'.</p>
346
- <p>See also <a href="#label-43">ls_l</a>.</p>
347
- <p>ARGUMENTS</p>
348
- <ul>
349
- <li>See <a href="#label-38">list_texts</a>.</li>
350
- </ul>
351
- <p>RETURN VALUE</p>
352
- <ul>
353
- <li>an Array of String</li>
354
- </ul></dd>
355
- <dt><h4><a name="label-40" id="label-40"><code>ls(<var>path</var>=<var>nil</var>)</code></a></h4></dt><!-- RDLabel: "ls" -->
356
- <dd>
357
- <p>Prints the results of <a href="#label-34">list_dirs</a>, <a href="#label-36">list_data</a>, and
358
- <a href="#label-38">list_texts</a> on the standard output.</p>
359
- <p>RETURN VALUE</p>
360
- <ul>
361
- <li>nil</li>
362
- </ul></dd>
363
- <dt><h4><a name="label-41" id="label-41"><code>each_dir</code></a></h4></dt><!-- RDLabel: "each_dir" -->
364
- <dd>
365
- Iterator for each directory (GDir) under self.</dd>
366
- <dt><h4><a name="label-42" id="label-42"><code>each_data</code></a></h4></dt><!-- RDLabel: "each_data" -->
367
- <dd>
368
- Iterator for each GPhys under self.</dd>
369
- <dt><h4><a name="label-43" id="label-43"><code>ls_l(<var>path</var>=<var>nil</var>)</code></a></h4></dt><!-- RDLabel: "ls_l" -->
370
- <dd>
371
- <p>Verbose version of <a href="#label-40">ls</a>.
372
- Prints the results of <a href="#label-35">list_dirs_v</a>, <a href="#label-37">list_data_v</a>, and
373
- <a href="#label-39">list_texts_v</a> on the standard output.</p>
374
- <p>RETURN VALUE</p>
375
- <ul>
376
- <li>nil</li>
377
- </ul></dd>
378
- <dt><h4><a name="label-44" id="label-44"><code>mtime</code></a></h4></dt><!-- RDLabel: "mtime" -->
379
- <dd>
380
- <p>Returns the last modified time.</p>
381
- <p>RETURN VALUE</p>
382
- <ul>
383
- <li>a Time</li>
384
- </ul></dd>
385
- <dt><h4><a name="label-45" id="label-45"><code>atime</code></a></h4></dt><!-- RDLabel: "atime" -->
386
- <dd>
387
- <p>Returns the last accessed time.</p>
388
- <p>RETURN VALUE</p>
389
- <ul>
390
- <li>a Time</li>
391
- </ul></dd>
392
- <dt><h4><a name="label-46" id="label-46"><code>ctime</code></a></h4></dt><!-- RDLabel: "ctime" -->
393
- <dd>
394
- <p>Returns ctime.</p>
395
- <p>RETURN VALUE</p>
396
- <ul>
397
- <li>a Time</li>
398
- </ul></dd>
399
- <dt><h4><a name="label-47" id="label-47"><code>mtime_like_ls_l</code></a></h4></dt><!-- RDLabel: "mtime_like_ls_l" -->
400
- <dd>
401
- <p>Returns the last modified time formated as in ls -l.
402
- That is, if the time of last modification is greater than
403
- six months ago, it is shown in the format 'month date year';
404
- otherwise, 'month date time'.</p>
405
- <p>RETURN VALUE</p>
406
- <ul>
407
- <li>a String.</li>
408
- </ul></dd>
409
- </dl>
410
-
411
- </body>
412
- </html>
data/doc/gdir_client.html DELETED
@@ -1,16 +0,0 @@
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/gdir_client</title>
8
- </head>
9
- <body>
10
- <h1><a name="label:0" id="label:0">gdir_client</a></h1><!-- RDLabel: "gdir_client" -->
11
- <p>A client of gdir_server using irb.</p>
12
- <p>This command is just equal to</p>
13
- <pre>irb -r numru/gdir_connect_ftp-like</pre>
14
-
15
- </body>
16
- </html>
@@ -1,61 +0,0 @@
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/gdir_connect_ftp-like.rb</title>
8
- </head>
9
- <body>
10
- <h1><a name="label:0" id="label:0">irb start-up program numru/gdir_connect_ftp-like</a></h1><!-- RDLabel: "irb start-up program numru/gdir_connect_ftp-like" -->
11
- <p>A ftp-like client of GPhys directory services (e.g., gdir_server.rb).
12
- Connection is based on dRuby.</p>
13
- <h2><a name="label:1" id="label:1">Usage</a></h2><!-- RDLabel: "Usage" -->
14
- <pre>At command line,
15
- % irb --noinspect -r numru/gphys_connect_ftp-like
16
- then type in the URI of the server.</pre>
17
- <h2><a name="label:2" id="label:2">Available Methods</a></h2><!-- RDLabel: "Available Methods" -->
18
- <pre>Native methods:
19
- help help_more ls dir pwd cd(path) open(name) readtext(name)
20
- start_dcl(iws=1, iwidth=500, iheight=500, uzfact=1.0)
21
-
22
- All GGraph methods:
23
- contour(gphys) line(gphys) etc.etc.</pre>
24
- <h2><a name="label:3" id="label:3">Methods</a></h2><!-- RDLabel: "Methods" -->
25
- <dl>
26
- <dt><h4><a name="label:4" id="label:4"><code>help</code></a></h4></dt><!-- RDLabel: "help" -->
27
- <dd>
28
- <p>Show a help message</p></dd>
29
- <dt><h4><a name="label:5" id="label:5"><code>help_more</code></a></h4></dt><!-- RDLabel: "help_more" -->
30
- <dd>
31
- <p>Show a further help message</p></dd>
32
- <dt><h4><a name="label:6" id="label:6"><code>ls</code></a></h4></dt><!-- RDLabel: "ls" -->
33
- <dd>
34
- <p>List the directory.</p></dd>
35
- <dt><h4><a name="label:7" id="label:7"><code>dir</code></a><!-- RDLabel: "dir" -->
36
- <dt><h4><a name="label:8" id="label:8"><code>ls_l</code></a></h4></dt><!-- RDLabel: "ls_l" -->
37
- <dd>
38
- <p>Like ls but with a long descriptive format</p></dd>
39
- <dt><h4><a name="label:9" id="label:9"><code>pwd</code></a></h4></dt><!-- RDLabel: "pwd" -->
40
- <dd>
41
- <p>Prints the path of the current directory.</p></dd>
42
- <dt><h4><a name="label:10" id="label:10"><code>open(<var>name</var>)</code></a></h4></dt><!-- RDLabel: "open" -->
43
- <dd>
44
- <p>opens a GPhys, where name is a variable name in the current directory
45
- (shown by ls without trailing "/").</p></dd>
46
- <dt><h4><a name="label:11" id="label:11"><code>readtext(<var>name</var>)</code></a></h4></dt><!-- RDLabel: "readtext" -->
47
- <dd>
48
- <p>prints the contents of the text file in the current directory
49
- (shown by ls with remarks as such).</p></dd>
50
- <dt><h4><a name="label:12" id="label:12"><code>start_dcl(<var>iws</var>=<var>1</var>, <var>iwidth</var>=<var>500</var>, <var>iheight</var>=<var>500</var>, <var>uzfact</var>=<var>1</var>.<var>0</var>)</code></a></h4></dt><!-- RDLabel: "start_dcl" -->
51
- <dd>
52
- <p>To start RubyDCL (Calls DCL.gropn(iws)).
53
- Call this before using GGraph module functions such as contour.</p></dd>
54
- <dt><h4><a name="label:13" id="label:13"><code>contour</code></a><!-- RDLabel: "contour" -->
55
- <dt><h4><a name="label:14" id="label:14"><code>line</code></a></h4></dt><!-- RDLabel: "line" -->
56
- <dd>
57
- <p>GGraph methods</p></dd>
58
- </dl>
59
-
60
- </body>
61
- </html>
data/doc/gdir_server.html DELETED
@@ -1,45 +0,0 @@
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/gdir_server</title>
8
- </head>
9
- <body>
10
- <h1><a name="label-0" id="label-0">NAME</a></h1><!-- RDLabel: "NAME" -->
11
- <p>gdir_server - A stand-alone server program to provide a directory service of GPhys</p>
12
- <h1><a name="label-1" id="label-1">SYNOPSIS</a></h1><!-- RDLabel: "SYNOPSIS" -->
13
- <pre>% gdir_server top_dir [[host:]port] [-a allowed_address]..</pre>
14
- <h1><a name="label-2" id="label-2">DESCRIPTION</a></h1><!-- RDLabel: "DESCRIPTION" -->
15
- <p>A stand-alone server program to provide a directory service of GPhys
16
- objects by using GDir.</p>
17
- <h1><a name="label-3" id="label-3">OPTION</a></h1><!-- RDLabel: "OPTION" -->
18
- <dl>
19
- <dt><h4><a name="label-4" id="label-4">top_dir:</a></h4></dt><!-- RDLabel: "top_dir:" -->
20
- <dd>
21
- can be ".", "/", or whatever directory in your files system.
22
- </dd>
23
- <dt><h4><a name="label-5" id="label-5">host:</a></h4></dt><!-- RDLabel: "host:" -->
24
- <dd>
25
- host address (name or ip) -- use it if you want to specify
26
- explicitly, such as "localhost", which is useful for ssh port forwarding.
27
- </dd>
28
- <dt><h4><a name="label-6" id="label-6">port:</a></h4></dt><!-- RDLabel: "port:" -->
29
- <dd>
30
- the port number you want to assign (internally determined
31
- if not specified). A complete URI is printed if the server is started.
32
- </dd>
33
- <dt><h4><a name="label-7" id="label-7">-a:</a></h4></dt><!-- RDLabel: "-a:" -->
34
- <dd>
35
- <p>limits accesses from remote hosts only to the ones specified.
36
- Can be repeated multiple times. (Need the space between '-a' and the rest)</p>
37
- <pre>% gdir_server . 12345
38
- % gdir_server . localhost:12345 -a all
39
- % gdir_server . -a hoge.hero.org -a localhost
40
- % gdir_server . 12345 -a '192.168.1.*' -a localhost</pre>
41
- </dd>
42
- </dl>
43
-
44
- </body>
45
- </html>