gphys 1.2.2.1 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +8 -17
- data/.rspec +2 -0
- data/.travis.yml +3 -0
- data/ChangeLog +5762 -753
- data/LICENSE.txt +30 -18
- data/Rakefile +1 -0
- data/bin/console +14 -0
- data/bin/gpcat +43 -2
- data/bin/gpcut +16 -0
- data/bin/gpvect +167 -15
- data/bin/gpview +254 -51
- data/bin/setup +7 -0
- data/dim_op.c +1220 -0
- data/doc/attribute.html +19 -0
- data/doc/attributenetcdf.html +15 -0
- data/doc/axis.html +387 -0
- data/doc/coordmapping.html +111 -0
- data/doc/coordtransform.html +36 -0
- data/doc/dclext.html +821 -0
- data/doc/derivative/gphys-derivative.html +100 -0
- data/doc/derivative/index.html +21 -0
- data/doc/derivative/index.rd +14 -0
- data/doc/derivative/math-doc/document.pdf +0 -0
- data/doc/derivative/math-doc/document.tex +158 -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/numru-derivative.html +158 -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.pdf +0 -0
- data/doc/ep_flux/math-doc/document.tex +2018 -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/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 +45 -0
- data/doc/ggraph.html +1119 -0
- data/doc/gpcat.html +45 -0
- data/doc/gpcut.html +47 -0
- data/doc/gphys.html +624 -0
- data/doc/gphys_fft.html +324 -0
- data/doc/gphys_grads_io.html +69 -0
- data/doc/gphys_grib_io.html +82 -0
- data/doc/gphys_io.html +183 -0
- data/doc/gphys_io_common.html +18 -0
- data/doc/gphys_netcdf_io.html +283 -0
- data/doc/gplist.html +24 -0
- data/doc/gpmath.html +52 -0
- data/doc/gpmaxmin.html +32 -0
- data/doc/gpprint.html +35 -0
- data/doc/gpview.html +349 -0
- data/doc/grads2nc_with_gphys.html +21 -0
- data/doc/grads_gridded.html +307 -0
- data/doc/grib.html +149 -0
- data/doc/grid.html +224 -0
- data/doc/index.html +145 -0
- data/doc/index.rd +138 -0
- data/doc/netcdf_convention.html +136 -0
- data/doc/unumeric.html +176 -0
- data/doc/update +69 -0
- data/doc/update_rdoc +8 -0
- data/doc/varray.html +299 -0
- data/doc/varraycomposite.html +67 -0
- data/ext_init.c +1 -0
- data/extconf.rb +16 -6
- data/gphys.gemspec +33 -26
- data/interpo.c +1 -1
- data/lib/numru/dclext.rb +718 -546
- data/lib/numru/derivative.rb +2 -0
- data/lib/numru/ganalysis.rb +38 -0
- data/lib/numru/ganalysis/beta_plane.rb +103 -0
- data/lib/numru/ganalysis/eof.rb +3 -2
- data/lib/numru/ganalysis/fitting.rb +559 -0
- data/lib/numru/ganalysis/histogram.rb +36 -19
- data/lib/numru/ganalysis/log_p.rb +130 -0
- data/lib/numru/ganalysis/met.rb +396 -2
- data/lib/numru/ganalysis/met_z.rb +300 -0
- data/lib/numru/ganalysis/planet.rb +17 -7
- data/lib/numru/ganalysis/qg.rb +685 -0
- data/lib/numru/ganalysis/sigma_coord.rb +90 -0
- data/lib/numru/gdir.rb +2 -1
- data/lib/numru/ggraph.rb +204 -60
- data/lib/numru/ggraph_on_merdional_section.rb +1 -1
- data/lib/numru/gphys.rb +6 -0
- data/lib/numru/gphys/assoccoords.rb +18 -3
- data/lib/numru/gphys/axis.rb +209 -8
- data/lib/numru/gphys/derivative.rb +11 -0
- data/lib/numru/gphys/gphys.rb +539 -48
- data/lib/numru/gphys/gphys_dim_op.rb +331 -0
- data/lib/numru/gphys/gphys_fft.rb +48 -2
- data/lib/numru/gphys/gphys_io.rb +241 -13
- data/lib/numru/gphys/gphys_netcdf_io.rb +77 -39
- data/lib/numru/gphys/gphys_nusdas_io.rb +3 -0
- data/lib/numru/gphys/grib.rb +133 -54
- data/lib/numru/gphys/grib_params.rb +26 -3
- data/lib/numru/gphys/grid.rb +75 -34
- data/lib/numru/gphys/interpolate.rb +24 -10
- data/lib/numru/gphys/mdstorage.rb +160 -0
- data/lib/numru/gphys/netcdf_convention.rb +4 -2
- data/lib/numru/gphys/subsetmapping.rb +0 -1
- data/lib/numru/gphys/unumeric.rb +50 -5
- data/lib/numru/gphys/varray.rb +15 -30
- data/lib/numru/gphys/varraycomposite.rb +107 -24
- data/lib/numru/gphys/varraynetcdf.rb +9 -3
- data/lib/numru/gphys/version.rb +5 -0
- data/sample/druby_cli1.rb +2 -0
- data/sample/druby_cli2.rb +0 -6
- data/sample/druby_serv2.rb +0 -13
- data/spec/gphys_spec.rb +11 -0
- data/spec/spec_helper.rb +2 -0
- data/test/test_assoccoords.rb +102 -0
- data/test/test_axis.rb +61 -0
- data/test/test_fitting.rb +116 -0
- data/test/test_gphys.rb +20 -0
- data/test/test_met_z.rb +96 -0
- data/test/test_sigma_coord.rb +50 -0
- data/{test → test_old}/eof_slp.rb +0 -0
- data/{test → test_old}/mltbit.dat +0 -0
- data/{test → test_old}/test_ep_flux.rb +0 -0
- data/{test → test_old}/test_multibitIO.rb +0 -0
- metadata +530 -191
- data/README.md +0 -29
- data/lib/gphys.rb +0 -2
- data/lib/numru/dclext_datetime_ax.rb +0 -220
- data/lib/version.rb +0 -3
data/doc/gplist.html
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<?xml version="1.0" ?>
|
|
2
|
+
<!DOCTYPE html
|
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
6
|
+
<head>
|
|
7
|
+
<title>../bin/gplist</title>
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<h1><a name="label-0" id="label-0">NAME</a></h1><!-- RDLabel: "NAME" -->
|
|
11
|
+
<p>gplist - print out info on GPhys-compatible variables in specified files.</p>
|
|
12
|
+
<h1><a name="label-1" id="label-1">Usage</a></h1><!-- RDLabel: "Usage" -->
|
|
13
|
+
<pre>% gplist [-h] [ FILES... ]</pre>
|
|
14
|
+
<p>where FILES are plane files (NetCDF, grib, GrADS control..) or directories.
|
|
15
|
+
If omitted, equivalent to specifing the current directory.</p>
|
|
16
|
+
<h1><a name="label-2" id="label-2">HISTORY</a></h1><!-- RDLabel: "HISTORY" -->
|
|
17
|
+
<pre>2005/05/15 S Takehiro (created)
|
|
18
|
+
2005/06/21 T Horinouchi (modified to use GDir (non-recursive version))
|
|
19
|
+
2005/08/10 S Takehiro (utilize internal function for printing help message)
|
|
20
|
+
2005/08/23 S Takehiro (common methods to gp* command moved to gpcommon.rb)
|
|
21
|
+
2010/03/10 Y SASAKI (change help block into RD format)</pre>
|
|
22
|
+
|
|
23
|
+
</body>
|
|
24
|
+
</html>
|
data/doc/gpmath.html
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<?xml version="1.0" ?>
|
|
2
|
+
<!DOCTYPE html
|
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
6
|
+
<head>
|
|
7
|
+
<title>../bin/gpmath</title>
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<h1><a name="label-0" id="label-0">NAME</a></h1><!-- RDLabel: "NAME" -->
|
|
11
|
+
<p>gpmath - operating a mathematical function to a GPhys variable. </p>
|
|
12
|
+
<h1><a name="label-1" id="label-1">USAGE</a></h1><!-- RDLabel: "USAGE" -->
|
|
13
|
+
<pre>% gpmath [options] path[@|/]varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]</pre>
|
|
14
|
+
<h1><a name="label-2" id="label-2">OPTIONS</a></h1><!-- RDLabel: "OPTIONS" -->
|
|
15
|
+
<dl>
|
|
16
|
+
<dt><h4><a name="label-3" id="label-3">-h,--help</a></h4></dt><!-- RDLabel: "-h,­­help" -->
|
|
17
|
+
<dd>
|
|
18
|
+
print this message.
|
|
19
|
+
</dd>
|
|
20
|
+
<dt><h4><a name="label-4" id="label-4">-f func, --function func</a></h4></dt><!-- RDLabel: "-f func, ­­function func" -->
|
|
21
|
+
<dd>
|
|
22
|
+
function name to operate (optional).
|
|
23
|
+
Default function name is $0[2..-1].
|
|
24
|
+
</dd>
|
|
25
|
+
<dt><h4><a name="label-5" id="label-5">-n name, --name name</a></h4></dt><!-- RDLabel: "-n name, ­­name name" -->
|
|
26
|
+
<dd>
|
|
27
|
+
name of the output gphys variable (optional).
|
|
28
|
+
</dd>
|
|
29
|
+
<dt><h4><a name="label-6" id="label-6">-l name, --longname name</a></h4></dt><!-- RDLabel: "-l name, ­­longname name" -->
|
|
30
|
+
<dd>
|
|
31
|
+
long_name attr. of the output gphys variable (optional).
|
|
32
|
+
</dd>
|
|
33
|
+
<dt><h4><a name="label-7" id="label-7">-o file, --output file</a></h4></dt><!-- RDLabel: "-o file, ­­output file" -->
|
|
34
|
+
<dd>
|
|
35
|
+
output filename (optional). Default output filename is 'gphys.nc'.
|
|
36
|
+
<ul>
|
|
37
|
+
<li>Commands which operates mathematical functions to a gphys variable are
|
|
38
|
+
successively installed by linking this sciript as a "gp+[math. func. name]".</li>
|
|
39
|
+
</ul>
|
|
40
|
+
</dd>
|
|
41
|
+
</dl>
|
|
42
|
+
<h1><a name="label-8" id="label-8">HISTORY</a></h1><!-- RDLabel: "HISTORY" -->
|
|
43
|
+
<pre>2005/06/21 S Takehiro (created)
|
|
44
|
+
2005/07/15 S Takehiro (open_gturl method is used for opening gphys variable)
|
|
45
|
+
2005/08/10 S Takehiro (utilize internal function for printing help message)
|
|
46
|
+
2005/08/21 S Takehiro (global attributes copied to the output file)
|
|
47
|
+
2005/08/23 S Takehiro (common methods to gp* command moved to gpcommon.rb)
|
|
48
|
+
2010/03/10 Y SASAKI (change help block into RD format)
|
|
49
|
+
2012/02/19 S Takehiro (description for gturl format updated)</pre>
|
|
50
|
+
|
|
51
|
+
</body>
|
|
52
|
+
</html>
|
data/doc/gpmaxmin.html
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<?xml version="1.0" ?>
|
|
2
|
+
<!DOCTYPE html
|
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
6
|
+
<head>
|
|
7
|
+
<title>../bin/gpmaxmin</title>
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<h1><a name="label-0" id="label-0">NAME</a></h1><!-- RDLabel: "NAME" -->
|
|
11
|
+
<p>gpmaxmin - printing maximum and minimum values of a GPhys variable.</p>
|
|
12
|
+
<h1><a name="label-1" id="label-1">USAGE</a></h1><!-- RDLabel: "USAGE" -->
|
|
13
|
+
<pre>% gpmaxmin [options] path[@|/]varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]</pre>
|
|
14
|
+
<h1><a name="label-2" id="label-2">OPTIONS</a></h1><!-- RDLabel: "OPTIONS" -->
|
|
15
|
+
<pre>-h, --help : Print this message.
|
|
16
|
+
-n, --number : Number of displayed points having max and min values.
|
|
17
|
+
-a, --all : All points are displayed.
|
|
18
|
+
-i, --index : Indicies of max and min points are displayed.</pre>
|
|
19
|
+
<h1><a name="label-3" id="label-3">HISTORY</a></h1><!-- RDLabel: "HISTORY" -->
|
|
20
|
+
<pre>2005/05/17 S Takehiro (created)
|
|
21
|
+
2005/07/15 S Takehiro (open_gturl method is used for opening gphys variable)
|
|
22
|
+
2005/08/07 S Takehiro (parse_gturl removed)
|
|
23
|
+
2005/08/10 S Takehiro (locations having max and min values are displayed.
|
|
24
|
+
utilize internal function for printing help message.
|
|
25
|
+
--all, --index, --number options added.)
|
|
26
|
+
2005/08/23 S Takehiro (common methods to gp* command moved to gpcommon.rb)
|
|
27
|
+
2006/03/07 M Nakano (USAGE Typo fixed)
|
|
28
|
+
2010/03/10 Y SASAKI (change help block into RD format)
|
|
29
|
+
2012/02/19 S Takehiro (description for gturl format updated)</pre>
|
|
30
|
+
|
|
31
|
+
</body>
|
|
32
|
+
</html>
|
data/doc/gpprint.html
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<?xml version="1.0" ?>
|
|
2
|
+
<!DOCTYPE html
|
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
6
|
+
<head>
|
|
7
|
+
<title>../bin/gpprint</title>
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<h1><a name="label-0" id="label-0">NAME</a></h1><!-- RDLabel: "NAME" -->
|
|
11
|
+
<p>gpprint - a command to print the values of a variable specified by a gtool4-type URL. </p>
|
|
12
|
+
<h1><a name="label-1" id="label-1">DESCRIPTION</a></h1><!-- RDLabel: "DESCRIPTION" -->
|
|
13
|
+
<p><em>gpprint</em> is a command-line tool to print the values of a variable
|
|
14
|
+
specified by a gtool4-type URL. Outputs are comma-separated ascii
|
|
15
|
+
texts with line feeding to avoid long lines and are made to stdout.</p>
|
|
16
|
+
<h1><a name="label-2" id="label-2">USAGE</a></h1><!-- RDLabel: "USAGE" -->
|
|
17
|
+
<pre>% gpprint url</pre>
|
|
18
|
+
<p>where the format of the url is </p>
|
|
19
|
+
<pre>path[@|/]varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]</pre>
|
|
20
|
+
<h1><a name="label-3" id="label-3">EXAMPLES</a></h1><!-- RDLabel: "EXAMPLES" -->
|
|
21
|
+
<pre>% gpprint data.nc@temp
|
|
22
|
+
% gpprint data.nc@temp,lon=135.0
|
|
23
|
+
% gpprint data.nc@temp,lon=130:150,lat=0
|
|
24
|
+
% gpprint data.nc@temp,lon=130:150,lat=0:90:2</pre>
|
|
25
|
+
<h1><a name="label-4" id="label-4">HISTORY</a></h1><!-- RDLabel: "HISTORY" -->
|
|
26
|
+
<pre>2004/12/14 T Horinouchi (created)
|
|
27
|
+
2005/01/12 T Horinouchi (document -> in rd)
|
|
28
|
+
2005/06/15 S Takehiro (set first_dim_length 1 when gp.shape[0] returns nil)
|
|
29
|
+
2005/08/10 S Takehiro (utilize internal function for printing help message)
|
|
30
|
+
2005/08/23 S Takehiro (common methods to gp* command moved to gpcommon.rb)
|
|
31
|
+
2010/03/10 Y SASAKI (change help block into RD format)
|
|
32
|
+
2012/02/19 S Takehiro (description for gturl format updated)</pre>
|
|
33
|
+
|
|
34
|
+
</body>
|
|
35
|
+
</html>
|
data/doc/gpview.html
ADDED
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
<?xml version="1.0" ?>
|
|
2
|
+
<!DOCTYPE html
|
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
6
|
+
<head>
|
|
7
|
+
<title>../bin/gpview</title>
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<h1><a name="label-0" id="label-0">NAME</a></h1><!-- RDLabel: "NAME" -->
|
|
11
|
+
<p>gpview - quick viewer for the values of a variable specified by a gtool4-type URL. </p>
|
|
12
|
+
<ol>
|
|
13
|
+
<li>for 1-dimensional variable, make line plot.</li>
|
|
14
|
+
<li>for 2-dimensional variable, make contour/tone plot.</li>
|
|
15
|
+
<li>for 3/more-dimensional variable, make contour/tone plot,
|
|
16
|
+
select first 2D. possible to make animation.</li>
|
|
17
|
+
</ol>
|
|
18
|
+
<h1><a name="label-1" id="label-1">USAGE</a></h1><!-- RDLabel: "USAGE" -->
|
|
19
|
+
<p>The first command form is </p>
|
|
20
|
+
<pre>% gpview [options] gturl1 gturl2 gturl3 ...</pre>
|
|
21
|
+
<p>where the format of the gturl is</p>
|
|
22
|
+
<pre>path[@|/]varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]</pre>
|
|
23
|
+
<p>The second commnad form is </p>
|
|
24
|
+
<pre>% gpview --var url [options] gtfile1 gtfile2 ...</pre>
|
|
25
|
+
<p>where the format of the url is </p>
|
|
26
|
+
<pre>varname[,dimname=pos1[:pos2[:thinning_intv]][,dimname=...]]</pre>
|
|
27
|
+
<h1><a name="label-2" id="label-2">OPTIONS</a></h1><!-- RDLabel: "OPTIONS" -->
|
|
28
|
+
<p>if you want to know more description, please read</p>
|
|
29
|
+
<pre>http://ruby.gfd-dennou.org/products/gphys/doc/gpview.html</pre>
|
|
30
|
+
<h2><a name="label-3" id="label-3">GLOBAL OPTIONS</a></h2><!-- RDLabel: "GLOBAL OPTIONS" -->
|
|
31
|
+
<dl>
|
|
32
|
+
<dt><h4><a name="label-4" id="label-4">--help:</a></h4></dt><!-- RDLabel: "­­help:" -->
|
|
33
|
+
<dd>
|
|
34
|
+
print this message.
|
|
35
|
+
</dd>
|
|
36
|
+
<dt><h4><a name="label-5" id="label-5">--var url:</a></h4></dt><!-- RDLabel: "­­var url:" -->
|
|
37
|
+
<dd>
|
|
38
|
+
set the variable name and slicing parameters.
|
|
39
|
+
</dd>
|
|
40
|
+
<dt><h4><a name="label-6" id="label-6">--wsn [1-4]:</a></h4></dt><!-- RDLabel: "­­wsn [1-4]:" -->
|
|
41
|
+
<dd>
|
|
42
|
+
set work staion number. each number represent output device:
|
|
43
|
+
1 : X window.
|
|
44
|
+
2 : PS file. (named dcl.ps)
|
|
45
|
+
3 : Tcl/Tk file.
|
|
46
|
+
4 : GTK Windows (depend on dcl-5.3)
|
|
47
|
+
</dd>
|
|
48
|
+
<dt><h4><a name="label-7" id="label-7">--clrmap [1-]:</a></h4></dt><!-- RDLabel: "­­clrmap [1-]:" -->
|
|
49
|
+
<dd>
|
|
50
|
+
set colormap to draw tone/contour.
|
|
51
|
+
</dd>
|
|
52
|
+
<dt><h4><a name="label-8" id="label-8">--itr [1-4,5-7,10-15,20-23,30-33]:</a></h4></dt><!-- RDLabel: "­­itr [1-4,5-7,10-15,20-23,30-33]:" -->
|
|
53
|
+
<dd>
|
|
54
|
+
set axis scale. default is 1.
|
|
55
|
+
1 : linear scale for x/y axis
|
|
56
|
+
2 : linear scale for x , log scale for y axis
|
|
57
|
+
3 : log scale for x , linear scale for y axis
|
|
58
|
+
4 : log scale for x/y axis
|
|
59
|
+
</dd>
|
|
60
|
+
<dt><h4><a name="label-9" id="label-9">--similar [simfac,vxoff,vyoff]:</a></h4></dt><!-- RDLabel: "­­similar [simfac,vxoff,vyoff]:" -->
|
|
61
|
+
<dd>
|
|
62
|
+
(for 5<=itr<=7) set similarity parameters which are fed in DCL.grssim.
|
|
63
|
+
</dd>
|
|
64
|
+
<dt><h4><a name="label-10" id="label-10">--map_axis [uxc,uyc,rot]:</a></h4></dt><!-- RDLabel: "­­map_axis [uxc,uyc,rot]:" -->
|
|
65
|
+
<dd>
|
|
66
|
+
(for 10<=itr<=33) set mapping parameters which are fed in DCL.umpcnt.
|
|
67
|
+
</dd>
|
|
68
|
+
<dt><h4><a name="label-11" id="label-11">--map_radius <radius>:</a></h4></dt><!-- RDLabel: "­­map_radius <radius>:" -->
|
|
69
|
+
<dd>
|
|
70
|
+
(for itr>=20) set clipping radius (degree) around the tangential point.
|
|
71
|
+
Deafault=90.
|
|
72
|
+
</dd>
|
|
73
|
+
<dt><h4><a name="label-12" id="label-12">--xcoord [xcoord]</a></h4></dt><!-- RDLabel: "­­xcoord [xcoord]" -->
|
|
74
|
+
<dd>
|
|
75
|
+
name of x-coordinate (use for associate coordinates)
|
|
76
|
+
</dd>
|
|
77
|
+
<dt><h4><a name="label-13" id="label-13">--ycoord [ycoord]</a></h4></dt><!-- RDLabel: "­­ycoord [ycoord]" -->
|
|
78
|
+
<dd>
|
|
79
|
+
name of y-coordinate (use for associate coordinates)
|
|
80
|
+
</dd>
|
|
81
|
+
<dt><h4><a name="label-14" id="label-14">--title:</a></h4></dt><!-- RDLabel: "­­title:" -->
|
|
82
|
+
<dd>
|
|
83
|
+
set title of figure
|
|
84
|
+
</dd>
|
|
85
|
+
<dt><h4><a name="label-15" id="label-15">--aspect <aspect>:</a></h4></dt><!-- RDLabel: "­­aspect <aspect>:" -->
|
|
86
|
+
<dd>
|
|
87
|
+
set aspect ratio of Viewport. default is 2.0.
|
|
88
|
+
</dd>
|
|
89
|
+
<dt><h4><a name="label-16" id="label-16">--noannotate:</a></h4></dt><!-- RDLabel: "­­noannotate:" -->
|
|
90
|
+
<dd>
|
|
91
|
+
not draw annotations.
|
|
92
|
+
</dd>
|
|
93
|
+
<dt><h4><a name="label-17" id="label-17">--animate/anim <dim>:</a></h4></dt><!-- RDLabel: "­­animate/anim <dim>:" -->
|
|
94
|
+
<dd>
|
|
95
|
+
plot animation along <dim>. <dim> must be name of dimension.
|
|
96
|
+
</dd>
|
|
97
|
+
<dt><h4><a name="label-18" id="label-18">--alternate, --Ga:</a></h4></dt><!-- RDLabel: "­­alternate, ­­Ga:" -->
|
|
98
|
+
<dd>
|
|
99
|
+
enable to backing store.
|
|
100
|
+
</dd>
|
|
101
|
+
<dt><h4><a name="label-19" id="label-19">--nowait, --Gw:</a></h4></dt><!-- RDLabel: "­­nowait, ­­Gw:" -->
|
|
102
|
+
<dd>
|
|
103
|
+
not wait for any actions if animate
|
|
104
|
+
</dd>
|
|
105
|
+
<dt><h4><a name="label-20" id="label-20">--reverse, --Gr:</a></h4></dt><!-- RDLabel: "­­reverse, ­­Gr:" -->
|
|
106
|
+
<dd>
|
|
107
|
+
plot animation reversible if animate
|
|
108
|
+
</dd>
|
|
109
|
+
<dt><h4><a name="label-21" id="label-21">--smooth, --Gaw:</a></h4></dt><!-- RDLabel: "­­smooth, ­­Gaw:" -->
|
|
110
|
+
<dd>
|
|
111
|
+
equal to --anlternate && --nowait
|
|
112
|
+
</dd>
|
|
113
|
+
<dt><h4><a name="label-22" id="label-22">--exch:</a></h4></dt><!-- RDLabel: "­­exch:" -->
|
|
114
|
+
<dd>
|
|
115
|
+
exchange(transpose) x/y axis.
|
|
116
|
+
</dd>
|
|
117
|
+
<dt><h4><a name="label-23" id="label-23">--mean <dim>:</a></h4></dt><!-- RDLabel: "­­mean <dim>:" -->
|
|
118
|
+
<dd>
|
|
119
|
+
mean along axis <dim>.
|
|
120
|
+
</dd>
|
|
121
|
+
<dt><h4><a name="label-24" id="label-24">--stddev <dim>:</a></h4></dt><!-- RDLabel: "­­stddev <dim>:" -->
|
|
122
|
+
<dd>
|
|
123
|
+
standard deviation along axis <dim>.
|
|
124
|
+
</dd>
|
|
125
|
+
<dt><h4><a name="label-25" id="label-25">--eddy <dim>:</a></h4></dt><!-- RDLabel: "­­eddy <dim>:" -->
|
|
126
|
+
<dd>
|
|
127
|
+
deviation from mean along axis <dim>.
|
|
128
|
+
</dd>
|
|
129
|
+
<dt><h4><a name="label-26" id="label-26">--diff:</a></h4></dt><!-- RDLabel: "­­diff:" -->
|
|
130
|
+
<dd>
|
|
131
|
+
calculate the difference of two variables.
|
|
132
|
+
you must provide two gturls whose size and dimension are same.
|
|
133
|
+
</dd>
|
|
134
|
+
<dt><h4><a name="label-27" id="label-27">--m, --map <map_type>:</a></h4></dt><!-- RDLabel: "­­m, ­­map <map_type>:" -->
|
|
135
|
+
<dd>
|
|
136
|
+
plot map. itr number must be set. this option is neglect if itr
|
|
137
|
+
number is 1-4. abailable map type is coast_world, border_world,
|
|
138
|
+
plate_world, state_usa, coast_japan, pref_japan
|
|
139
|
+
</dd>
|
|
140
|
+
<dt><h4><a name="label-28" id="label-28">--operation <math_func>:</a></h4></dt><!-- RDLabel: "­­operation <math_func>:" -->
|
|
141
|
+
<dd>
|
|
142
|
+
operation of the specified math function on the data.
|
|
143
|
+
<math_func> should be a math function with one argument
|
|
144
|
+
such as log10, sqrt, sin, etc.
|
|
145
|
+
</dd>
|
|
146
|
+
<dt><h4><a name="label-29" id="label-29">--time_ax [nil|false|h|ymd]:</a></h4></dt><!-- RDLabel: "­­time_ax [nil|false|h|ymd]:" -->
|
|
147
|
+
<dd>
|
|
148
|
+
<p>specify type of calendar-type time axis: </p>
|
|
149
|
+
<pre>nil (=> auto slection)
|
|
150
|
+
false (=> do not use the time axis even if
|
|
151
|
+
the units of the axis is a time one with since field)
|
|
152
|
+
"h" (=> like nil, but always use the hour-resolving datetime_ax method
|
|
153
|
+
in dclext_datetime_ax.rb)
|
|
154
|
+
"ymd" (=> like "h" but for y-m-d type using DCL.uc[xy]acl)</pre>
|
|
155
|
+
</dd>
|
|
156
|
+
<dt><h4><a name="label-30" id="label-30">-xx:yyyy=value:</a></h4></dt><!-- RDLabel: "-xx:yyyy=value:" -->
|
|
157
|
+
<dd>
|
|
158
|
+
specify Dennou Club Library internal variable.
|
|
159
|
+
'xx' is a package name prefix of DCL (eg. sg=>sgpack).
|
|
160
|
+
'yy' is a variable name of DCL.
|
|
161
|
+
'value' is a value of the DCL variable.
|
|
162
|
+
</dd>
|
|
163
|
+
</dl>
|
|
164
|
+
<h2><a name="label-31" id="label-31">LINE/MARK OPTIONS</a></h2><!-- RDLabel: "LINE/MARK OPTIONS" -->
|
|
165
|
+
<dl>
|
|
166
|
+
<dt><h4><a name="label-32" id="label-32">--line:</a></h4></dt><!-- RDLabel: "­­line:" -->
|
|
167
|
+
<dd>
|
|
168
|
+
make line plot forced. (about first 1D)
|
|
169
|
+
</dd>
|
|
170
|
+
<dt><h4><a name="label-33" id="label-33">--mark:</a></h4></dt><!-- RDLabel: "­­mark:" -->
|
|
171
|
+
<dd>
|
|
172
|
+
make mark plot forced. (about first 1D)
|
|
173
|
+
</dd>
|
|
174
|
+
<dt><h4><a name="label-34" id="label-34">--index:</a></h4></dt><!-- RDLabel: "­­index:" -->
|
|
175
|
+
<dd>
|
|
176
|
+
set DCL line index, which set the color/thickness of the line
|
|
177
|
+
primitive. please see DCL documents.
|
|
178
|
+
</dd>
|
|
179
|
+
<dt><h4><a name="label-35" id="label-35">--type:</a></h4></dt><!-- RDLabel: "­­type:" -->
|
|
180
|
+
<dd>
|
|
181
|
+
set line type.
|
|
182
|
+
</dd>
|
|
183
|
+
<dt><h4><a name="label-36" id="label-36">--range [min:max]</a></h4></dt><!-- RDLabel: "­­range [min:max]" -->
|
|
184
|
+
<dd>
|
|
185
|
+
set min/max value for line plot. min or max must be set.
|
|
186
|
+
</dd>
|
|
187
|
+
<dt><h4><a name="label-37" id="label-37">--overplot</a></h4></dt><!-- RDLabel: "­­overplot" -->
|
|
188
|
+
<dd>
|
|
189
|
+
set number of lines on each figure.
|
|
190
|
+
</dd>
|
|
191
|
+
<dt><h4><a name="label-38" id="label-38">--overplot_color, --Opc</a></h4></dt><!-- RDLabel: "­­overplot_color, ­­Opc" -->
|
|
192
|
+
<dd>
|
|
193
|
+
multiple lines are distinguished with color rather than line type.
|
|
194
|
+
</dd>
|
|
195
|
+
</dl>
|
|
196
|
+
<h2><a name="label-39" id="label-39">CONTOUR/TONE OPTIONS</a></h2><!-- RDLabel: "CONTOUR/TONE OPTIONS" -->
|
|
197
|
+
<dl>
|
|
198
|
+
<dt><h4><a name="label-40" id="label-40">--shade:</a></h4></dt><!-- RDLabel: "­­shade:" -->
|
|
199
|
+
<dd>
|
|
200
|
+
make contour and tone plot.
|
|
201
|
+
</dd>
|
|
202
|
+
<dt><h4><a name="label-41" id="label-41">--noshade:</a></h4></dt><!-- RDLabel: "­­noshade:" -->
|
|
203
|
+
<dd>
|
|
204
|
+
make contour plot, without tone.
|
|
205
|
+
</dd>
|
|
206
|
+
<dt><h4><a name="label-42" id="label-42">--nocont:</a></h4></dt><!-- RDLabel: "­­nocont:" -->
|
|
207
|
+
<dd>
|
|
208
|
+
make tone plot, without contour.
|
|
209
|
+
</dd>
|
|
210
|
+
<dt><h4><a name="label-43" id="label-43">--range [min:max]:</a></h4></dt><!-- RDLabel: "­­range [min:max]:" -->
|
|
211
|
+
<dd>
|
|
212
|
+
set min/max value for contour/tone plot. min or max must be set.
|
|
213
|
+
</dd>
|
|
214
|
+
<dt><h4><a name="label-44" id="label-44">--crange:</a></h4></dt><!-- RDLabel: "­­crange:" -->
|
|
215
|
+
<dd>
|
|
216
|
+
set min/max value for contour plot. this is more dominant than --range
|
|
217
|
+
</dd>
|
|
218
|
+
<dt><h4><a name="label-45" id="label-45">--srange:</a></h4></dt><!-- RDLabel: "­­srange:" -->
|
|
219
|
+
<dd>
|
|
220
|
+
set min/max value for tone plot. this is more dominant than --interval/int
|
|
221
|
+
</dd>
|
|
222
|
+
<dt><h4><a name="label-46" id="label-46">--interval,--int [num]:</a></h4></dt><!-- RDLabel: "­­interval,­­int [num]:" -->
|
|
223
|
+
<dd>
|
|
224
|
+
set interval value for contour/tone plot. set the number of lines if
|
|
225
|
+
you set negative value.
|
|
226
|
+
</dd>
|
|
227
|
+
<dt><h4><a name="label-47" id="label-47">--cint:</a></h4></dt><!-- RDLabel: "­­cint:" -->
|
|
228
|
+
<dd>
|
|
229
|
+
set interval value for contour plot. this is more dominant
|
|
230
|
+
than --interval/int
|
|
231
|
+
</dd>
|
|
232
|
+
<dt><h4><a name="label-48" id="label-48">--sint:</a></h4></dt><!-- RDLabel: "­­sint:" -->
|
|
233
|
+
<dd>
|
|
234
|
+
set interval value for tone plot. this is more dominant than --interval/int.
|
|
235
|
+
</dd>
|
|
236
|
+
<dt><h4><a name="label-49" id="label-49">--levels:</a></h4></dt><!-- RDLabel: "­­levels:" -->
|
|
237
|
+
<dd>
|
|
238
|
+
set values of contour/tone levels.
|
|
239
|
+
</dd>
|
|
240
|
+
<dt><h4><a name="label-50" id="label-50">--clevels:</a></h4></dt><!-- RDLabel: "­­clevels:" -->
|
|
241
|
+
<dd>
|
|
242
|
+
set values of contour levels.
|
|
243
|
+
</dd>
|
|
244
|
+
<dt><h4><a name="label-51" id="label-51">--slevels:</a></h4></dt><!-- RDLabel: "­­slevels:" -->
|
|
245
|
+
<dd>
|
|
246
|
+
set tone of contour levels.
|
|
247
|
+
</dd>
|
|
248
|
+
<dt><h4><a name="label-52" id="label-52">--patterns:</a></h4></dt><!-- RDLabel: "­­patterns:" -->
|
|
249
|
+
<dd>
|
|
250
|
+
set each patterns for tone plot.
|
|
251
|
+
</dd>
|
|
252
|
+
<dt><h4><a name="label-53" id="label-53">--tone [a|e|f|b|c]:</a></h4></dt><!-- RDLabel: "­­tone [a|e|f|b|c]:" -->
|
|
253
|
+
<dd>
|
|
254
|
+
<p>set tone subroutine:</p>
|
|
255
|
+
<pre>a (=> tone routine is selected automatically depending on the datasize)
|
|
256
|
+
e (=> DCL.uetone is used)
|
|
257
|
+
f (=> DCL.uetonf is used)
|
|
258
|
+
b (=> DCL.uetonb is used)
|
|
259
|
+
c (=> DCL.uetonc is used)</pre>
|
|
260
|
+
</dd>
|
|
261
|
+
<dt><h4><a name="label-54" id="label-54">--nocolorbar:</a></h4></dt><!-- RDLabel: "­­nocolorbar:" -->
|
|
262
|
+
<dd>
|
|
263
|
+
do not draw color bar
|
|
264
|
+
</dd>
|
|
265
|
+
<dt><h4><a name="label-55" id="label-55">--nozero:</a></h4></dt><!-- RDLabel: "­­nozero:" -->
|
|
266
|
+
<dd>
|
|
267
|
+
do not draw zero contour
|
|
268
|
+
</dd>
|
|
269
|
+
<dt><h4><a name="label-56" id="label-56">--udsfmt [strings]:</a></h4></dt><!-- RDLabel: "­­udsfmt [strings]:" -->
|
|
270
|
+
<dd>
|
|
271
|
+
change contour label format. see UDCNTR/DCL manual for the format.
|
|
272
|
+
</dd>
|
|
273
|
+
</dl>
|
|
274
|
+
<h2><a name="label-57" id="label-57">EXAMPLES</a></h2><!-- RDLabel: "EXAMPLES" -->
|
|
275
|
+
<p>For a single GPhys variable, </p>
|
|
276
|
+
<pre>% gpview data.nc@temp
|
|
277
|
+
% gpview data.nc@temp,lon=130:150,lat=0:90:2
|
|
278
|
+
% gpview --nocont data.nc@temp,lon=130:150,lat=0
|
|
279
|
+
% gpview --noshade data.nc@temp,lon=130:150,lat=0
|
|
280
|
+
% gpview --mean lon data.nc@temp,lon=130:150,lat=0
|
|
281
|
+
% gpview --exch data.nc@temp,lon=130:150,lat=0
|
|
282
|
+
% gpview --animate lon data.nc@temp,lon=130:150
|
|
283
|
+
% gpview --animate lon --alternate data.nc@temp
|
|
284
|
+
% gpview --smooth lon data.nc@temp,lon=130:150
|
|
285
|
+
% gpview --levels 0,10,20,30 --pattern 30999,40999,50999,60999,70999 data.nc@temp
|
|
286
|
+
% gpview --overplot=3 --anim t data.nc@temp,lon=0
|
|
287
|
+
% gpview --mark data.nc@temp,lon=0,lat=0
|
|
288
|
+
% gpview --operation log10 data.nc@temp,lon=0
|
|
289
|
+
% gpview --time_ax false data.nc@temp,lon=0,lat=0</pre>
|
|
290
|
+
<p>Example to set DCL internal variable,</p>
|
|
291
|
+
<pre>% gpview -ud:lmsg=false --itr 5 --exch data.nc@temp,lon=0</pre>
|
|
292
|
+
<p>For multiple GPhys variables, </p>
|
|
293
|
+
<pre>% gpview data1.nc@temp data2.nc@temp
|
|
294
|
+
% gpview data1.nc@temp,lon=130:150 data2.nc@temp,lon=150:170
|
|
295
|
+
% gpview --overplot=3 --anim t data.nc@temp,lon=0 data.nc@temp,lon=10
|
|
296
|
+
% gpview --var temp,lon=130:150 data?.nc
|
|
297
|
+
% gpview --anim t --var temp,lon=130:150 data*.nc </pre>
|
|
298
|
+
<h2><a name="label-58" id="label-58">HISTORY</a></h2><!-- RDLabel: "HISTORY" -->
|
|
299
|
+
<pre>2004/12/14 D Tsukahara && T Horinouti(parse_gturl)
|
|
300
|
+
2005/01/08 D Tsukahara (add option --exch and able to invalid value)
|
|
301
|
+
2005/01/09 D Tsukahara (add option --animate, smooth, alternate, index )
|
|
302
|
+
2005/01/10 D Tsukahara (transpose axis with attr "positive:down" ,
|
|
303
|
+
abailable loopsense_flag. )
|
|
304
|
+
2005/01/10 D Tsukahara (implement GGraph::color_bar, and margin_info,
|
|
305
|
+
which file name, date, and toolname. )
|
|
306
|
+
2005/01/11 D Tsukahara ( 1. write document about OPTIONS.
|
|
307
|
+
2. add many options. more info please see document. )
|
|
308
|
+
2005/01/23 S Takehiro (add option --similar, map_axis)
|
|
309
|
+
2005/02/09 D Tsukahara && M Nakano (add option --reverse, --Gr, --map)
|
|
310
|
+
2005/02/10 D Tsukahara (change option parser (getopts => getoptlong))
|
|
311
|
+
2005/02/24 D Tsukahara (apply --range for line plot)
|
|
312
|
+
2005/06/15 S Takehiro (add option --levels, --clevels, --slevels, --patterns)
|
|
313
|
+
2005/06/17 S Takehiro (missing_value attribute setting removed)
|
|
314
|
+
2005/06/22 S Takehiro (debug, clipping control added to GGraph::annotate)
|
|
315
|
+
2005/06/23 S Takehiro (debug, option --title implemented)
|
|
316
|
+
2005/07/15 S Takehiro (option --noannotate implemented)
|
|
317
|
+
2005/08/07 S Takehiro (option --overplot implemented)
|
|
318
|
+
2005/08/09 S Takehiro && T Horinouchi (add option --help and help function.
|
|
319
|
+
URL information corrected. )
|
|
320
|
+
2005/08/23 S Takehiro (multiple Gphys variables plotting
|
|
321
|
+
and option --var implemented)
|
|
322
|
+
2005/08/23 S Takehiro (common methods to gp* command moved to gpcommon.rb)
|
|
323
|
+
2005/10/30 S Takehiro (option --animate recoverd)
|
|
324
|
+
2005/10/31 S Takehiro (option --smooth bug fixed)
|
|
325
|
+
2006/03/07 M Nakano (option --int bug fixed)
|
|
326
|
+
2007/10/03 S Takehiro (option --nocolorbar implemented)
|
|
327
|
+
2008/04/03 S Takehiro (option --nozero implemented)
|
|
328
|
+
2008/12/14 S Takehiro (option --mark implemented)
|
|
329
|
+
2010/03/10 Y SASAKI (change help block into RD format)
|
|
330
|
+
2011/01/14 T Tanigawa && S Takehiro (option --operation implemented)
|
|
331
|
+
2011/11/04 S Takehiro (option --time_ax implemented)
|
|
332
|
+
2011/11/20 S Takehiro (option --eddy implemented)
|
|
333
|
+
2012/02/19 S Takehiro (description for gturl format updated)
|
|
334
|
+
2013/01/29 T Tanigawa && S Takehiro (calculation of aspect ratio
|
|
335
|
+
of viewport improved)
|
|
336
|
+
2013/01/29 S Nishizawa && S Takehiro (sequential operation implemented)
|
|
337
|
+
2014/02/21 Y Naito && S Takehiro (implement DCL internal variable setting,
|
|
338
|
+
add option --udsfmt)
|
|
339
|
+
2014/02/21 S Noda && S Takehiro (add option --stddev)
|
|
340
|
+
2014/02/23 S Takehiro (option --tonf is changed to --tone)
|
|
341
|
+
2014/03/05 S Takehiro (add option --map_radius)
|
|
342
|
+
2014/03/10 Y Kawai && S Takehiro (setting labels for contours)
|
|
343
|
+
2014/04/06 S Takehiro (option --map_radius bug fix)
|
|
344
|
+
2014/06/27 S Nishizawa && S Takehiro (add options --xcoord, --ycoord)
|
|
345
|
+
2014/11/28 H Kashimura && S Takehiro (add option --diff, --tone bug fix)
|
|
346
|
+
2014/11/28 Y O Takahashi && S Takehiro (add option --overplot_color, --Opc)</pre>
|
|
347
|
+
|
|
348
|
+
</body>
|
|
349
|
+
</html>
|