vostpt / daily_weather_report Goto Github PK
View Code? Open in Web Editor NEWA script that gets data from IPMA and publishes it on VOSTPT's social networks
License: MIT License
A script that gets data from IPMA and publishes it on VOSTPT's social networks
License: MIT License
Script needs to print
This should also be done within the loops
@alexandrelezon will produce a new template to be the base for the automation
hum_max_** dataframe not sorted properly
Colors for both hum_min_** and temp_max_** not properly defined.
Based on the below image pick every individual color, for each category, and create a list
colors_rain_accu =[(112,112,164),(138,147,189),(163,175,213),(185,194,226)]
Use a tool like "Color Pick Eyedropper", or any other, and retrieve the RGB value for each group
Add lists to app.py
Empty lists already have been created from line 193 to line 197
Temp Max and Humidity Min have the same colors
Temp Min and Humidity Max have the same colors
After #4 we will need to integrate this on VOSTia's daily workflow, so that the image - and accompanying text - is posted on Twitter.
Facebook? If possible.
A github action needs to be programmed so that the script runs every morning, at 10:00am
The values and station names are now being calculated individually
# FIRST VALUE
row = 0
station_01 = four_temp_max.iloc[row].stationId
url_bar = f"https://api.fogos.pt/v2/weather/stations" \
f"?id={station_01}"
# Get response from URL
response_id = requests.get(url_bar)
# Get the json content from the response
json_id = response_id.json()
df_id = pd.json_normalize(json_id)
station_name_01 = str(df_id.location.values[0])
station_temp_01 = str(four_temp_max.iloc[row].temp_max)
Create an example loop function to be implemented for all needed values
A declarative, efficient, and flexible JavaScript library for building user interfaces.
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. đđđ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google â¤ī¸ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.