How can use date format with time zone from 8 AM to 8 AM data download ?
var inidate = ee.Date.fromYMD(2020,03,17)
var enddate = ee.Date.fromYMD(2020,03,18)
enter code here
enter link here
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.
Sign up to join this communityHow can use date format with time zone from 8 AM to 8 AM data download ?
var inidate = ee.Date.fromYMD(2020,03,17)
var enddate = ee.Date.fromYMD(2020,03,18)
enter code here
enter link here
You could use client-side Dates to generate initdate
and enddate
in millis, and filter on system:time_start
:
var initdate = new Date('2020-03-16').setUTCHours(8)
var enddate = new Date('2020-03-17').setUTCHours(7) // 7 to exclude 8 for next day maybe?
var gsmap = ee.ImageCollection('JAXA/GPM_L3/GSMaP/v6/operational')
.filter(ee.Filter.rangeContains('system:time_start', initdate, enddate))
.select('hourlyPrecipRate');