-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stations API: send measurements #272
Comments
Hi @csparpa very many thanks for that! I have tried to test but I'm afraid that my git expertise probably isn't good enough. What I did was: Then I ran my Python code from the Thonny IDE. But with no difference in the output -- even the code line numbers! |
What I would do then is avoid using the IDE (let's tear off one layer of complexity) and test patch from a "quick" command line script As far as the installation is concerned, did you remove the previous ... or, alternatively, you can choose not to Please let me know! |
Success! Very many thanks, indeed, @csparpa ! <pyowm.stationsapi30.measurement.Measurement - station_id=5bdda367199f0300011f2b11, created_at=1541710800> |
well done! thanks for testing it. and, by the way, I've added your GitHub handle to the CONTRIBUTORS.md file! |
* No more Py2.7 and Py3.3 * Remove references to Python <= 3.3. Fixes #252 * Removed support for Python 2. Fixes #243 * These should have been removed far before * Updated with all refatored subpackages and their non-code includes * Fixes #263 * Fixes #258 * Improve docs * even better, with a logo! * Fixes #269 * #269 * skeleton for tile client * even better, with a logo! * now also providing weather icon URLs * fix upper version boundary and fix keywords * Refactored out to a separate URI files * forgot to commit * Fetch a PNG file, with tests * name inconsistencies make me *angry*... * an image * Tile entity * Lots of mods... tiles now working! * docs * New property * Small refactoring * Add buy me a cofee page link * Far better now * Superb * Fix broken URL * a very first draft, testing how Travis behaves * attempt 2 * attempt 3 (typo in yaml) * attempt 3 * attempt 4 * attempt 5 * Travis does not support Py37 yet. Furthermore, already existing wheels and sdists broke the build * test 1 * test 2 (trying to make it more clever) * test 3 * test 4 * test 5 * test 6 * test 6 * test 6 * test 8 * test 8 * Fixing #271 * now tagging development releases on TestPyPI (attempt 1) * attempt 2 (various fixes) * attempt 3 (skipping some build steps if on the develop branch) * attempt 4 * attempt 5 * attempt 6 * attempt 7 * more badges * attempt 8 * attempt 9 * tox with coverage and fix timestamp issues in concurrent deploys * This should fix #272 * update * oh s**t I forgot.. * Removing lib dependecies duplication (now setup.py reads deps from requirements.txt) * better now * absolute paths! always!!! * OK so.. no requirements.txt anymore. * let's do it anyway * Safe to remove? * Improvement * Safe to remove? * Agro API: Polygons API subset + docs * Agro API: Polygons API subset + docs * __repr__ and docs * Soil entity with tests; fixes to imports/docs * Finalizes #245 * Seeds for Imagery API subset of Agro API; fix docs missing * repr everywhere * Refactoring * Moved Tile class into commons; Imagery module now provides the class hierarchy for dealing with Satellite Imagery Search operation * Fetching a GeoTIF image and some refactoring * more tests and btter docs; finalized download_satellite_image * Implement stats retrieval for satellite images * Refactored enum * Refactoring * Implemented search and download methods for satellite imagery; also some integration tests; lots of refactoring * More integrations tests * Refactoring and more unit tests. Completed satellite imagery related features * Name refactoring * One more method and test * Fix docs * dump to version 2.10 * fix prints * Update README.md * change PyPI production URL * fix duplicated tag
User Patrick Casbon reports errors when sending measurements to the Stations API:
The issue might be related to line:
pyowm/pyowm/stationsapi30/measurement.py
Line 199 in 1b8632b
This method is not dumping the Measurement object in the right way and therefore a wrong JSON is actually sent to the Openweathermap API
The text was updated successfully, but these errors were encountered: