PWS not showing
-
Hi, I started reporting data to Windy four days ago, but I still don't see it on the map, nor do I receive any data from a GET requests('observation' and 'data' fields are null, rest are OK).
I'm sending the data via POST request every five minutes and getting a 'SUCCESS' as response.
I'm not sending wind direction or atmospheric pressure—could this be a problem?
Additionally, in the JSON, I omitted the 'stations' field because I manually created the station. Is that OK?
My station ID: f057826aThanks,
Nico -
@givan022 Hi there, I cannot see any observations sent to Windy, however the pressure shouldn't be an issue.
-
@Ondřej-Šutera This is what I'm sending:
{
"observations": [
{
"station": 0,
"ts": 1704724807,
"temp": 24.17,
"wind": 0.06,
"gust": 0.27,
"humidity": 65
}
]
}I tried wind direction in 0,
adding the 'stations' field to create the spot.
sending ts timestamp as text and not sending it too.
I am missing something? -
I tried reporting data using the GET method, and it seems to work fine. I received a 'SUCCESS (valid measurements count: 2, valid station info count: 0)' response.
I didn't get the valid measurement count when sending via POST. Can someone confirm if that's normal behavior?I'll try again later.
Thanks. -
@givan022 Yes, POST returns only errors, nothing else. According to wind direction, you can use
"winddir":null
-
I made it work. The problem was related to the request's headers, which the Requests library usually solves for me. This time, they weren't the correct ones for a JSON content type.
Thanks for the help!