Sha256: f7b6b892a25fe5e7a92852c9cdcdf48a7075e9e3bf35667a8c436e8becf2edcb
Contents?: true
Size: 893 Bytes
Versions: 2
Compression:
Stored size: 893 Bytes
Contents
require 'earth/model' require 'earth/irradiance_scopes' class DirectNormalIrradiance < ActiveRecord::Base extend Earth::Model include Earth::IrradianceScopes TABLE_STRUCTURE = <<-EOS CREATE TABLE direct_normal_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 90508 warn_if_any_nulls end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
earth-1.2.1 | lib/earth/locality/direct_normal_irradiance.rb |
earth-1.1.2 | lib/earth/locality/direct_normal_irradiance.rb |