Class: PhotovoltaicIrradiance

Inherits:
ActiveRecord::Base
  • Object
show all
Extended by:
Earth::Model
Includes:
Earth::IrradianceScopes
Defined in:
lib/earth/locality/photovoltaic_irradiance.rb

Constant Summary collapse

TABLE_STRUCTURE =
<<-EOS
CREATE TABLE photovoltaic_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

Method Summary

Methods included from Earth::Model

extend_mining, extended, registry

Methods included from Earth::IrradianceScopes

included