Skip to content

Rename sites -> location #104

@peterdudfield

Description

@peterdudfield
  • Rename site to location
  • https://github.com/openclimatefix/pv-site-datamodel
  • Relationships between location group.
  • Location: a point of region
  • Add subtype for point or region on location table?
  • A renewable forecast or renewable metered data set will usually have a property of Location.
  • Locations can have a parent-child location, which we can define either from the electricity grid topology, or we could use the - geographical location to do this (we did this for the sites roll-up already), or some other set parent-child relationship.
  • SQL tables
    -- [Location] -> [Region]
    -- [Location] -> [Site]
  • Can have child-parent relationships too
  • Question going forward: what is the data we need as indexed/query-able columns, and what is “just” metadata, i.e. can be JSON field(s) like location.metadata, which will have a specific data type/structure based on the location.type (Point or Region).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions