skorper commented on pull request #132:
URL: 
https://github.com/apache/incubator-sdap-nexus/pull/132#issuecomment-929755901


   @ngachung In the latest commit, I've updated matchup to work with the new 
multi-var solr doc structure. I also updated the unit tests and tested locally:
   
   ```
   
{{big_data_url}}/match_spark?primary=ascat-l2-coastal-multi-t6&startTime=2017-01-02T18:59:37Z&endTime=2017-01-02T19:00:31Z&tt=86400&rt=100000&b=-126,44,-119,49&platforms=1,2,3,4,5,6,7,8,9&depthMin=0&depthMax=5&matchOnce=true&matchup=icoads
   ```
   
   ```json
   {
       "executionId": "19188eca-6f96-4fab-9a3d-362787058001",
       "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": "-125.24456999999998",
               "y": "47.279900000000005",
               "point": "Point(-125.24456999999998 47.279900000000005)",
               "time": 1483383611,
               "fileurl": 
"ascat_20170102_182400_metopb_22278_eps_o_coa_2401_ovw.l2.nc",
               "id": "dca2f9c2-eafa-3e20-a8df-4e6a815bedbb[[567 567 567]]",
               "source": "ascat-l2-coastal-multi-t6",
               "data": [
                   {
                       "variable_name": "wind_speed",
                       "cf_variable_name": "wind_speed",
                       "variable_value": 9.130000114440918
                   },
                   {
                       "variable_name": "wind_dir",
                       "cf_variable_name": "wind_to_direction",
                       "variable_value": 252.1999969482422
                   }
               ],
               "matches": [
                   {
                       "sea_water_temperature": 8.7,
                       "sea_water_temperature_depth": null,
                       "sea_water_salinity": null,
                       "sea_water_salinity_depth": null,
                       "wind_speed": 8.0,
                       "wind_direction": null,
                       "wind_u": -6.1,
                       "wind_v": -5.1,
                       "platform": "moored surface buoy",
                       "device": null,
                       "x": "-124.7",
                       "y": "47.3",
                       "point": "Point(-124.7 47.3)",
                       "time": 1483361388,
                       "fileurl": null,
                       "id": "N2H7LY",
                       "source": "icoads",
                       "data": [
                           {
                               "variable_name": "eastward_wind",
                               "cf_variable_name": null,
                               "variable_value": -6.1
                           },
                           {
                               "variable_name": "northward_wind",
                               "cf_variable_name": null,
                               "variable_value": -5.1
                           },
                           {
                               "variable_name": "wind_speed",
                               "cf_variable_name": null,
                               "variable_value": 8.0
                           },
                           {
                               "variable_name": "sea_water_temperature",
                               "cf_variable_name": null,
                               "variable_value": 8.7
                           }
                       ]
                   }
               ]
           },
   ...
   ```
   
   (matchup results truncated)


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


Reply via email to