Skip to content

Commit

Permalink
run black with new version
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbesnard1 committed Feb 24, 2025
1 parent e49ba87 commit 119602a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion doc/auto_examples/data_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
GEDIProcessor example with different parallel engines
=======================================================
This example demonstrates how to use the `gedidb` library to process GEDI granules
This example demonstrates how to use the `gedidb` library to process GEDI granules
with different parallel engines, such as `concurrent.futures.ThreadPoolExecutor` and `dask.distributed.Client`.
A default data configuration file (`data_config.yml`) can be downloaded here:
Expand Down
4 changes: 2 additions & 2 deletions doc/auto_examples/regional_tileDBdatabase.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Creating a Regional TileDB Array for the Amazon
===============================================
This example demonstrates how to create a **regional TileDB array** for the Amazon
by modifying the `data_config.yml` file to adjust the **spatial range** based on
This example demonstrates how to create a **regional TileDB array** for the Amazon
by modifying the `data_config.yml` file to adjust the **spatial range** based on
a bounding box extracted from a GeoJSON file.
A default data configuration file (`data_config.yml`) can be downloaded here:
Expand Down
2 changes: 1 addition & 1 deletion doc/gallery/data_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
GEDIProcessor example with different parallel engines
=======================================================
This example demonstrates how to use the `gedidb` library to process GEDI granules
This example demonstrates how to use the `gedidb` library to process GEDI granules
with different parallel engines, such as `concurrent.futures.ThreadPoolExecutor` and `dask.distributed.Client`.
A default data configuration file (`data_config.yml`) can be downloaded here:
Expand Down
4 changes: 2 additions & 2 deletions doc/gallery/regional_tileDBdatabase.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Creating a Regional TileDB Array for the Amazon
===============================================
This example demonstrates how to create a **regional TileDB array** for the Amazon
by modifying the `data_config.yml` file to adjust the **spatial range** based on
This example demonstrates how to create a **regional TileDB array** for the Amazon
by modifying the `data_config.yml` file to adjust the **spatial range** based on
a bounding box extracted from a GeoJSON file.
A default data configuration file (`data_config.yml`) can be downloaded here:
Expand Down
2 changes: 1 addition & 1 deletion gedidb/utils/geo_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def _timestamp_to_datetime(days: np.ndarray) -> np.ndarray:


def convert_to_days_since_epoch(
timestamps: Union[pd.DatetimeIndex, pd.Series, list]
timestamps: Union[pd.DatetimeIndex, pd.Series, list],
) -> pd.Series:
"""
Convert nanosecond-precision timestamps to daily timestamps in days since the Unix epoch (1970-01-01).
Expand Down
2 changes: 1 addition & 1 deletion gedidb/utils/tiledb_consolidation.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def _extract_fragments(

@staticmethod
def _generate_plan(
fragments: List[Dict[str, Union[str, Tuple[float, float]]]]
fragments: List[Dict[str, Union[str, Tuple[float, float]]]],
) -> Dict[int, Dict[str, List[str]]]:
"""
Generate a plan by grouping overlapping fragments.
Expand Down

0 comments on commit 119602a

Please sign in to comment.