Class: NumRu::GPhys::Grib::GribES

Inherits:
Object
  • Object
show all
Defined in:
lib/numru/gphys/grib.rb

Overview

end definition of class GribBDS

Instance Method Summary collapse

Constructor Details

#initialize(sgm, str = nil) ⇒ GribES

Returns a new instance of GribES.



1352
1353
1354
1355
# File 'lib/numru/gphys/grib.rb', line 1352

def initialize(sgm,str=nil)
  @sgm = sgm
  @es = str || "7777"
end

Instance Method Details

#getObject



1362
1363
1364
# File 'lib/numru/gphys/grib.rb', line 1362

def get
  @es
end

#grib?Boolean

Returns:

  • (Boolean)


1359
1360
1361
# File 'lib/numru/gphys/grib.rb', line 1359

def grib?
  @es=="7777"
end

#lengthObject



1356
1357
1358
# File 'lib/numru/gphys/grib.rb', line 1356

def length
  return 4
end