meteostat-python icon indicating copy to clipboard operation
meteostat-python copied to clipboard

Got Different Results in Local and AzureML

Open talatccan opened this issue 1 year ago • 0 comments

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?

talatccan avatar Nov 28 '23 12:11 talatccan