Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Standardize Timezone, Latitude and Longitude signs #4

@germolinal

Description

@germolinal

SketchUp, EnergyPlus, Radiance and other tools use different conventions for the sign in Latitude and Longitude. We need to choose one for Emp and make it very clear. Also, we need to check for the consistency when reading EPW, WEA and SKP files.

EPW files use: - for South, - for West, GMT for TimeZone (i.e. timezone = 15std_meridian)
WEA files use: - for South, + for West, -GMT for TimeZone (i.e. timezone = -15
std_meridian)
Gendaylit and Gensky use: - for South, + for West, and uses std_meridian as input (in + West)
SKP use: - for South, - for West, GMT for TimeZone

As for now, EMP_CORE's LOCATION object has the following definitions:

float latitude; //!< The latitude in degrees North (use negative for South)
float longitude; //!< The longitude in degrees West (use negative for East)
float timeZone; //!< in GMT units

Which means that it is using WEA file standards. Need to make sure this is consistent in other functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions