common functions for muiscaenergy projects
Project description
Muisca Energy Commons
Common functions for muiscaenergy projects.
Time Series
Example usage: from datetime import datetime from muiscaenergy_common.src.timeseries.base import get_timeseries
ts_from = datetime(2023, 9, 30, 12, 0, 0)
ts_to = datetime(2023, 10, 1, 11, 0, 0)
freq = 'H'
lat = 52.5200
lon = 13.4050
tz = 'America/Los_Angeles'
# Get a TimeSeriesMessage object without notion of location
ts1 = get_timeseries(ts_from=ts_from,
ts_to=ts_to,
freq=freq)
print(ts1.df)
# Get a TimeSeriesMessage object with notion of location via lat and lon
ts2 = get_timeseries(ts_from=ts_from,
ts_to=ts_to,
freq=freq,
lat=lat,
lon=lon)
print(ts2.df)
# Get a TimeSeriesMessage object with notion of location via tz (timezone)
ts3 = get_timeseries(ts_from=ts_from,
ts_to=ts_to,
freq=freq,
tz=tz)
print(ts3.df)
Learning Material
Espanol
- https://www.youtube.com/watch?v=AczMuVzUrkE&ab_channel=SebastianBelmonte
- https://www.youtube.com/watch?v=xQGT9RZrBjg&ab_channel=AnartzMugikaLedo-Desarrollo%26Formaci%C3%B3n
English
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file muiscaenergy_common-0.0.3.tar.gz
.
File metadata
- Download URL: muiscaenergy_common-0.0.3.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f46c6cc77ba1b4c8f6819c9c82ab00a18c282f288b5f38b2303b2eba75f904d1 |
|
MD5 | 36d2dd5e2643ee84a0c9820824ff1e6b |
|
BLAKE2b-256 | 8244cc16a0cc7692ff0c4df29ad311dce087c6791065d7eae004360a142d21bf |