require_qc parameter using /observations/latest #705
-
I am seeing inconsistent and confusing results using the quality control parameter and I can't find much documentation to reference how it is suppose to work. For the following query's I sometimes get an error response when using the Other times Or, all 3 return identical results. I would have expected Anyone know how this works or should work? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hm, seems this parameter has problems only with non-ham CWOP stations. I tried it with an ASOS, RAWS, a ham CWOP station, and a couple of transportation stations and they come up OK, but the non-ham CWOP stations (both yours and mine) result in a 404. Might be something in the metadata in MADIS. That said, if this is the MADIS QC data, it has to be taken with a grain of salt. MADIS uses a buddy check for one of the QC checks which depends on nearby stations being fairly homogenous (good siting and generally equivalent exposures). This works fine for AWOS/ASOS, but CWOP stations can represent a variety of microclimates which the buddy check doesn't understand and it will flag the station when nothing is actually wrong. For instance, I live in a wind-sheltered valley next to a creek, so the dewpoint is always higher here than at the nearby airport, and MADIS regularly flags it as suspect when it is not. There's also an unmaintained CWOP station nearby that is dying a slow death, and sometimes MADIS thinks it is right and I am wrong ... but that is a story for another day. |
Beta Was this translation helpful? Give feedback.
-
Thanks for this info! However, I still don't know what I should be doing to ignore QC and return all data. Sounds like omitting the QC flag is probably the right approach even though at times it causes all null values (while including QC returns valid results). Perhaps the null values is an API bug since it seems the data IS returnable by the API. |
Beta Was this translation helpful? Give feedback.
Might just have to try it with the parameter and if you get a 404 then try again without.
The observations endpoint needs some dev time, that's for sure. On top of the known conversion issues and the unexpected NULL values, there's some issues in the METAR parser (it gets confused if wind gusts are reported). Hopefully it can get some attention.