Getting Started
Whether you're an energy trader, meteorologist, or any industry professional, our comprehensive solutions are designed to meet your needs: getting started is as easy as 3, 2, 1
3. Install & authenticate
Make sure you are already logged in the developer portal.
pip install jua
jua auth
2. Import Jua
from jua import JuaClient
from jua.types.geo import LatLon
from jua.weather import Models, Variables
import matplotlib.pyplot as plt
ZURICH = LatLon(lat=47.3769, lon=8.5417)
1. Get the latest forecast
client = JuaClient()
model = client.weather.get_model(Models.EPT1_5)
forecast = model.forecast.get_forecast(
points=ZURICH,
)[Variables.AIR_TEMPERATURE_AT_HEIGHT_LEVEL_2M]
🚀 Liftoff 🚀
forecast.to_absolute_time().plot()
plt.title("Temperature in Zurich")
plt.ylabel(Variables.AIR_TEMPERATURE_AT_HEIGHT_LEVEL_2M.display_name_with_unit)
plt.xlabel("Time")
plt.show()

Next Steps
Familiarize yourself with the examples provided in Jua's Python SDK Repository
Last updated