Data Search seems to be off by one day
Posted: Sun Jul 14, 2024 5:09 pm America/New_York
I just noticed that while searching for files in a subscription that the filenames returned are one day behind the requested dates. This seems to hold true for all queries using the web api also.
For example, when I request files for 2024-07-10, I get files for 2024-07-09. Am I doing something wrong? Is this a timezone issue? I'm confused.
For example, when I request files for 2024-07-10, I get files for 2024-07-09. Am I doing something wrong? Is this a timezone issue? I'm confused.
Code: Select all
wget -q --post-data="results_as_file=1&sdate=2024-07-10 00:00:00&edate=2024-07-10 23:59:59&subID=2462&subType=1" -O - https://oceandata.sci.gsfc.nasa.gov/api/file_search
JPSS1_VIIRS.20240709T163600.GEO.nc
JPSS1_VIIRS.20240709T163600.L1A.nc
JPSS1_VIIRS.20240709T181200.GEO.nc
JPSS1_VIIRS.20240709T181200.L1A.nc
JPSS1_VIIRS.20240709T181800.GEO.nc
JPSS1_VIIRS.20240709T181800.L1A.nc
JPSS1_VIIRS.20240709T195400.GEO.nc
JPSS1_VIIRS.20240709T195400.L1A.nc
JPSS1_VIIRS.20240709T200000.GEO.nc
JPSS1_VIIRS.20240709T200000.L1A.nc
JPSS1_VIIRS.20240710T161800.GEO.nc
JPSS1_VIIRS.20240710T161800.L1A.nc
JPSS1_VIIRS.20240710T175400.GEO.nc
JPSS1_VIIRS.20240710T175400.L1A.nc