agwx_grids 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc29fff6f84138fcca04a4586b28f7144f7b56c5
4
- data.tar.gz: 524bb1dd3c0b9d17c88fa3d8a4bd1f541c076e16
3
+ metadata.gz: 6da6bdb9dfe9650071e6facda784104d8846c6ed
4
+ data.tar.gz: cd1c00efda3947e36594eb7ce6930de955541617
5
5
  SHA512:
6
- metadata.gz: e4b53b72fbd8429a0f0cb309bcdc89f03e990ba17caa2efe9d182ed6153661fbb00ac95903a27a8e9c1103219080e05dc29b03c2c03a036922d194f3eaa09302
7
- data.tar.gz: 010541111bec78291ecea0d1c90e51a4a4ba01c658a516fc57fb3be87959555145b01cc7b22e0bc3e718a4d3a431ff83c2466c47e609e058fc310fb9528ddbe4
6
+ metadata.gz: 32662ba7cdc370ec919bd983a01a715c4bbea33edf1c5bc7a7303fc49e699259708cbc6459f1852839979c3dea97814c91b3732aa5003db23ca6059a4a459811
7
+ data.tar.gz: bab17ed7c2a04a4d06c4175120b8156dbef70a8fbb40f718a075209d7781f150a7531fe21d1ee31e32076e35ae028c8a67c76fdf901ef0dd2372a6e894e1549c
@@ -170,8 +170,8 @@ module AgwxGrids
170
170
  # Convert coordinates in real XY space to indices. Note that Z is sort-of a real-space coord, but
171
171
  # represents a quantized there-or-not value like a DOY, not a scalar.
172
172
  def realToIndex(x,y,z)
173
- @my_ii = self.nearest(x,@mD.xStart,@mD.xIncr)
174
- @my_jj = self.nearest(y,@mD.yStart,@mD.yIncr)
173
+ @my_ii = Grid.nearest(x,@mD.xStart,@mD.xIncr)
174
+ @my_jj = Grid.nearest(y,@mD.yStart,@mD.yIncr)
175
175
  @my_doy = z
176
176
  # puts "realToIndex: x #{x}, xStart #{@mD.xStart}, xIncr #{@mD.xIncr} myX #{@my_ii}; y #{y}, myY #{@my_jj} z #{z}, myZ #{@my_doy}"
177
177
  [@my_ii,@my_jj,@my_doy]
@@ -1,3 +1,3 @@
1
1
  module AgwxGrids
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agwx_grids
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - RickWayne