Skip to content

Latest commit

 

History

History
165 lines (100 loc) · 5.38 KB

CHANGELOG.md

File metadata and controls

165 lines (100 loc) · 5.38 KB

Changelog

0.9.0 - January 22, 2025

  • Adds a timezone parameter used for returning results in local time and resampling results to frequencies one day or lower
    • With this addition, the tz parameter is deprecated and will be removed in a future release
    • When using the timezone parameter, the _local columns will be in the timezone and _utc columns will be in UTC

With tz (deprecated):

client.get_dataset(
    dataset='ercot_load',
    start=start,
    end=end,
    tz='America/New_York'
)
interval_start_local interval_end_local load
0 2025-01-01 00:00:00-05:00 2025-01-01 00:05:00-05:00 44859
1 2025-01-01 00:05:00-05:00 2025-01-01 00:10:00-05:00 44993
2 2025-01-01 00:10:00-05:00 2025-01-01 00:15:00-05:00 44894
3 2025-01-01 00:15:00-05:00 2025-01-01 00:20:00-05:00 44863
4 2025-01-01 00:20:00-05:00 2025-01-01 00:25:00-05:00 44845

With timezone:

client.get_dataset(
    dataset='ercot_load',
    start=start,
    end=end,
    timezone='America/New_York'
)
interval_start_local interval_start_utc interval_end_local interval_end_utc load
0 2025-01-01 00:00:00-05:00 2025-01-01 05:00:00+00:00 2025-01-01 00:05:00-05:00 2025-01-01 05:05:00+00:00 44859
1 2025-01-01 00:05:00-05:00 2025-01-01 05:05:00+00:00 2025-01-01 00:10:00-05:00 2025-01-01 05:10:00+00:00 44993
2 2025-01-01 00:10:00-05:00 2025-01-01 05:10:00+00:00 2025-01-01 00:15:00-05:00 2025-01-01 05:15:00+00:00 44894
3 2025-01-01 00:15:00-05:00 2025-01-01 05:15:00+00:00 2025-01-01 00:20:00-05:00 2025-01-01 05:20:00+00:00 44863
4 2025-01-01 00:20:00-05:00 2025-01-01 05:20:00+00:00 2025-01-01 00:25:00-05:00 2025-01-01 05:25:00+00:00 44845

0.8.0 - September 25, 2024

  • Adds automatic retries using an exponential backoff when fetching data if an API rate limit is hit. Also adds parameters for configuring max_retries on GridStatusClient and an optional sleep_time parameter on GridStatusClient.get_dataset.

0.7.0 - August 28, 2024

  • Updates for resampling changes on server. Upsampling is now supported.

0.6.5 - August 6, 2024

  • Remove gridstatus and add tabulate as dependencies.

0.6.4 - August 2, 2024

  • Updates pandas version to allow for pandas 2.0 compatibility

0.6.3 - July 15, 2024

  • Adds a new client.get_daily_peak_report() method for accessing daily peak LMP/load data for a specific ISO and date.

0.6.2 - June 18, 2024

  • Sets capped version of Python to <4
  • Upgrades numpy to a version that supports Python 3.12

0.6.1 - June 17, 2024

  • Adds support for Python 3.12

v0.6.0 - June 17, 2024

  • Add ability to use cursor-based pagination instead of offset-based pagination.
    • Cursor-based pagination can be 30-50% faster than offset-based pagination for large datasets.
    • Cursor-based pagination is the default for client.get_dataset().
  • Drops support for Python 3.8

v0.5.9 - March 26, 2024

  • Fix warning to upgrade when already on latest version

v0.5.8 - March 14, 2024

  • [Does not affect usage]. Switch to poetry for package management

v0.5.7 - March 14, 2024

  • Fix bug where GridStatusClient.list_datasets would error when return_list=False

v0.5.6 - Dec 22, 2023

  • Rename max_rows to page_size

v0.5.5 - Dec 2, 2023

  • Add support for querying based on publish_time to client.get_dataset

v0.5.4 - Sept 17, 2023

v0.5.3 - Sept 15, 2023

  • Support data resampling with resample parameter

v0.5.2 - Aug 31, 2023

Bug Fixes

  • Fix date parsing in cases where there is no data or all missing values

v0.5.1 - Aug 22, 2023

Enhancements

  • Checks for an updated version of gridstatusio library at import and alerts user if a newer version is available.

v0.5.0 - Aug 22, 2023

Examples

  • Add stacked net load visualization example notebook

Enhancements

  • When using client.get_dataset(), the number of rows per request now defaults to maximum allowed by your API key. You can specify a lower limit using the limit parameter. We recommend using the default for maximum performance.

Bug Fixes

  • Fix date parsing in older versions of pandas

v0.4.0 - July 31, 2023

Enhancements

  • Improve dataset download times by switching to json return format from API

Bug Fixes

  • Fix mixed dtype warning

v0.3.1 - July 27, 2023

Enhancements

  • Revised the functionality of the verbose flag. Now, when it's set to False, no output is generated. If set to True or "info", it provides a moderate level of information. For the most detailed output, set it to "debug".

v0.3.0 - July 21, 2023

Enhancements

  • Specifiy a filter operator when using filtering. Supports "=", "!=", ">", "<", ">=", "<=", "in".
  • Specify subset of columns to query

v0.2.3 - July 17th, 2023

Bug Fixes

  • Fix parsing of Forecast Time column in forecast datasets
  • Fix duplicated dataframe index when querying across multiple pages