skorper opened a new pull request #131: URL: https://github.com/apache/incubator-sdap-nexus/pull/131
Support satellite to satellite matchup in the matchup algorithm. This works as follows: 1. Satellite dataset name is used for `matchup` param rather than insitu dataset name. 2. Instead of querying the in situ node, query Solr to get the tiles that match the given params. This request is very similar to the first tile query request except the matchup params are used (time and spatial bounds are delta'd from the primary dataset tiles) 3. Once the tiles have been retrieved for the matchup satellite dataset, the individual points are extracted from each tile and flattened into a single list. 4. The points are converted to 'edge point' format. This matches the format of the edge points from the in-situ node. 5. Matchup continues as usual (reprojection, KD tree, etc) Example: ``` {{big_data_url}}/match_spark?primary=avhrr-l4-glob-v2-daily-ncei-ghrsst-sstblend-avhrr-oi-glob-v020-fv020&startTime=2018-10-30T00:00:00Z&endTime=2018-11-05T00:00:00Z&tt=2592000&rt=1000&b=-180,-90,-160,-70&platforms=1,2,3,4,5,6,7,8,9¶meter=sst&depthMin=0&depthMax=5&matchOnce=true&matchup=MUR25-JPL-L4-GLOB-v04.2&resultSizeLimit=6000 ``` (results truncated) ```json { "executionId": "1d821a81-896f-4f23-89bc-8c31d8b81b5d", "data": [ { "sea_water_temperature": null, "sea_water_temperature_depth": 0, "sea_water_salinity": null, "sea_water_salinity_depth": null, "wind_speed": null, "wind_direction": null, "wind_u": null, "wind_v": null, "platform": "orbiting satellite", "device": "radiometers", "x": "-161.625", "y": "-74.875", "point": "Point(-161.625 -74.875)", "time": 1540857600, "fileurl": "20181030120000-NCEI-L4_GHRSST-SSTblend-AVHRR_OI-GLOB-v02.0-fv02.0.nc", "id": "1be456ef-dffd-3efb-a967-491b9960661b[[0, 0, 13]]", "source": "avhrr-l4-glob-v2-daily-ncei-ghrsst-sstblend-avhrr-oi-glob-v020-fv020", "sea_surface_temperature": 271.3800048828125, "matches": [ { "sea_water_temperature": null, "sea_water_temperature_depth": null, "sea_water_salinity": null, "sea_water_salinity_depth": null, "wind_speed": null, "wind_direction": null, "wind_u": null, "wind_v": null, "platform": null, "device": null, "x": "-161.625", "y": "-74.875", "point": "Point(-161.625 -74.875)", "time": 1542099600, "fileurl": "20181113090000-JPL-L4_GHRSST-SSTfnd-MUR25-GLOB-v02.0-fv04.2.nc", "id": "2018-11-13T09:00:00Z:-161.625:-74.875", "source": "MUR25-JPL-L4-GLOB-v04.2", "sea_surface_foundation_temperature": 271.3500061035156 } ] }, { "sea_water_temperature": null, "sea_water_temperature_depth": 0, "sea_water_salinity": null, "sea_water_salinity_depth": null, "wind_speed": null, "wind_direction": null, "wind_u": null, "wind_v": null, "platform": "orbiting satellite", "device": "radiometers", "x": "-163.625", "y": "-74.625", "point": "Point(-163.625 -74.625)", "time": 1540857600, "fileurl": "20181030120000-NCEI-L4_GHRSST-SSTblend-AVHRR_OI-GLOB-v02.0-fv02.0.nc", "id": "1be456ef-dffd-3efb-a967-491b9960661b[[0, 1, 5]]", "source": "avhrr-l4-glob-v2-daily-ncei-ghrsst-sstblend-avhrr-oi-glob-v020-fv020", "sea_surface_temperature": 271.3699951171875, "matches": [ { "sea_water_temperature": null, "sea_water_temperature_depth": null, "sea_water_salinity": null, "sea_water_salinity_depth": null, "wind_speed": null, "wind_direction": null, "wind_u": null, "wind_v": null, "platform": null, "device": null, "x": "-163.625", "y": "-74.625", "point": "Point(-163.625 -74.625)", "time": 1542099600, "fileurl": "20181113090000-JPL-L4_GHRSST-SSTfnd-MUR25-GLOB-v02.0-fv04.2.nc", "id": "2018-11-13T09:00:00Z:-163.625:-74.625", "source": "MUR25-JPL-L4-GLOB-v04.2", "sea_surface_foundation_temperature": 271.3500061035156 } ] } ] } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@sdap.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org