meteostat / meteostat-python

Access and analyze historical weather and climate data with Python.
https://dev.meteostat.net/python/
MIT License
439 stars 60 forks source link

Got Different Results in Local and AzureML #147

Open talatccan opened 1 year ago

talatccan commented 1 year ago

Hi, Thank you for this amazing library, it is really easy-to-use and very helpful.

I'm getting different results for some locations in my local and AzureML environment.

For istance;

I successfully got the results for the latitudes and longitudes below in my local, however when I try the run same code in AzureML couldn't get the results for first and third locations.

start_date = 2023-11-28 10:00:00 
end_date = 2023-11-28 15:00:00
#lat, lon = 40.31667, 36.55 # First Location
#lat, lon = 37.21528, 28.36361 # Second Location
#lat, lon = 40.55056, 34.95556 # Third Location
stations = Stations() 
selected_station = stations.nearby(lat, lon).fetch(1)
location = Point(float(selected_station['latitude']), float(selected_station['longitude'])) 
w_data = Hourly(location, start_date, end_date, timezone='Europe/Istanbul')
w_data = w_data.fetch()

Another interesting part is that my colegue has run the same code in AzureML and this time he got the results for first location but couldn't get results for second and last.

What could be the problem here? Is there anything I missed?