skorper edited a comment on pull request #126:
URL: 
https://github.com/apache/incubator-sdap-nexus/pull/126#issuecomment-820912622


   I've updated this branch as-per our conversation so the satellite portion of 
the result will use the `tile_var_name_s` field as the data key. I left the 
other values in the response for consistency, but I think we should discuss if 
this is the desired behavior. 
   
   Example:
   
   ```
   
{{big_data_url}}/match_spark?primary=avhrr-l4-glob-v2-daily-ncei-ghrsst-sstblend-avhrr-oi-glob-v020-fv020&startTime=2012-09-25T00:00:00Z&endTime=2012-09-30T23:59:59Z&tt=86400&rt=1000&b=-45,15,-30,30&platforms=1,2,3,4,5,6,7,8,9&depthMin=0&depthMax=5&matchOnce=true&matchup=spurs
   ```
   
   ```json
   {
       "executionId": "0df70819-ee2a-4629-8fa8-23ccdad69e94",
       "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": "-38.375",
               "y": "26.125",
               "point": "Point(-38.375 26.125)",
               "time": 1348963200,
               "fileurl": 
"20120930120000-NCEI-L4_GHRSST-SSTblend-AVHRR_OI-GLOB-v02.0-fv02.0.nc",
               "id": "26eb597e-c2f4-3b38-8439-d233593a03c6[[0, 14, 26]]",
               "source": 
"avhrr-l4-glob-v2-daily-ncei-ghrsst-sstblend-avhrr-oi-glob-v020-fv020",
               "analysed_sst": 300.7599792480469,
               "matches": [
                   {
                       "sea_water_temperature": 27.1054000854,
                       "sea_water_temperature_depth": 4.96795892715,
                       "sea_water_salinity": 37.6000518799,
                       "sea_water_salinity_depth": 4.96795892715,
                       "wind_speed": null,
                       "wind_direction": null,
                       "wind_u": null,
                       "wind_v": null,
                       "platform": "ship",
                       "device": "CTD",
                       "x": "-38.3727989197",
                       "y": "26.1182975769",
                       "point": "Point(-38.3727989197 26.1182975769)",
                       "time": 1349018581,
                       "fileurl": 
"ftp://podaac-ftp.jpl.nasa.gov/allData/insitu/L2/spurs1/uctd/SPURS_Knorr_uctd.nc";,
                       "id": "SPURS_Knorr_uctd(4, 525)",
                       "source": "spurs"
                   }
               ]
           }
       ],
       "params": {
           "primary": 
"avhrr-l4-glob-v2-daily-ncei-ghrsst-sstblend-avhrr-oi-glob-v020-fv020",
           "matchup": "spurs",
           "startTime": 1348531200,
           "endTime": 1349049599,
           "bbox": "-45,15,-30,30",
           "timeTolerance": 86400,
           "radiusTolerance": 1000.0,
           "platforms": "1,2,3,4,5,6,7,8,9",
           "parameter": null,
           "depthMin": 0.0,
           "depthMax": 5.0
       },
       "bounds": {},
       "count": null,
       "details": {
           "timeToComplete": 47,
           "numInSituRecords": 0,
           "numInSituMatched": 1,
           "numGriddedChecked": 0,
           "numGriddedMatched": 1
       }
   }
   ```
   
   Notice how the sss, sst, and wind fields in the satellite doms entry are 
empty, but there is a new field `analysed_sst` that contains the nexus value. 


-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to