[ https://issues.apache.org/jira/browse/SDAP-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Riley Kuttruff updated SDAP-318: -------------------------------- Status: Closed (was: Done) > TimeSeriesSpark returns empty list for bounding box larger than a hemisphere. > ----------------------------------------------------------------------------- > > Key: SDAP-318 > URL: https://issues.apache.org/jira/browse/SDAP-318 > Project: Apache Science Data Analytics Platform > Issue Type: Bug > Components: nexus-analysis > Reporter: Joseph C. Jacob > Priority: Major > Attachments: flux_vineet_sdap.nc > > > The attached single-granule dataset covers a spatial bounds with longitudes > in _*[-118.9, -116.5]*_ and latitudes in _*[33.4, 34.8].*_ After ingest, > SDAP's {color:#0747a6}+/timeSeriesSpark+{color} endpoint returns the expected > time series if the job request specifies bounds within the western > hemisphere. For example, the following bounds works as expected: > *minLon=-180&minLat=-90&maxLon=0&maxLat=90*. However, any larger bounding box > results in an empty list being returned from > {color:#0747a6}+/timeSeriesSpark+{color}. For example, > *minLon=-180&minLat=-90&maxLon=1&maxLat=90* results in the empty list. Note > that the only difference in the two bounding boxes is that the one that fails > has *maxLon=1* and the one that works fine has *maxLon=0*. Both bounds should > result in the same time series since they both encompass the entire domain of > the dataset. > SDAP query to test (assumes indicated dataset name): > {code:java} > /timeSeriesSpark?ds=M2AF_REGIONAL_LABASIN_CH4_fluxes&minLon=-180&minLat=-90&maxLon=180&maxLat=90&startTime=2015-01-28T00:00:00Z&endTime=2016-12-24T23:59:59Z{code} > -- This message was sent by Atlassian Jira (v8.20.10#820010)