You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sdap.apache.org by "Joseph C. Jacob (Jira)" <ji...@apache.org> on 2021/08/04 03:27:00 UTC

[jira] [Updated] (SDAP-318) TimeSeriesSpark returns empty list for bounding box larger than a hemisphere.

     [ https://issues.apache.org/jira/browse/SDAP-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph C. Jacob updated SDAP-318:
---------------------------------
    Component/s: analysis

> 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: 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.3.4#803005)