Skip to content

Instantly share code, notes, and snippets.

View clampr's full-sized avatar

Christian Lamprecht clampr

View GitHub Profile
import { defineComponent } from 'vue'
export default defineComponent({
name: 'Station',
props: {
station: {
type: Object,
default: null
}
@clampr
clampr / meteostat-py-example-v1.py
Last active December 1, 2021 13:15
Example that shows how to plot temperature data for Vancouver, BC from 2018 using Meteostat Python library.
# Import Meteostat library and dependencies
from datetime import datetime
import matplotlib.pyplot as plt
from meteostat import Stations, Daily
# Set coordinates of Vancouver
lat = 49.2497
lon = -123.1193
# Set time period