Skip to content

Improve utility function for extracting point-based time series from Earth Engine#2284

Merged
giswqs merged 1 commit intogee-community:masterfrom
geonextgis:ts
Jul 24, 2025
Merged

Improve utility function for extracting point-based time series from Earth Engine#2284
giswqs merged 1 commit intogee-community:masterfrom
geonextgis:ts

Conversation

@geonextgis
Copy link
Copy Markdown
Contributor

@geonextgis geonextgis commented Jul 15, 2025

This PR improves a recently added helper function extract_timeseries_to_point() to simplify extracting time series data from a Google Earth Engine ImageCollection at a single coordinate.

⚙️ Changes & Improvements

  • Modified function:

    def extract_timeseries_to_point(
        lat,
        lon,
        image_collection,
        start_date=None,
        end_date=None,
        band_names=None,
        scale=None,
        crs=None,
        crsTransform=None,
        out_csv=None,
    ):
        """
        Extracts pixel time series from an ee.ImageCollection at a point.
        """
        # Implementation ...
  • start_date, end_date, and band_names are now optional; if omitted, the function uses the full image collection without filtering.

  • Renamed parameter out_dfout_csv for clarity (since the output is a CSV file, not a DataFrame).

@giswqs giswqs merged commit 6fcc50d into gee-community:master Jul 24, 2025
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants