Skip to content

Data doesn't match the website data - huge discrepancies for SOLAR. #19

@roksana-greenpixie

Description

@roksana-greenpixie

How can I get data that matches the numbers that appear on the website? Tried multiple times but cannot get the same numbers.

My code:

with OEClient(api_key=os.getenv("OPENELECTRICITY_API_KEY")) as client:
    response = client.get_network_data(
        network_code="AU",
        metrics=[DataMetric.ENERGY],
        interval="1d",
        secondary_grouping="fueltech_group",
        date_start=date(2025, 11, 1),
        date_end=date(2025, 11, 4),
    )

and got these numbers for solar:

27 2025-11-01 10:00:00                solar   61875.5510
28 2025-11-02 10:00:00                solar   60454.0680
29 2025-11-03 10:00:00                solar   46918.7810

which are very different than those that appear on the website:

Image Image Image

besides this, all other categories also do not match but smaller differences, like wind, API response:

30 2025-11-01 10:00:00                 wind   62645.3050
31 2025-11-02 10:00:00                 wind  108030.1200
32 2025-11-03 10:00:00                 wind  105659.0100

or hydro

21 2025-11-01 10:00:00                hydro   37579.5260
22 2025-11-02 10:00:00                hydro   28945.1250
23 2025-11-03 10:00:00                hydro   39744.9370

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