Skip to content

Is it possible download IMERG precipitation data as a timeseries in csv? #2247

Discussion options

You must be logged in to vote

With a little help from an AI friend I found a solution to this problem, in case anyone else has the same question!

###### EXTRACT IMERG PRECIPITATION TIME SERIES FROM SINGLE PIXEL (GOOGLE EARTH ENGINE - PYTHON) ######

### Load IMERG dataset
collection = ee.ImageCollection("NASA/GPM_L3/IMERG_V07") \
    .filterDate('2000-06-01', '2025-01-01') \
    .select('precipitation') \
    .filterBounds(point)

### Function to reduce to point value and add date as property
def extract_value(img):
    value = img.reduceRegion(
        reducer=ee.Reducer.first(),  # single pixel
        geometry=point,
        scale=10000
    )
    return ee.Feature(None, {
        'precip': value.get('precipitation'…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@j-christie-geo
Comment options

@giswqs
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by j-christie-geo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants