Comments (4)
Hi, data is definitely available for Bucharest: https://meteostat.net/en/place/3LX24L?t=2021-10-01/2021-10-31
Can you share your code?
from meteostat-python.
Import Meteostat library and dependencies
from meteostat import Stations, Daily, Hourly
from datetime import datetime
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np
from meteostat import Stations
stations = Stations()
stations = stations.region('RO')
count = stations.count()
Show dataframe
station = stations.fetch(count)
station = pd.DataFrame(station)
station[station['daily_end'] > '2021-11-01']
station[station['name'] == 'Bucuresti / Imh']
Get closest weather station to Romania, RO
from datetime import datetime
import matplotlib.pyplot as plt
from meteostat import Daily
Time period
start = datetime(2021, 10, 1)
end = datetime(2021, 11, 10)
Get daily data
data = Daily('15420', start, end)
Group & aggregate weekly
data = data.normalize().aggregate(freq='1D').fetch()
Plot chart
data.plot(y=['tavg', 'tmin', 'tmax'])
plt.show()
from meteostat-python.
I tried with this code, based on your example:
from meteostat import Daily
from datetime import datetime
import matplotlib.pyplot as plt
start = datetime(2021, 10, 1)
end = datetime(2021, 11, 10)
data = Daily('15420', start, end)
data = data.normalize().aggregate(freq='1D').fetch()
data.plot(y=['tavg', 'tmin', 'tmax'])
plt.show()
And it prints the following chart:
from meteostat-python.
Thank you!
from meteostat-python.
Related Issues (20)
- 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? HOT 1
- 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
- Bug in Stations module
- Update `numpy` dependency HOT 1
- Humidity data HOT 2
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.