{"id":15547281,"url":"https://github.com/davemlz/gee_timeseries","last_synced_at":"2025-04-23T18:23:58.131Z","repository":{"id":146736673,"uuid":"184324232","full_name":"davemlz/GEE_TimeSeries","owner":"davemlz","description":"Google Earth Engine time series with Savitzky-Golay filter","archived":false,"fork":false,"pushed_at":"2021-04-08T16:02:13.000Z","size":7,"stargazers_count":32,"open_issues_count":0,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T02:22:12.862Z","etag":null,"topics":["google-earth-engine","satellite-imagery","savitzky-golay-filter","sentinel-2","series"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davemlz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-04-30T20:04:03.000Z","updated_at":"2024-11-28T14:15:51.000Z","dependencies_parsed_at":"2023-09-22T07:25:10.435Z","dependency_job_id":null,"html_url":"https://github.com/davemlz/GEE_TimeSeries","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"d394e3beb0bfe337f590e51d7300c16450199ac8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemlz%2FGEE_TimeSeries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemlz%2FGEE_TimeSeries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemlz%2FGEE_TimeSeries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemlz%2FGEE_TimeSeries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davemlz","download_url":"https://codeload.github.com/davemlz/GEE_TimeSeries/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250488426,"owners_count":21438778,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["google-earth-engine","satellite-imagery","savitzky-golay-filter","sentinel-2","series"],"created_at":"2024-10-02T13:08:31.481Z","updated_at":"2025-04-23T18:23:58.112Z","avatar_url":"https://github.com/davemlz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Earth Engine time series with Savitzky-Golay filter\n\nExample that shows how to extract image collection values for a feature collection, create a vegetaion index time series dataframe and apply a Savitzky-Golay filter over it.\n\n## Note\n\nA better version of this function was implemented in [eemont](https://github.com/davemlz/eemont) as an extended method for the ee.ImageCollection object:\n\n```python\nimport ee, eemont\n\nee.Authenticate()\nee.Initialize()\n\nf1 = ee.Feature(ee.Geometry.Point([3.984770,48.767221]).buffer(50),{'ID':'A'})\nf2 = ee.Feature(ee.Geometry.Point([4.101367,48.748076]).buffer(50),{'ID':'B'})\nfc = ee.FeatureCollection([f1,f2])\n\nS2 = (ee.ImageCollection('COPERNICUS/S2_SR')\n  .filterBounds(fc)\n  .filterDate('2020-01-01','2021-01-01')\n  .maskClouds()\n  .scale()\n  .index(['EVI','NDVI']))\n\n# By Region\nts = S2.getTimeSeriesByRegion(reducer = [ee.Reducer.mean(),ee.Reducer.median()],\n                             geometry = fc,\n                             bands = ['EVI','NDVI'],\n                             scale = 10)\n\n# By Regions\nts = S2.getTimeSeriesByRegions(reducer = [ee.Reducer.mean(),ee.Reducer.median()],\n                              collection = fc,\n                              bands = ['EVI','NDVI'],\n                              scale = 10)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavemlz%2Fgee_timeseries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavemlz%2Fgee_timeseries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavemlz%2Fgee_timeseries/lists"}