skorper opened a new pull request, #180: URL: https://github.com/apache/incubator-sdap-nexus/pull/180
https://issues.apache.org/jira/browse/SDAP-397 - Added depth to matchup insitu output - Added in the "data" field (see example below). Is this a desirable location for this value? - Pull ID from insitu api response for matchup - Using ID from insitu `platforms` dict. That value doesn't seem unique though, so I'm not sure if there's a better field. - Added null unit field for later use in matchup - This metadata doesn't exist in the insitu API or satellite metadata so just using null for now. Notice I don't have a change for the last bullet "numInSituRecords and numGriddedChecked are both zero in completed query...". Adding the behavior described from Doms would be a significant change, so I'd like to discuss with the team if this is indeed the desired behavior and if there's value in this field. Example request: ``` {{big_data_url}}/match_spark?primary=MUR25-JPL-L4-GLOB-v04.2&startTime=2018-09-24T00:00:00Z&endTime=2018-09-30T00:00:00Z&tt=2592000&rt=1000&b=160,-30,180,-25&depthMin=0&depthMax=5&matchOnce=true&secondary=ICOADS%20Release%203.0&resultSizeLimit=6000&platforms=42 ``` Example output (truncated): ```json { "executionId": "8943d0a6-2513-4df1-83fb-536f1050fde8", "data": [ { "platform": "orbiting satellite", "device": "radiometers", "lon": "179.375", "lat": "-27.125", "point": "Point(179.375 -27.125)", "time": 1537779600, "fileurl": "20180924090000-JPL-L4_GHRSST-SSTfnd-MUR25-GLOB-v02.0-fv04.2.nc", "id": "3e1ed916-5681-3a33-8688-d6a70ec080eb[[0, 11, 27]]", "source": "MUR25-JPL-L4-GLOB-v04.2", "primary": [ { "variable_name": "analysed_sst", "cf_variable_name": "sea_surface_foundation_temperature", "variable_value": 20.381988525390625, "variable_unit": null } ], "matches": [ { "platform": "42", "device": null, "lon": "179.38", "lat": "-27.12", "point": "Point(179.38 -27.12)", "time": 1537624800, "fileurl": null, "id": "55948", "source": "ICOADS Release 3.0", "secondary": [ { "variable_name": "sea_water_temperature", "cf_variable_name": null, "variable_value": 19.8, "variable_unit": null }, { "variable_name": "sea_water_temperature_quality", "cf_variable_name": null, "variable_value": 1, "variable_unit": null }, { "variable_name": "depth", "cf_variable_name": null, "variable_value": -99999.0, "variable_unit": null } ] } ] } ], "params": { "primary": "MUR25-JPL-L4-GLOB-v04.2", "matchup": "ICOADS Release 3.0", "startTime": 1537747200, "endTime": 1538265600, "bbox": "160,-30,180,-25", "timeTolerance": 2592000, "radiusTolerance": 1000.0, "platforms": "42", "parameter": null, "depthMin": 0.0, "depthMax": 5.0 }, "bounds": {}, "count": 54, "details": { "timeToComplete": 101, "numInSituRecords": 0, "numInSituMatched": 54, "numGriddedChecked": 0, "numGriddedMatched": 54 } } ``` -- 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