RKuttruff commented on PR #202:
URL:
https://github.com/apache/incubator-sdap-nexus/pull/202#issuecomment-1262998052
I actually don't know exactly how many matches L2 -> Saildrone _should_ be
returning. I based the current test case on how many were returning from the
AWS deployment. However, the current deployment is returning the 'expected'
number of matches while the new changes have it returning 2 extra. One thing to
note about these extra matches is that the primary points are actually
duplicated in the matchup output.
An example for one of the extra matches:
<details>
<summary> Common point </summary>
```json
{
"platform": "orbiting satellite",
"device": "scatterometers",
"lon": "-129.94937",
"lat": "26.56576",
"point": "Point(-129.94937 26.56576)",
"time": 1522695015,
"depth": null,
"fileurl":
"ascat_20180402_180900_metopb_28742_eps_o_coa_2401_ovw.l2.nc",
"id": "44d09fab-f85e-3de5-9495-835b8607d8e2[[9 9 9]]",
"source": "ASCATB-L2-Coastal",
"primary": [
{
"variable_name": "wind_speed",
"cf_variable_name": "wind_speed",
"variable_value": 2.4800000190734863,
"variable_unit": null
},
{
"variable_name": "wind_dir",
"cf_variable_name": "wind_to_direction",
"variable_value": 283.3999938964844,
"variable_unit": null
}
],
"matches": [
{
"platform": "3B",
"device": "130",
"lon": "-130.0027776",
"lat": "26.35588",
"point": "Point(-130.0027776 26.35588)",
"time": 1522691460,
"depth": 0.5,
"fileurl": null,
"id": null,
"source": "shark-2018",
"secondary": [
{
"variable_name":
"sea_water_practical_salinity",
"cf_variable_name":
"sea_water_practical_salinity",
"variable_value": 34.681,
"variable_unit": "1"
},
{
"variable_name":
"sea_water_practical_salinity_quality",
"cf_variable_name":
"sea_water_practical_salinity_quality",
"variable_value": 2,
"variable_unit": null
},
{
"variable_name":
"sea_water_temperature",
"cf_variable_name":
"sea_water_temperature",
"variable_value": 19.314,
"variable_unit": "C"
},
{
"variable_name":
"sea_water_temperature_quality",
"cf_variable_name":
"sea_water_temperature_quality",
"variable_value": 2,
"variable_unit": null
}
]
}
]
}
```
</details>
<details>
<summary> Extra point (from modified SDAP) </summary>
```json
{
"platform": "orbiting satellite",
"device": "scatterometers",
"lon": "-129.94937",
"lat": "26.56576",
"point": "Point(-129.94937 26.56576)",
"time": 1522695015,
"depth": null,
"fileurl":
"ascat_20180402_180900_metopb_28742_eps_o_coa_2401_ovw.l2.nc",
"id": "44d09fab-f85e-3de5-9495-835b8607d8e2[[9 9 9]]",
"source": "ASCATB-L2-Coastal",
"primary": [
{
"variable_name": "wind_speed",
"cf_variable_name": "wind_speed",
"variable_value": 2.4800000190734863,
"variable_unit": null
},
{
"variable_name": "wind_dir",
"cf_variable_name": "wind_to_direction",
"variable_value": 283.3999938964844,
"variable_unit": null
}
],
"matches": [
{
"platform": "3B",
"device": "113",
"lon": "-130.0174208",
"lat": "26.3396",
"point": "Point(-130.0174208 26.3396)",
"time": 1522694880,
"depth": 0.5,
"fileurl": null,
"id": null,
"source": "shark-2018",
"secondary": [
{
"variable_name":
"mass_concentration_of_chlorophyll_in_sea_water",
"cf_variable_name":
"mass_concentration_of_chlorophyll_in_sea_water",
"variable_value": 0.08,
"variable_unit": "kg m-3"
},
{
"variable_name":
"mass_concentration_of_chlorophyll_in_sea_water_quality",
"cf_variable_name":
"mass_concentration_of_chlorophyll_in_sea_water_quality",
"variable_value": 2,
"variable_unit": null
}
]
},
{
"platform": "3B",
"device": "130",
"lon": "-130.0174208",
"lat": "26.3396",
"point": "Point(-130.0174208 26.3396)",
"time": 1522694880,
"depth": 0.5,
"fileurl": null,
"id": null,
"source": "shark-2018",
"secondary": [
{
"variable_name":
"sea_water_practical_salinity",
"cf_variable_name":
"sea_water_practical_salinity",
"variable_value": 34.69,
"variable_unit": "1"
},
{
"variable_name":
"sea_water_practical_salinity_quality",
"cf_variable_name":
"sea_water_practical_salinity_quality",
"variable_value": 2,
"variable_unit": null
},
{
"variable_name":
"sea_water_temperature",
"cf_variable_name":
"sea_water_temperature",
"variable_value": 19.45,
"variable_unit": "C"
},
{
"variable_name":
"sea_water_temperature_quality",
"cf_variable_name":
"sea_water_temperature_quality",
"variable_value": 2,
"variable_unit": null
}
]
}
]
}
```
</details>
Full outputs:
[outputs.zip](https://github.com/apache/incubator-sdap-nexus/files/9679943/outputs.zip)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]