Comments (7)
One more update: I decided to drop PyArrow completely as we can achieve similar performance with Pickle. Simply update to Meteostat 1.0.2:
pip install meteostat -U
from meteostat-python.
Sadly, I cannot tell what's causing this issue. Is it working if you run any of the example scripts in plain Python? Usually, Meteostat should install all dependencies when using pip. Only thing that's an optional dependency is Matplotlib.
from meteostat-python.
I think matplotlib isn't the problem, I use it almost every day. But what is the PyArrow ? I guess it's an wrapper for Apache Arrow, and i dont know if there is maybe an problem under windows 10?
The same python test script worked under Linux Mint 20 (Kernel 5.4.0), also Python 3.8.5 and IPython 7.19.0 and Spyder 4.1.5 very fine ... :-)
It's both an Anaconda Installation and MeteoStat was installed whith pip3 directly from an Konsole (cmd.exe@win / bash@linux)
Maybe I can still test it tonight under a Raspberry 4 ...
from meteostat-python.
I tried to install it in a Raspberry, but unfortunately had no chance because PyArrow only threw errors.
But of course this is a PyArrow problem and not a MeteoStat problem ....
from meteostat-python.
Same issue here, the example code crashes in the 'stations = Stations()' line :(
Windows 10, Python 3.7.4, conda 4.9.2
from meteostat-python.
If PyArrow causes these errors, I'm working on a workaround which is described in #10. I guess we can ship it with the next release.
from meteostat-python.
Alright - I finally have an update on this issue. As described in #10 the solution is a workaround for systems which don't support PyArrow.
First, please upgrade to Meteostat 1.0.1:
pip install meteostat -U
If the installation fails, please try again with the --no-deps
flag and install Pandas manually.
Then, in all scripts that utilize any of the Meteostat classes, simply disable caching:
Stations.max_age = 0
Hourly.max_age = 0
Daily.max_age = 0
This will bypass the cache and, therefore, doesn't require PyArrow. I hope it helps some of you.
from meteostat-python.
Related Issues (20)
- Non-model data is not up-to-date HOT 4
- android: SSL certificate issues HOT 2
- No "tsun" values and month values for Jan., Feb. 2023 HOT 2
- station data error? HOT 3
- Integrate solar radiation HOT 6
- proposing requests as download data method for mobile, due to issues with certificates verification in pandas HOT 2
- "wpgt" does not populate. HOT 4
- Missing Data Frame Values
- interpolation error "ValueError: The name station occurs multiple times, use a level number" HOT 3
- `Hourly` attempts to fetch data of next year HOT 1
- Hacktoberfest?
- DeprecationWarning
- Data from ISD datasource no longer included? HOT 7
- Data from METAR missing for some stations? HOT 2
- Support for proxies HOT 2
- NaN discrepancy between older versions (<=1.5.11) and newer versions (>=1.6.0) HOT 2
- Got Different Results in Local and AzureML
- Point interpolation weighted method error
- Stations and Hourly data availability times don't match
- README Example Faisl With [SSL: CERTIFICATE_VERIFY_FAILED] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteostat-python.