Class: Gribr::Wgrib::ShortInventoryRecord
- Inherits:
-
InventoryRecord
- Object
- Struct
- InventoryRecord
- Gribr::Wgrib::ShortInventoryRecord
- Defined in:
- lib/gribr/wgrib/inventory_record.rb
Constant Summary collapse
- REGEX_TIMESTAMP =
Regexp.new("(d=(\\d{2,4})(\\d{2})(\\d{2})(\\d{2}))").freeze
- TIME_FORMAT =
"%Y%m%d%H".freeze
Instance Attribute Summary
Attributes inherited from InventoryRecord
#average, #element, #end_position, #level, #number, #projection, #reference_time, #start_position, #valid_time
Instance Method Summary collapse
Methods inherited from InventoryRecord
Methods included from RegexpParser
Instance Method Details
#to_s ⇒ Object
21 22 23 |
# File 'lib/gribr/wgrib/inventory_record.rb', line 21 def to_s [number, start_position, formatted_reference_time, element, level, projection, average].join(":") end |