gentooboontoo-gphys 0.6.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ChangeLog +1255 -0
- data/README +32 -0
- data/bin/gdir_client +9 -0
- data/bin/gdir_server +123 -0
- data/bin/gpaop +134 -0
- data/bin/gpcat +140 -0
- data/bin/gpcut +94 -0
- data/bin/gpedit +196 -0
- data/bin/gplist +67 -0
- data/bin/gpmath +114 -0
- data/bin/gpmaxmin +127 -0
- data/bin/gpprint +57 -0
- data/bin/gpvect +657 -0
- data/bin/gpview +603 -0
- data/bin/grads2nc_with_gphys +56 -0
- data/doc/attribute.html +19 -0
- data/doc/attributenetcdf.html +15 -0
- data/doc/axis.html +368 -0
- data/doc/coordmapping.html +111 -0
- data/doc/coordtransform.html +36 -0
- data/doc/derivative/gphys-derivative.html +80 -0
- data/doc/derivative/index.html +21 -0
- data/doc/derivative/index.rd +14 -0
- data/doc/derivative/math-doc/document/document.css +30 -0
- data/doc/derivative/math-doc/document/document.html +57 -0
- data/doc/derivative/math-doc/document/images.aux +1 -0
- data/doc/derivative/math-doc/document/images.log +385 -0
- data/doc/derivative/math-doc/document/images.pl +186 -0
- data/doc/derivative/math-doc/document/images.tex +364 -0
- data/doc/derivative/math-doc/document/img1.png +0 -0
- data/doc/derivative/math-doc/document/img10.png +0 -0
- data/doc/derivative/math-doc/document/img11.png +0 -0
- data/doc/derivative/math-doc/document/img12.png +0 -0
- data/doc/derivative/math-doc/document/img13.png +0 -0
- data/doc/derivative/math-doc/document/img14.png +0 -0
- data/doc/derivative/math-doc/document/img15.png +0 -0
- data/doc/derivative/math-doc/document/img16.png +0 -0
- data/doc/derivative/math-doc/document/img17.png +0 -0
- data/doc/derivative/math-doc/document/img18.png +0 -0
- data/doc/derivative/math-doc/document/img19.png +0 -0
- data/doc/derivative/math-doc/document/img2.png +0 -0
- data/doc/derivative/math-doc/document/img20.png +0 -0
- data/doc/derivative/math-doc/document/img21.png +0 -0
- data/doc/derivative/math-doc/document/img22.png +0 -0
- data/doc/derivative/math-doc/document/img23.png +0 -0
- data/doc/derivative/math-doc/document/img24.png +0 -0
- data/doc/derivative/math-doc/document/img25.png +0 -0
- data/doc/derivative/math-doc/document/img26.png +0 -0
- data/doc/derivative/math-doc/document/img27.png +0 -0
- data/doc/derivative/math-doc/document/img28.png +0 -0
- data/doc/derivative/math-doc/document/img29.png +0 -0
- data/doc/derivative/math-doc/document/img3.png +0 -0
- data/doc/derivative/math-doc/document/img30.png +0 -0
- data/doc/derivative/math-doc/document/img4.png +0 -0
- data/doc/derivative/math-doc/document/img5.png +0 -0
- data/doc/derivative/math-doc/document/img6.png +0 -0
- data/doc/derivative/math-doc/document/img7.png +0 -0
- data/doc/derivative/math-doc/document/img8.png +0 -0
- data/doc/derivative/math-doc/document/img9.png +0 -0
- data/doc/derivative/math-doc/document/index.html +57 -0
- data/doc/derivative/math-doc/document/labels.pl +13 -0
- data/doc/derivative/math-doc/document/next.png +0 -0
- data/doc/derivative/math-doc/document/next_g.png +0 -0
- data/doc/derivative/math-doc/document/node1.html +238 -0
- data/doc/derivative/math-doc/document/node2.html +75 -0
- data/doc/derivative/math-doc/document/prev.png +0 -0
- data/doc/derivative/math-doc/document/prev_g.png +0 -0
- data/doc/derivative/math-doc/document/up.png +0 -0
- data/doc/derivative/math-doc/document/up_g.png +0 -0
- data/doc/derivative/math-doc/document.pdf +0 -0
- data/doc/derivative/math-doc/document.tex +158 -0
- data/doc/derivative/numru-derivative.html +129 -0
- data/doc/ep_flux/ep_flux.html +469 -0
- data/doc/ep_flux/ggraph_on_merdional_section.html +71 -0
- data/doc/ep_flux/index.html +31 -0
- data/doc/ep_flux/index.rd +24 -0
- data/doc/ep_flux/math-doc/document/WARNINGS +1 -0
- data/doc/ep_flux/math-doc/document/contents.png +0 -0
- data/doc/ep_flux/math-doc/document/crossref.png +0 -0
- data/doc/ep_flux/math-doc/document/document.css +30 -0
- data/doc/ep_flux/math-doc/document/document.html +101 -0
- data/doc/ep_flux/math-doc/document/images.aux +1 -0
- data/doc/ep_flux/math-doc/document/images.log +1375 -0
- data/doc/ep_flux/math-doc/document/images.pl +1328 -0
- data/doc/ep_flux/math-doc/document/images.tex +1471 -0
- data/doc/ep_flux/math-doc/document/img1.png +0 -0
- data/doc/ep_flux/math-doc/document/img10.png +0 -0
- data/doc/ep_flux/math-doc/document/img100.png +0 -0
- data/doc/ep_flux/math-doc/document/img101.png +0 -0
- data/doc/ep_flux/math-doc/document/img102.png +0 -0
- data/doc/ep_flux/math-doc/document/img103.png +0 -0
- data/doc/ep_flux/math-doc/document/img104.png +0 -0
- data/doc/ep_flux/math-doc/document/img105.png +0 -0
- data/doc/ep_flux/math-doc/document/img106.png +0 -0
- data/doc/ep_flux/math-doc/document/img107.png +0 -0
- data/doc/ep_flux/math-doc/document/img108.png +0 -0
- data/doc/ep_flux/math-doc/document/img109.png +0 -0
- data/doc/ep_flux/math-doc/document/img11.png +0 -0
- data/doc/ep_flux/math-doc/document/img110.png +0 -0
- data/doc/ep_flux/math-doc/document/img111.png +0 -0
- data/doc/ep_flux/math-doc/document/img112.png +0 -0
- data/doc/ep_flux/math-doc/document/img113.png +0 -0
- data/doc/ep_flux/math-doc/document/img114.png +0 -0
- data/doc/ep_flux/math-doc/document/img115.png +0 -0
- data/doc/ep_flux/math-doc/document/img116.png +0 -0
- data/doc/ep_flux/math-doc/document/img117.png +0 -0
- data/doc/ep_flux/math-doc/document/img118.png +0 -0
- data/doc/ep_flux/math-doc/document/img119.png +0 -0
- data/doc/ep_flux/math-doc/document/img12.png +0 -0
- data/doc/ep_flux/math-doc/document/img120.png +0 -0
- data/doc/ep_flux/math-doc/document/img121.png +0 -0
- data/doc/ep_flux/math-doc/document/img122.png +0 -0
- data/doc/ep_flux/math-doc/document/img123.png +0 -0
- data/doc/ep_flux/math-doc/document/img124.png +0 -0
- data/doc/ep_flux/math-doc/document/img125.png +0 -0
- data/doc/ep_flux/math-doc/document/img126.png +0 -0
- data/doc/ep_flux/math-doc/document/img127.png +0 -0
- data/doc/ep_flux/math-doc/document/img128.png +0 -0
- data/doc/ep_flux/math-doc/document/img129.png +0 -0
- data/doc/ep_flux/math-doc/document/img13.png +0 -0
- data/doc/ep_flux/math-doc/document/img130.png +0 -0
- data/doc/ep_flux/math-doc/document/img131.png +0 -0
- data/doc/ep_flux/math-doc/document/img132.png +0 -0
- data/doc/ep_flux/math-doc/document/img133.png +0 -0
- data/doc/ep_flux/math-doc/document/img134.png +0 -0
- data/doc/ep_flux/math-doc/document/img135.png +0 -0
- data/doc/ep_flux/math-doc/document/img136.png +0 -0
- data/doc/ep_flux/math-doc/document/img137.png +0 -0
- data/doc/ep_flux/math-doc/document/img138.png +0 -0
- data/doc/ep_flux/math-doc/document/img139.png +0 -0
- data/doc/ep_flux/math-doc/document/img14.png +0 -0
- data/doc/ep_flux/math-doc/document/img140.png +0 -0
- data/doc/ep_flux/math-doc/document/img141.png +0 -0
- data/doc/ep_flux/math-doc/document/img142.png +0 -0
- data/doc/ep_flux/math-doc/document/img143.png +0 -0
- data/doc/ep_flux/math-doc/document/img144.png +0 -0
- data/doc/ep_flux/math-doc/document/img145.png +0 -0
- data/doc/ep_flux/math-doc/document/img146.png +0 -0
- data/doc/ep_flux/math-doc/document/img147.png +0 -0
- data/doc/ep_flux/math-doc/document/img148.png +0 -0
- data/doc/ep_flux/math-doc/document/img149.png +0 -0
- data/doc/ep_flux/math-doc/document/img15.png +0 -0
- data/doc/ep_flux/math-doc/document/img150.png +0 -0
- data/doc/ep_flux/math-doc/document/img151.png +0 -0
- data/doc/ep_flux/math-doc/document/img152.png +0 -0
- data/doc/ep_flux/math-doc/document/img153.png +0 -0
- data/doc/ep_flux/math-doc/document/img154.png +0 -0
- data/doc/ep_flux/math-doc/document/img155.png +0 -0
- data/doc/ep_flux/math-doc/document/img156.png +0 -0
- data/doc/ep_flux/math-doc/document/img157.png +0 -0
- data/doc/ep_flux/math-doc/document/img158.png +0 -0
- data/doc/ep_flux/math-doc/document/img159.png +0 -0
- data/doc/ep_flux/math-doc/document/img16.png +0 -0
- data/doc/ep_flux/math-doc/document/img160.png +0 -0
- data/doc/ep_flux/math-doc/document/img161.png +0 -0
- data/doc/ep_flux/math-doc/document/img162.png +0 -0
- data/doc/ep_flux/math-doc/document/img163.png +0 -0
- data/doc/ep_flux/math-doc/document/img164.png +0 -0
- data/doc/ep_flux/math-doc/document/img165.png +0 -0
- data/doc/ep_flux/math-doc/document/img166.png +0 -0
- data/doc/ep_flux/math-doc/document/img167.png +0 -0
- data/doc/ep_flux/math-doc/document/img168.png +0 -0
- data/doc/ep_flux/math-doc/document/img169.png +0 -0
- data/doc/ep_flux/math-doc/document/img17.png +0 -0
- data/doc/ep_flux/math-doc/document/img170.png +0 -0
- data/doc/ep_flux/math-doc/document/img171.png +0 -0
- data/doc/ep_flux/math-doc/document/img172.png +0 -0
- data/doc/ep_flux/math-doc/document/img173.png +0 -0
- data/doc/ep_flux/math-doc/document/img174.png +0 -0
- data/doc/ep_flux/math-doc/document/img175.png +0 -0
- data/doc/ep_flux/math-doc/document/img176.png +0 -0
- data/doc/ep_flux/math-doc/document/img177.png +0 -0
- data/doc/ep_flux/math-doc/document/img178.png +0 -0
- data/doc/ep_flux/math-doc/document/img179.png +0 -0
- data/doc/ep_flux/math-doc/document/img18.png +0 -0
- data/doc/ep_flux/math-doc/document/img180.png +0 -0
- data/doc/ep_flux/math-doc/document/img181.png +0 -0
- data/doc/ep_flux/math-doc/document/img182.png +0 -0
- data/doc/ep_flux/math-doc/document/img183.png +0 -0
- data/doc/ep_flux/math-doc/document/img184.png +0 -0
- data/doc/ep_flux/math-doc/document/img185.png +0 -0
- data/doc/ep_flux/math-doc/document/img186.png +0 -0
- data/doc/ep_flux/math-doc/document/img187.png +0 -0
- data/doc/ep_flux/math-doc/document/img188.png +0 -0
- data/doc/ep_flux/math-doc/document/img189.png +0 -0
- data/doc/ep_flux/math-doc/document/img19.png +0 -0
- data/doc/ep_flux/math-doc/document/img190.png +0 -0
- data/doc/ep_flux/math-doc/document/img191.png +0 -0
- data/doc/ep_flux/math-doc/document/img192.png +0 -0
- data/doc/ep_flux/math-doc/document/img193.png +0 -0
- data/doc/ep_flux/math-doc/document/img194.png +0 -0
- data/doc/ep_flux/math-doc/document/img195.png +0 -0
- data/doc/ep_flux/math-doc/document/img196.png +0 -0
- data/doc/ep_flux/math-doc/document/img197.png +0 -0
- data/doc/ep_flux/math-doc/document/img198.png +0 -0
- data/doc/ep_flux/math-doc/document/img199.png +0 -0
- data/doc/ep_flux/math-doc/document/img2.png +0 -0
- data/doc/ep_flux/math-doc/document/img20.png +0 -0
- data/doc/ep_flux/math-doc/document/img200.png +0 -0
- data/doc/ep_flux/math-doc/document/img21.png +0 -0
- data/doc/ep_flux/math-doc/document/img22.png +0 -0
- data/doc/ep_flux/math-doc/document/img23.png +0 -0
- data/doc/ep_flux/math-doc/document/img24.png +0 -0
- data/doc/ep_flux/math-doc/document/img25.png +0 -0
- data/doc/ep_flux/math-doc/document/img26.png +0 -0
- data/doc/ep_flux/math-doc/document/img27.png +0 -0
- data/doc/ep_flux/math-doc/document/img28.png +0 -0
- data/doc/ep_flux/math-doc/document/img29.png +0 -0
- data/doc/ep_flux/math-doc/document/img3.png +0 -0
- data/doc/ep_flux/math-doc/document/img30.png +0 -0
- data/doc/ep_flux/math-doc/document/img31.png +0 -0
- data/doc/ep_flux/math-doc/document/img32.png +0 -0
- data/doc/ep_flux/math-doc/document/img33.png +0 -0
- data/doc/ep_flux/math-doc/document/img34.png +0 -0
- data/doc/ep_flux/math-doc/document/img35.png +0 -0
- data/doc/ep_flux/math-doc/document/img36.png +0 -0
- data/doc/ep_flux/math-doc/document/img37.png +0 -0
- data/doc/ep_flux/math-doc/document/img38.png +0 -0
- data/doc/ep_flux/math-doc/document/img39.png +0 -0
- data/doc/ep_flux/math-doc/document/img4.png +0 -0
- data/doc/ep_flux/math-doc/document/img40.png +0 -0
- data/doc/ep_flux/math-doc/document/img41.png +0 -0
- data/doc/ep_flux/math-doc/document/img42.png +0 -0
- data/doc/ep_flux/math-doc/document/img43.png +0 -0
- data/doc/ep_flux/math-doc/document/img44.png +0 -0
- data/doc/ep_flux/math-doc/document/img45.png +0 -0
- data/doc/ep_flux/math-doc/document/img46.png +0 -0
- data/doc/ep_flux/math-doc/document/img47.png +0 -0
- data/doc/ep_flux/math-doc/document/img48.png +0 -0
- data/doc/ep_flux/math-doc/document/img49.png +0 -0
- data/doc/ep_flux/math-doc/document/img5.png +0 -0
- data/doc/ep_flux/math-doc/document/img50.png +0 -0
- data/doc/ep_flux/math-doc/document/img51.png +0 -0
- data/doc/ep_flux/math-doc/document/img52.png +0 -0
- data/doc/ep_flux/math-doc/document/img53.png +0 -0
- data/doc/ep_flux/math-doc/document/img54.png +0 -0
- data/doc/ep_flux/math-doc/document/img55.png +0 -0
- data/doc/ep_flux/math-doc/document/img56.png +0 -0
- data/doc/ep_flux/math-doc/document/img57.png +0 -0
- data/doc/ep_flux/math-doc/document/img58.png +0 -0
- data/doc/ep_flux/math-doc/document/img59.png +0 -0
- data/doc/ep_flux/math-doc/document/img6.png +0 -0
- data/doc/ep_flux/math-doc/document/img60.png +0 -0
- data/doc/ep_flux/math-doc/document/img61.png +0 -0
- data/doc/ep_flux/math-doc/document/img62.png +0 -0
- data/doc/ep_flux/math-doc/document/img63.png +0 -0
- data/doc/ep_flux/math-doc/document/img64.png +0 -0
- data/doc/ep_flux/math-doc/document/img65.png +0 -0
- data/doc/ep_flux/math-doc/document/img66.png +0 -0
- data/doc/ep_flux/math-doc/document/img67.png +0 -0
- data/doc/ep_flux/math-doc/document/img68.png +0 -0
- data/doc/ep_flux/math-doc/document/img69.png +0 -0
- data/doc/ep_flux/math-doc/document/img7.png +0 -0
- data/doc/ep_flux/math-doc/document/img70.png +0 -0
- data/doc/ep_flux/math-doc/document/img71.png +0 -0
- data/doc/ep_flux/math-doc/document/img72.png +0 -0
- data/doc/ep_flux/math-doc/document/img73.png +0 -0
- data/doc/ep_flux/math-doc/document/img74.png +0 -0
- data/doc/ep_flux/math-doc/document/img75.png +0 -0
- data/doc/ep_flux/math-doc/document/img76.png +0 -0
- data/doc/ep_flux/math-doc/document/img77.png +0 -0
- data/doc/ep_flux/math-doc/document/img78.png +0 -0
- data/doc/ep_flux/math-doc/document/img79.png +0 -0
- data/doc/ep_flux/math-doc/document/img8.png +0 -0
- data/doc/ep_flux/math-doc/document/img80.png +0 -0
- data/doc/ep_flux/math-doc/document/img81.png +0 -0
- data/doc/ep_flux/math-doc/document/img82.png +0 -0
- data/doc/ep_flux/math-doc/document/img83.png +0 -0
- data/doc/ep_flux/math-doc/document/img84.png +0 -0
- data/doc/ep_flux/math-doc/document/img85.png +0 -0
- data/doc/ep_flux/math-doc/document/img86.png +0 -0
- data/doc/ep_flux/math-doc/document/img87.png +0 -0
- data/doc/ep_flux/math-doc/document/img88.png +0 -0
- data/doc/ep_flux/math-doc/document/img89.png +0 -0
- data/doc/ep_flux/math-doc/document/img9.png +0 -0
- data/doc/ep_flux/math-doc/document/img90.png +0 -0
- data/doc/ep_flux/math-doc/document/img91.png +0 -0
- data/doc/ep_flux/math-doc/document/img92.png +0 -0
- data/doc/ep_flux/math-doc/document/img93.png +0 -0
- data/doc/ep_flux/math-doc/document/img94.png +0 -0
- data/doc/ep_flux/math-doc/document/img95.png +0 -0
- data/doc/ep_flux/math-doc/document/img96.png +0 -0
- data/doc/ep_flux/math-doc/document/img97.png +0 -0
- data/doc/ep_flux/math-doc/document/img98.png +0 -0
- data/doc/ep_flux/math-doc/document/img99.png +0 -0
- data/doc/ep_flux/math-doc/document/index.html +101 -0
- data/doc/ep_flux/math-doc/document/internals.pl +258 -0
- data/doc/ep_flux/math-doc/document/labels.pl +265 -0
- data/doc/ep_flux/math-doc/document/next.png +0 -0
- data/doc/ep_flux/math-doc/document/next_g.png +0 -0
- data/doc/ep_flux/math-doc/document/node1.html +104 -0
- data/doc/ep_flux/math-doc/document/node10.html +164 -0
- data/doc/ep_flux/math-doc/document/node11.html +86 -0
- data/doc/ep_flux/math-doc/document/node12.html +166 -0
- data/doc/ep_flux/math-doc/document/node13.html +897 -0
- data/doc/ep_flux/math-doc/document/node14.html +1065 -0
- data/doc/ep_flux/math-doc/document/node15.html +72 -0
- data/doc/ep_flux/math-doc/document/node16.html +81 -0
- data/doc/ep_flux/math-doc/document/node2.html +82 -0
- data/doc/ep_flux/math-doc/document/node3.html +91 -0
- data/doc/ep_flux/math-doc/document/node4.html +149 -0
- data/doc/ep_flux/math-doc/document/node5.html +330 -0
- data/doc/ep_flux/math-doc/document/node6.html +99 -0
- data/doc/ep_flux/math-doc/document/node7.html +98 -0
- data/doc/ep_flux/math-doc/document/node8.html +83 -0
- data/doc/ep_flux/math-doc/document/node9.html +140 -0
- data/doc/ep_flux/math-doc/document/prev.png +0 -0
- data/doc/ep_flux/math-doc/document/prev_g.png +0 -0
- data/doc/ep_flux/math-doc/document/up.png +0 -0
- data/doc/ep_flux/math-doc/document/up_g.png +0 -0
- data/doc/ep_flux/math-doc/document.pdf +0 -0
- data/doc/ep_flux/math-doc/document.tex +2018 -0
- data/doc/gdir.html +412 -0
- data/doc/gdir_client.html +16 -0
- data/doc/gdir_connect_ftp-like.html +61 -0
- data/doc/gdir_server.html +33 -0
- data/doc/ggraph.html +1332 -0
- data/doc/gpcat.html +27 -0
- data/doc/gpcut.html +27 -0
- data/doc/gphys.html +501 -0
- data/doc/gphys_fft.html +183 -0
- data/doc/gphys_grads_io.html +69 -0
- data/doc/gphys_grib_io.html +82 -0
- data/doc/gphys_io.html +96 -0
- data/doc/gphys_io_common.html +18 -0
- data/doc/gphys_netcdf_io.html +283 -0
- data/doc/gplist.html +23 -0
- data/doc/gpmath.html +34 -0
- data/doc/gpmaxmin.html +30 -0
- data/doc/gpprint.html +32 -0
- data/doc/gpview.html +187 -0
- data/doc/grads2nc_with_gphys.html +23 -0
- data/doc/grads_gridded.html +307 -0
- data/doc/grib.html +101 -0
- data/doc/grid.html +240 -0
- data/doc/index.html +125 -0
- data/doc/index.rd +121 -0
- data/doc/netcdf_convention.html +136 -0
- data/doc/unumeric.html +127 -0
- data/doc/update +64 -0
- data/doc/varray.html +293 -0
- data/doc/varraycomposite.html +67 -0
- data/lib/numru/dclext_datetime_ax.rb +220 -0
- data/lib/numru/derivative.rb +298 -0
- data/lib/numru/gdir.rb +1038 -0
- data/lib/numru/gdir_connect_ftp-like.rb +149 -0
- data/lib/numru/ggraph.rb +4604 -0
- data/lib/numru/ggraph_on_merdional_section.rb +178 -0
- data/lib/numru/gphys/attribute.rb +130 -0
- data/lib/numru/gphys/attributenetcdf.rb +80 -0
- data/lib/numru/gphys/axis.rb +958 -0
- data/lib/numru/gphys/coordmapping.rb +286 -0
- data/lib/numru/gphys/coordtransform.rb +209 -0
- data/lib/numru/gphys/derivative.rb +297 -0
- data/lib/numru/gphys/ep_flux.rb +868 -0
- data/lib/numru/gphys/gpcommon.rb +52 -0
- data/lib/numru/gphys/gphys.rb +1121 -0
- data/lib/numru/gphys/gphys_fft.rb +538 -0
- data/lib/numru/gphys/gphys_grads_io.rb +212 -0
- data/lib/numru/gphys/gphys_grib_io.rb +214 -0
- data/lib/numru/gphys/gphys_io.rb +363 -0
- data/lib/numru/gphys/gphys_io_common.rb +126 -0
- data/lib/numru/gphys/gphys_netcdf_io.rb +767 -0
- data/lib/numru/gphys/gphys_nusdas_io.rb +78 -0
- data/lib/numru/gphys/grads_gridded.rb +1539 -0
- data/lib/numru/gphys/grib.rb +2005 -0
- data/lib/numru/gphys/grib_params.rb +1270 -0
- data/lib/numru/gphys/grid.rb +602 -0
- data/lib/numru/gphys/netcdf_convention.rb +366 -0
- data/lib/numru/gphys/subsetmapping.rb +332 -0
- data/lib/numru/gphys/unumeric.rb +452 -0
- data/lib/numru/gphys/varray.rb +1079 -0
- data/lib/numru/gphys/varraycomposite.rb +415 -0
- data/lib/numru/gphys/varraygrads.rb +225 -0
- data/lib/numru/gphys/varraygrib.rb +177 -0
- data/lib/numru/gphys/varraynetcdf.rb +348 -0
- data/lib/numru/gphys/varraynusdas.rb +59 -0
- data/lib/numru/gphys.rb +7 -0
- data/lib/numru/htdir.rb +170 -0
- data/lib/numru/vizshot.rb +697 -0
- data/sample/cira86_to_nc.rb +122 -0
- data/sample/druby_cli1.rb +21 -0
- data/sample/druby_cli2.rb +34 -0
- data/sample/druby_serv1.rb +30 -0
- data/sample/druby_serv2.rb +64 -0
- data/sample/ep_flux/demo_NCEP_1.rb +48 -0
- data/sample/ep_flux/demo_NCEP_2.rb +57 -0
- data/sample/ep_flux/demo_NCEP_3.rb +81 -0
- data/sample/ggraph_latlon_labelling_dr002690.rb +159 -0
- data/sample/ggraph_mapfit-axes_dr002687.rb +131 -0
- data/sample/map_projection.rb +121 -0
- data/test/test_ep_flux.rb +533 -0
- data/testdata/T.jan.ctl +12 -0
- data/testdata/T.jan.dat +0 -0
- data/testdata/T.jan.grib +0 -0
- data/testdata/T.jan.nc +0 -0
- data/testdata/T.jan.packed.withmiss.nc +0 -0
- data/testdata/UV.jan.nc +0 -0
- data/testdata/cira86.dat +1332 -0
- metadata +527 -0
@@ -0,0 +1,307 @@
|
|
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/grads_gridded.rb</title>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
<h1><a name="label:0" id="label:0">NumRu::GrADS_Gridded -- a class for GrADS gridded datasets</a></h1><!-- RDLabel: "NumRu::GrADS_Gridded ­­ a class for GrADS gridded datasets" -->
|
11
|
+
<p>by T Horinouchi and R Mizuta</p>
|
12
|
+
<h2><a name="label:1" id="label:1">Overview</a></h2><!-- RDLabel: "Overview" -->
|
13
|
+
<p>a GrADS_Gridded object corresponds to a GrADS control file,
|
14
|
+
through which the users can also access its binary data file(s).</p>
|
15
|
+
<h2><a name="label:2" id="label:2">Current Limitations</a></h2><!-- RDLabel: "Current Limitations" -->
|
16
|
+
<ul>
|
17
|
+
<li>option 365_day_calendar is not interpreted</li>
|
18
|
+
<li>Partial support of the "template" option
|
19
|
+
(only %y2,%y4,%m1,%m2,%d1,%d2,%h1,%h2,%n2)
|
20
|
+
(Time is assumed to be increasing monotonically).</li>
|
21
|
+
</ul>
|
22
|
+
<h2><a name="label:3" id="label:3">Class Methods</a></h2><!-- RDLabel: "Class Methods" -->
|
23
|
+
<dl>
|
24
|
+
<dt><h4><a name="label:4" id="label:4"><code>GrADS_Gridded.new(<var>ctlfilename</var>, <var>mode</var>="<var>r</var>")</code></a></h4></dt><!-- RDLabel: "GrADS_Gridded.new" -->
|
25
|
+
<dd>
|
26
|
+
<p>same as GrADS_Gridded.open</p></dd>
|
27
|
+
<dt><h4><a name="label:5" id="label:5"><code>GrADS_Gridded.open(<var>ctlfilename</var>, <var>mode</var>="<var>r</var>")</code></a></h4></dt><!-- RDLabel: "GrADS_Gridded.open" -->
|
28
|
+
<dd>
|
29
|
+
<p>make a new GrADS_Gridded object. </p>
|
30
|
+
<p>ARGUMENTS</p>
|
31
|
+
<ul>
|
32
|
+
<li>ctlfilename (String): name of the control file to open</li>
|
33
|
+
<li>mode (String): IO mode. "r" (read only) or "w" (write only).</li>
|
34
|
+
</ul>
|
35
|
+
<p>REMARK</p>
|
36
|
+
<ul>
|
37
|
+
<li>You can modify the object through instance methods even if mode=="r".
|
38
|
+
In that case, the modification will not be written in the original
|
39
|
+
control file.</li>
|
40
|
+
</ul></dd>
|
41
|
+
<dt><h4><a name="label:6" id="label:6"><code>GrADS_Gridded.create(<var>ctlfilename</var>, <var>noclobber</var>=<var>false</var>, <var>share</var>=<var>false</var>)</code></a></h4></dt><!-- RDLabel: "GrADS_Gridded.create" -->
|
42
|
+
<dd>
|
43
|
+
<p>make a new GrADS_Gridded object with creating a new control file</p>
|
44
|
+
<p>REMARK</p>
|
45
|
+
<ul>
|
46
|
+
<li>It is used with writing methods, but currently writing methods
|
47
|
+
does not work. </li>
|
48
|
+
</ul></dd>
|
49
|
+
</dl>
|
50
|
+
<h2><a name="label:7" id="label:7">Methods</a></h2><!-- RDLabel: "Methods" -->
|
51
|
+
<dl>
|
52
|
+
<dt><h4><a name="label:8" id="label:8"><code>ndims</code></a></h4></dt><!-- RDLabel: "ndims" -->
|
53
|
+
<dd>
|
54
|
+
<p>returns the number of dimensions in the file (always 4). </p></dd>
|
55
|
+
<dt><h4><a name="label:9" id="label:9"><code>nvars</code></a></h4></dt><!-- RDLabel: "nvars" -->
|
56
|
+
<dd>
|
57
|
+
<p>returns the number of variables in the file. </p></dd>
|
58
|
+
<dt><h4><a name="label:10" id="label:10"><code>natts</code></a></h4></dt><!-- RDLabel: "natts" -->
|
59
|
+
<dd>
|
60
|
+
<p>returns the number of attributes of the variable.</p></dd>
|
61
|
+
<dt><h4><a name="label:11" id="label:11"><code>path</code></a></h4></dt><!-- RDLabel: "path" -->
|
62
|
+
<dd>
|
63
|
+
<p>returns the path of the control file.</p></dd>
|
64
|
+
<dt><h4><a name="label:12" id="label:12"><code>put_att( <var>attname</var>, <var>value</var> )</code></a></h4></dt><!-- RDLabel: "put_att" -->
|
65
|
+
<dd>
|
66
|
+
<p>set global attribute</p>
|
67
|
+
<p>ARGUMENTS</p>
|
68
|
+
<ul>
|
69
|
+
<li>attrname (String): name of an attribute</li>
|
70
|
+
<li>value (String): value of an attribute</li>
|
71
|
+
</ul></dd>
|
72
|
+
<dt><h4><a name="label:13" id="label:13"><code>def_var(<var>name</var>="<var>noname</var>",<var>nlev</var>=<var>0</var>,<var>option</var>="<var>99</var>",<var>description</var>="")</code></a></h4></dt><!-- RDLabel: "def_var" -->
|
73
|
+
<dd>
|
74
|
+
<p>define a variable</p>
|
75
|
+
<p>ARGUMENTS</p>
|
76
|
+
<ul>
|
77
|
+
<li>name (String): name of the variable</li>
|
78
|
+
<li>nlev (Integer): number of vertical levels</li>
|
79
|
+
<li>option (String): variable placement option
|
80
|
+
("99": normal, "-1,30": transpose lon and lat)</li>
|
81
|
+
</ul></dd>
|
82
|
+
<dt><h4><a name="label:14" id="label:14"><code>var( <var>varname</var>=<var>nil</var> )</code></a></h4></dt><!-- RDLabel: "var" -->
|
83
|
+
<dd>
|
84
|
+
<p>opens an existing variable in the file. </p>
|
85
|
+
<p>ARGUMENTS</p>
|
86
|
+
<ul>
|
87
|
+
<li>varname (String): name of the variable to open</li>
|
88
|
+
</ul>
|
89
|
+
<p>RETURN VALUE</p>
|
90
|
+
<ul>
|
91
|
+
<li>a GrADSVar object. </li>
|
92
|
+
</ul></dd>
|
93
|
+
<dt><h4><a name="label:15" id="label:15"><code>vars( <var>names</var>=<var>nil</var> )</code></a></h4></dt><!-- RDLabel: "vars" -->
|
94
|
+
<dd>
|
95
|
+
<p>opens existing variables in the file. </p>
|
96
|
+
<p>ARGUMENTS</p>
|
97
|
+
<ul>
|
98
|
+
<li>names (Array): names(String) of the variable to open</li>
|
99
|
+
</ul>
|
100
|
+
<p>RETURN VALUE</p>
|
101
|
+
<ul>
|
102
|
+
<li>Array of GrADSVar objects.
|
103
|
+
returns all variables if names==nil</li>
|
104
|
+
</ul></dd>
|
105
|
+
<dt><h4><a name="label:16" id="label:16"><code>get_att( <var>key</var>=<var>nil</var> )</code></a></h4></dt><!-- RDLabel: "get_att" -->
|
106
|
+
<dd>
|
107
|
+
<p>returns tha value of the global attribute</p></dd>
|
108
|
+
<dt><h4><a name="label:17" id="label:17"><code>dim_names</code></a></h4></dt><!-- RDLabel: "dim_names" -->
|
109
|
+
<dd>
|
110
|
+
<p>returns the names of all dimensions in the control file.</p></dd>
|
111
|
+
<dt><h4><a name="label:18" id="label:18"><code>var_names</code></a></h4></dt><!-- RDLabel: "var_names" -->
|
112
|
+
<dd>
|
113
|
+
<p>returns the names of all variables in the control file.</p></dd>
|
114
|
+
<dt><h4><a name="label:19" id="label:19"><code>att_names</code></a></h4></dt><!-- RDLabel: "att_names" -->
|
115
|
+
<dd>
|
116
|
+
<p>returns the names of all the global attributes.</p></dd>
|
117
|
+
<dt><h4><a name="label:20" id="label:20"><code>to_ctl</code></a></h4></dt><!-- RDLabel: "to_ctl" -->
|
118
|
+
<dd>
|
119
|
+
<p>returns the contents of the corresponding control file as a String.</p>
|
120
|
+
<p>REMARK</p>
|
121
|
+
<ul>
|
122
|
+
<li>The contents is reconstructed from the internal data of the object.
|
123
|
+
Therefore, even when the object is based on a read-only control file,
|
124
|
+
it is not necessarily the same as the original one. It is especially
|
125
|
+
true when the object was modified after it is opened.</li>
|
126
|
+
</ul></dd>
|
127
|
+
<dt><h4><a name="label:21" id="label:21"><code>get(<var>name</var>, <var>z</var>, <var>t</var>)</code></a></h4></dt><!-- RDLabel: "get" -->
|
128
|
+
<dd>
|
129
|
+
<p>reads the binary data and returns as a NArray.</p>
|
130
|
+
<p>ARGUMENTS</p>
|
131
|
+
<ul>
|
132
|
+
<li>name (String): name of the variable to read</li>
|
133
|
+
<li>z (Integer, currently): vertical level to read (0,1,2,...; starting
|
134
|
+
from 0). Currently only one vertical levels must be chosen, but in the
|
135
|
+
future, it is planned to support multiple levels.</li>
|
136
|
+
<li>t (Integer, currently): time to read (0,1,2,...; starting
|
137
|
+
from 0). Currently only one time must be chosen, but in the
|
138
|
+
future, it is planned to support multiple times.</li>
|
139
|
+
</ul></dd>
|
140
|
+
<dt><h4><a name="label:22" id="label:22"><code>put(<var>ary</var>)</code></a></h4></dt><!-- RDLabel: "put" -->
|
141
|
+
<dd>
|
142
|
+
<p>writes the NArray on the binary data file. </p>
|
143
|
+
<p>ARGUMENTS</p>
|
144
|
+
<ul>
|
145
|
+
<li>ary (NArray): data to write. </li>
|
146
|
+
</ul></dd>
|
147
|
+
<dt><h4><a name="label:23" id="label:23"><code>varnames</code></a></h4></dt><!-- RDLabel: "varnames" -->
|
148
|
+
<dd>
|
149
|
+
<p>Returns names of the variable in the GrADS file as an Array in the order
|
150
|
+
placed.</p></dd>
|
151
|
+
<dt><h4><a name="label:24" id="label:24"><code>dimensions</code></a></h4></dt><!-- RDLabel: "dimensions" -->
|
152
|
+
<dd>
|
153
|
+
<p>Returns info on the four dimensions.</p>
|
154
|
+
<p>RETURN VALUE</p>
|
155
|
+
<ul>
|
156
|
+
<li><p>an Array of 4 elements: dimension[0] for x, dimension[1] for y,
|
157
|
+
dimension[2] for z, and dimension[3] for t. Each of them is a
|
158
|
+
Hash like the following:</p>
|
159
|
+
<pre>{:name=>"x",
|
160
|
+
:len=>132,
|
161
|
+
:flag=>"LINEAR",
|
162
|
+
:spec=>"-0.7500 1.5000",
|
163
|
+
:start=>-0.75, :increment=>1.5,
|
164
|
+
:description=>"longitude",
|
165
|
+
:units=>"degrees_east"}</pre>
|
166
|
+
<p>Here, :len, :flag, and :spec are directly from the control file, while
|
167
|
+
others are derived properties for internal use. </p></li>
|
168
|
+
</ul>
|
169
|
+
<p>WARNING</p>
|
170
|
+
<ul>
|
171
|
+
<li>Each elements of the return value is not a clone but is a direct
|
172
|
+
association to an internal object of the object. Therefore, to
|
173
|
+
modify it is to modify the object. That is, dimensions[0][:len]=10
|
174
|
+
would actually change the internal variable, while dimensions[0]=nil
|
175
|
+
has no effect (the former is a substitution IN a Hash, while the latter
|
176
|
+
is a substitution OF the Hash).</li>
|
177
|
+
</ul></dd>
|
178
|
+
<dt><h4><a name="label:25" id="label:25"><code>get_dim(<var>dim</var>)</code></a></h4></dt><!-- RDLabel: "get_dim" -->
|
179
|
+
<dd>
|
180
|
+
<p>returns positions of a dimension as an NArray.</p>
|
181
|
+
<p>ARGUMENTS</p>
|
182
|
+
<ul>
|
183
|
+
<li>dim (String): a dimension name</li>
|
184
|
+
</ul>
|
185
|
+
<p>RETURN VALUE</p>
|
186
|
+
<ul>
|
187
|
+
<li>an NArray</li>
|
188
|
+
</ul></dd>
|
189
|
+
<dt><h4><a name="label:26" id="label:26"><code>title</code></a><!-- RDLabel: "title" -->
|
190
|
+
<dt><h4><a name="label:27" id="label:27"><code>title=</code></a></h4></dt><!-- RDLabel: "title=" -->
|
191
|
+
<dd>
|
192
|
+
<p>get/set the title</p></dd>
|
193
|
+
<dt><h4><a name="label:28" id="label:28"><code>undef</code></a><!-- RDLabel: "undef" -->
|
194
|
+
<dt><h4><a name="label:29" id="label:29"><code>undef=</code></a></h4></dt><!-- RDLabel: "undef=" -->
|
195
|
+
<dd>
|
196
|
+
<p>get/set the undef value</p></dd>
|
197
|
+
<dt><h4><a name="label:30" id="label:30"><code>dset</code></a><!-- RDLabel: "dset" -->
|
198
|
+
<dt><h4><a name="label:31" id="label:31"><code>dset=</code></a></h4></dt><!-- RDLabel: "dset=" -->
|
199
|
+
<dd>
|
200
|
+
<p>get/set the dset string</p></dd>
|
201
|
+
</dl>
|
202
|
+
<h1><a name="label:32" id="label:32">GrADSVar -- a class for a variable of GrADS gridded datasets</a></h1><!-- RDLabel: "GrADSVar ­­ a class for a variable of GrADS gridded datasets" -->
|
203
|
+
<p>by R Mizuta</p>
|
204
|
+
<h2><a name="label:33" id="label:33">Overview</a></h2><!-- RDLabel: "Overview" -->
|
205
|
+
<p>a GrADSVar object corresponds to one variable in a GrADS control file.
|
206
|
+
It is intended to behave as a correspondent of a NetCDFVar object. </p>
|
207
|
+
<h2><a name="label:34" id="label:34">Current Limitations</a></h2><!-- RDLabel: "Current Limitations" -->
|
208
|
+
<ul>
|
209
|
+
<li>Only a part of the methods can work. </li>
|
210
|
+
<li>Writing methods are not supported. </li>
|
211
|
+
</ul>
|
212
|
+
<h2><a name="label:35" id="label:35">Class Methods</a></h2><!-- RDLabel: "Class Methods" -->
|
213
|
+
<dl>
|
214
|
+
<dt><h4><a name="label:36" id="label:36"><code>GrADSVar.new(<var>file</var>, <var>varname</var>)</code></a></h4></dt><!-- RDLabel: "GrADSVar.new" -->
|
215
|
+
<dd>
|
216
|
+
<p>make a new GrADSVar object. </p>
|
217
|
+
<p>ARGUMENTS</p>
|
218
|
+
<ul>
|
219
|
+
<li>file (GrADS_Gridded or String): a GrADS_Gridded object or
|
220
|
+
a name of the control file to open</li>
|
221
|
+
<li>varname (String): name of the variable to open</li>
|
222
|
+
</ul></dd>
|
223
|
+
</dl>
|
224
|
+
<h2><a name="label:37" id="label:37">Methods</a></h2><!-- RDLabel: "Methods" -->
|
225
|
+
<dl>
|
226
|
+
<dt><h4><a name="label:38" id="label:38"><code>shape_ul0</code></a></h4></dt><!-- RDLabel: "shape_ul0" -->
|
227
|
+
<dd>
|
228
|
+
<p>returns the shape of the variable, but the length of the unlimited
|
229
|
+
dimension is set to zero.</p>
|
230
|
+
<p>RETURN VALUE</p>
|
231
|
+
<ul>
|
232
|
+
<li>Array. [length of 0th dim, length of 1st dim,.. ]</li>
|
233
|
+
</ul></dd>
|
234
|
+
<dt><h4><a name="label:39" id="label:39"><code>shape_current</code></a></h4></dt><!-- RDLabel: "shape_current" -->
|
235
|
+
<dd>
|
236
|
+
<p>returns the current shape of the variable.</p>
|
237
|
+
<p>RETURN VALUE</p>
|
238
|
+
<ul>
|
239
|
+
<li>Array. [length of 0th dim, length of 1st dim,.. ]</li>
|
240
|
+
</ul></dd>
|
241
|
+
<dt><h4><a name="label:40" id="label:40"><code>dim_names</code></a></h4></dt><!-- RDLabel: "dim_names" -->
|
242
|
+
<dd>
|
243
|
+
<p>returns the names of all dimensions of the variable.</p></dd>
|
244
|
+
<dt><h4><a name="label:41" id="label:41"><code>att_names</code></a></h4></dt><!-- RDLabel: "att_names" -->
|
245
|
+
<dd>
|
246
|
+
<p>returns the names of all attributes of the variable.</p></dd>
|
247
|
+
<dt><h4><a name="label:42" id="label:42"><code>name</code></a></h4></dt><!-- RDLabel: "name" -->
|
248
|
+
<dd>
|
249
|
+
<p>returns the name of the variable. </p></dd>
|
250
|
+
<dt><h4><a name="label:43" id="label:43"><code>ndims</code></a></h4></dt><!-- RDLabel: "ndims" -->
|
251
|
+
<dd>
|
252
|
+
<p>returns the number of dimensions in the file (always 4). </p></dd>
|
253
|
+
<dt><h4><a name="label:44" id="label:44"><code>rank</code></a></h4></dt><!-- RDLabel: "rank" -->
|
254
|
+
<dd>
|
255
|
+
<p>alias of ndims</p></dd>
|
256
|
+
<dt><h4><a name="label:45" id="label:45"><code>vartype</code></a></h4></dt><!-- RDLabel: "vartype" -->
|
257
|
+
<dd>
|
258
|
+
<p>returns "sfloat" in order to behave as NetCDFVar#vartype. </p></dd>
|
259
|
+
<dt><h4><a name="label:46" id="label:46"><code>natts</code></a></h4></dt><!-- RDLabel: "natts" -->
|
260
|
+
<dd>
|
261
|
+
<p>returns the number of attributes of the variable.</p></dd>
|
262
|
+
<dt><h4><a name="label:47" id="label:47"><code>file</code></a></h4></dt><!-- RDLabel: "file" -->
|
263
|
+
<dd>
|
264
|
+
<p>returns the file name that controls the variable. </p></dd>
|
265
|
+
<dt><h4><a name="label:48" id="label:48"><code>get_att( <var>name</var>=<var>nil</var> )</code></a></h4></dt><!-- RDLabel: "get_att" -->
|
266
|
+
<dd>
|
267
|
+
<p>returns tha value of the attribute of the variable.</p></dd>
|
268
|
+
<dt><h4><a name="label:49" id="label:49"><code>put_att( <var>name</var>, <var>value</var> )</code></a></h4></dt><!-- RDLabel: "put_att" -->
|
269
|
+
<dd>
|
270
|
+
<p>set an attribute of the variable. </p>
|
271
|
+
<p>ARGUMENTS</p>
|
272
|
+
<ul>
|
273
|
+
<li>name (String): name of an attribute</li>
|
274
|
+
<li>value (String): value of an attribute</li>
|
275
|
+
</ul></dd>
|
276
|
+
<dt><h4><a name="label:50" id="label:50"><code>get(<var>hash</var>=<var>nil</var>)</code></a></h4></dt><!-- RDLabel: "get" -->
|
277
|
+
<dd>
|
278
|
+
<p>returns values of the variable.</p>
|
279
|
+
<p>ARGUMENTS</p>
|
280
|
+
<ul>
|
281
|
+
<li>hash (Hash) : Optional argument to limit the portion of the
|
282
|
+
variable to output values. If omitted, the whole variable is
|
283
|
+
subject to the output. This argument accepts a Hash whose keys
|
284
|
+
contain either "index" or a combination of "start","end", and
|
285
|
+
"stride". The value of "index" points the index of a scalar
|
286
|
+
portion of the variable. The other case is used to designate a
|
287
|
+
regularly ordered subset, where "start" and "end" specifies
|
288
|
+
bounds in each dimension and "stride" specifies intervals in
|
289
|
+
it. As in Array "start", "end", and "index" can take negative
|
290
|
+
values to specify index backward from the end. However,
|
291
|
+
"stride" has to be positive, so reversing the array must be
|
292
|
+
done afterwards if you like.</li>
|
293
|
+
</ul>
|
294
|
+
<p>RETURN VALUE</p>
|
295
|
+
<ul>
|
296
|
+
<li>an NArray object</li>
|
297
|
+
</ul>
|
298
|
+
<p>REMARK
|
299
|
+
"stride","index" is not supported yet.</p></dd>
|
300
|
+
<dt><h4><a name="label:51" id="label:51"><code>[]</code></a></h4></dt><!-- RDLabel: "[]" -->
|
301
|
+
<dd>
|
302
|
+
<p>Same as GrADSVar#get but a subset is specified as in the method []
|
303
|
+
of NArray. </p></dd>
|
304
|
+
</dl>
|
305
|
+
|
306
|
+
</body>
|
307
|
+
</html>
|
data/doc/grib.html
ADDED
@@ -0,0 +1,101 @@
|
|
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/grib.rb</title>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
<h1><a name="label:0" id="label:0">Status</a></h1><!-- RDLabel: "Status" -->
|
11
|
+
<ul>
|
12
|
+
<li>only a Lon-Lat coordinate is supported</li>
|
13
|
+
<li>only simple pakking is supported</li>
|
14
|
+
<li>variable list is not complete for NCEP and ECMWF</li>
|
15
|
+
</ul>
|
16
|
+
<h1><a name="label:1" id="label:1">NumRu::Grib -- a class for Grib datasets</a></h1><!-- RDLabel: "NumRu::Grib ­­ a class for Grib datasets" -->
|
17
|
+
<h2><a name="label:2" id="label:2">Class Methods</a></h2><!-- RDLabel: "Class Methods" -->
|
18
|
+
<dl>
|
19
|
+
<dt><h4><a name="label:3" id="label:3"><code>Grib.new(<var>filename</var>, <var>mode</var>="<var>r</var>")</code></a></h4></dt><!-- RDLabel: "Grib.new" -->
|
20
|
+
<dd>
|
21
|
+
<p>make a new Grib object.</p>
|
22
|
+
<p>ARGUMENTS</p>
|
23
|
+
<ul>
|
24
|
+
<li>filename (String): name of the file to open</li>
|
25
|
+
<li>mode (String): IO mode. "r" (read only) or "w" (write only).</li>
|
26
|
+
</ul></dd>
|
27
|
+
<dt><h4><a name="label:4" id="label:4"><code>Grib.open(<var>filename</var>)</code></a></h4></dt><!-- RDLabel: "Grib.open" -->
|
28
|
+
<dd>
|
29
|
+
<p>open a Grib file.</p></dd>
|
30
|
+
<dt><h4><a name="label:5" id="label:5"><code>Grib.create(<var>filename</var>)</code></a></h4></dt><!-- RDLabel: "Grib.create" -->
|
31
|
+
<dd>
|
32
|
+
<p>create a Grib file.</p></dd>
|
33
|
+
<dt><h4><a name="label:6" id="label:6"><code>Grib.is_aGrib?(<var>filename</var>)</code></a></h4></dt><!-- RDLabel: "Grib.is_aGrib?" -->
|
34
|
+
<dd>
|
35
|
+
<p>return true when file is a Grib dataset</p></dd>
|
36
|
+
</dl>
|
37
|
+
<h2><a name="label:7" id="label:7">Methods</a></h2><!-- RDLabel: "Methods" -->
|
38
|
+
<dl>
|
39
|
+
<dt><h4><a name="label:8" id="label:8"><code>close</code></a><!-- RDLabel: "close" -->
|
40
|
+
<dt><h4><a name="label:9" id="label:9"><code>parse</code></a><!-- RDLabel: "parse" -->
|
41
|
+
<dt><h4><a name="label:10" id="label:10"><code>path</code></a><!-- RDLabel: "path" -->
|
42
|
+
<dt><h4><a name="label:11" id="label:11"><code>var_names</code></a><!-- RDLabel: "var_names" -->
|
43
|
+
<dt><h4><a name="label:12" id="label:12"><code>var( <var>name</var> )</code></a><!-- RDLabel: "var" -->
|
44
|
+
<dt><h4><a name="label:13" id="label:13"><code>def_var( <var>name</var> )</code></a><!-- RDLabel: "def_var" -->
|
45
|
+
<dt><h4><a name="label:14" id="label:14"><code>enddef</code></a><!-- RDLabel: "enddef" -->
|
46
|
+
<dt><h4><a name="label:15" id="label:15"><code>write</code></a><!-- RDLabel: "write" -->
|
47
|
+
</dl>
|
48
|
+
<h1><a name="label:16" id="label:16">NumRu::GribDim</a></h1><!-- RDLabel: "NumRu::GribDim" -->
|
49
|
+
<h2><a name="label:17" id="label:17">Class Methods</a></h2><!-- RDLabel: "Class Methods" -->
|
50
|
+
<dl>
|
51
|
+
<dt><h4><a name="label:18" id="label:18"><code>new( <var>vat</var>, <var>name</var>, <var>length</var> )</code></a><!-- RDLabel: "new" -->
|
52
|
+
</dl>
|
53
|
+
<h2><a name="label:19" id="label:19">Methods</a></h2><!-- RDLabel: "Methods" -->
|
54
|
+
<dl>
|
55
|
+
<dt><h4><a name="label:20" id="label:20"><code>var</code></a><!-- RDLabel: "var" -->
|
56
|
+
<dt><h4><a name="label:21" id="label:21"><code>length</code></a><!-- RDLabel: "length" -->
|
57
|
+
<dt><h4><a name="label:22" id="label:22"><code>name</code></a><!-- RDLabel: "name" -->
|
58
|
+
<dt><h4><a name="label:23" id="label:23"><code>typecode</code></a><!-- RDLabel: "typecode" -->
|
59
|
+
<dt><h4><a name="label:24" id="label:24"><code>get</code></a><!-- RDLabel: "get" -->
|
60
|
+
<dt><h4><a name="label:25" id="label:25"><code>[<var>indices</var>]</code></a><!-- RDLabel: "[]" -->
|
61
|
+
<dt><h4><a name="label:26" id="label:26"><code>put_att(<var>key</var>,<var>val</var>)</code></a><!-- RDLabel: "put_att" -->
|
62
|
+
<dt><h4><a name="label:27" id="label:27"><code>set_att(<var>key</var>,<var>val</var>)</code></a><!-- RDLabel: "set_att" -->
|
63
|
+
<dt><h4><a name="label:28" id="label:28"><code>att(<var>key</var>)</code></a><!-- RDLabel: "att" -->
|
64
|
+
<dt><h4><a name="label:29" id="label:29"><code>att_names</code></a><!-- RDLabel: "att_names" -->
|
65
|
+
<dt><h4><a name="label:30" id="label:30"><code>inspect</code></a><!-- RDLabel: "inspect" -->
|
66
|
+
</dl>
|
67
|
+
<h1><a name="label:31" id="label:31">NumRu::GribVar</a></h1><!-- RDLabel: "NumRu::GribVar" -->
|
68
|
+
<h2><a name="label:32" id="label:32">Class Methods</a></h2><!-- RDLabel: "Class Methods" -->
|
69
|
+
<dl>
|
70
|
+
<dt><h4><a name="label:33" id="label:33"><code>new( <var>file</var>, <var>name</var>, <var>obj</var>, <var>dims</var> )</code></a><!-- RDLabel: "new" -->
|
71
|
+
</dl>
|
72
|
+
<h2><a name="label:34" id="label:34">Methods</a></h2><!-- RDLabel: "Methods" -->
|
73
|
+
<dl>
|
74
|
+
<dt><h4><a name="label:35" id="label:35"><code>file</code></a><!-- RDLabel: "file" -->
|
75
|
+
<dt><h4><a name="label:36" id="label:36"><code>name</code></a><!-- RDLabel: "name" -->
|
76
|
+
<dt><h4><a name="label:37" id="label:37"><code>rank</code></a><!-- RDLabel: "rank" -->
|
77
|
+
<dt><h4><a name="label:38" id="label:38"><code>total</code></a><!-- RDLabel: "total" -->
|
78
|
+
<dt><h4><a name="label:39" id="label:39"><code>set_var</code></a><!-- RDLabel: "set_var" -->
|
79
|
+
<dt><h4><a name="label:40" id="label:40"><code>set_miss</code></a><!-- RDLabel: "set_miss" -->
|
80
|
+
<dt><h4><a name="label:41" id="label:41"><code>dim_names</code></a><!-- RDLabel: "dim_names" -->
|
81
|
+
<dt><h4><a name="label:42" id="label:42"><code>dim( <var>index</var> )</code></a><!-- RDLabel: "dim" -->
|
82
|
+
<dt><h4><a name="label:43" id="label:43"><code>ndims</code></a><!-- RDLabel: "ndims" -->
|
83
|
+
<dt><h4><a name="label:44" id="label:44"><code>def_dim(<var>name</var>,<var>index</var>)</code></a><!-- RDLabel: "def_dim" -->
|
84
|
+
<dt><h4><a name="label:45" id="label:45"><code>put_att( <var>key</var>, <var>value</var> )</code></a><!-- RDLabel: "put_att" -->
|
85
|
+
<dt><h4><a name="label:46" id="label:46"><code>set_att( <var>key</var>, <var>value</var> )</code></a><!-- RDLabel: "set_att" -->
|
86
|
+
<dt><h4><a name="label:47" id="label:47"><code>att( <var>key</var> )</code></a><!-- RDLabel: "att" -->
|
87
|
+
<dt><h4><a name="label:48" id="label:48"><code>att_names</code></a><!-- RDLabel: "att_names" -->
|
88
|
+
<dt><h4><a name="label:49" id="label:49"><code>shape</code></a><!-- RDLabel: "shape" -->
|
89
|
+
<dt><h4><a name="label:50" id="label:50"><code>typecode</code></a><!-- RDLabel: "typecode" -->
|
90
|
+
<dt><h4><a name="label:51" id="label:51"><code>get( <var>indics</var> )</code></a><!-- RDLabel: "get" -->
|
91
|
+
<dt><h4><a name="label:52" id="label:52"><code>[ <var>indics</var> ]</code></a><!-- RDLabel: "[]" -->
|
92
|
+
<dt><h4><a name="label:53" id="label:53"><code>inspect</code></a><!-- RDLabel: "inspect" -->
|
93
|
+
</dl>
|
94
|
+
<pre>if pds1.time_range!=pds2.time_range
|
95
|
+
$stderr.printf("time range is not same: #{pds1.time_range} != #{pds2.time_range}\n")
|
96
|
+
return true
|
97
|
+
|
98
|
+
end</pre>
|
99
|
+
|
100
|
+
</body>
|
101
|
+
</html>
|