Sha256: b27ff19fa9c852dc2ff4153b8844f62b9f595865b3dce2f02a07f83533aa2876
Contents?: true
Size: 902 Bytes
Versions: 2
Compression:
Stored size: 902 Bytes
Contents
require 'earth/model' require 'earth/irradiance_scopes' class GlobalHorizontalIrradiance < ActiveRecord::Base extend Earth::Model include Earth::IrradianceScopes TABLE_STRUCTURE = <<-EOS CREATE TABLE global_horizontal_irradiances ( row_hash CHARACTER VARYING(255) NOT NULL PRIMARY KEY, nw_lat FLOAT, nw_lon FLOAT, se_lat FLOAT, se_lon FLOAT, jan_average FLOAT, feb_average FLOAT, mar_average FLOAT, apr_average FLOAT, may_average FLOAT, jun_average FLOAT, jul_average FLOAT, aug_average FLOAT, sep_average FLOAT, oct_average FLOAT, nov_average FLOAT, dec_average FLOAT, annual_average FLOAT, units CHARACTER VARYING(255) ); EOS self.primary_key = 'row_hash' warn_unless_size 138970 warn_if_any_nulls end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
earth-1.2.1 | lib/earth/locality/global_horizontal_irradiance.rb |
earth-1.1.2 | lib/earth/locality/global_horizontal_irradiance.rb |