New answers tagged

1

Actually, for your dates range, you have 112 images in your Image Collection (one image each 3 hours or 8 images per day). As you need for each day noon image only, you can filter your dataset with following method: .filterMetadata('start_hour', 'equals', 12) Code snippet would look as follows: var dataset = ee.ImageCollection('NASA/GLDAS/V021/NOAH/G025/T3H'...


0

I found the problem and fixed it this way feature = ee.Feature(feature.set('precipitations', max_prcp.get('prcp'), 'sol_rad', mean_sol_radiation.get('srad'), 'temp_max', mean_maxtemp.get('tmax'))); return feature


0

This should be what you're looking for. test = temp.isel(latitude=0,longitude=0, time=0) annualdoy60 = test.sel(time = test.time.dt.year.isin(1960)) drop=True removes all the coordinates which match to False and thus indexing the first element of each coordinate will result in both, temp value and time it occurred first


4

Iterate() is almost never the right tool to reach for in Earth Engine. In this case you can get the number of days by converting the time series to an array and doing some simple array masking to mask off values after your date of interest and then finding the maximum array index with any precipitation. // FILTER GRIDMET DATA TO DESIRED SPATIAL AND TEMPORAL ...


Top 50 recent answers are included