Skip to content

Instantly share code, notes, and snippets.

View hydrogo's full-sized avatar

Georgy Ayzel hydrogo

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import pandas as pd
import numpy as np
import datetime
import ecmwfapi
import xarray as xr
from collections import OrderedDict
dates = pd.Series([d.strftime("%Y-%m-%d") for d in pd.date_range("1979-01-01", "2016-12-31", freq="1D")],
index=pd.date_range("1979-01-01", "2016-12-31", freq="1D"))
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
flat_w_cat = {"door": "locked",
"cat": "alive",
"sofa": "clean",
"trays": "clean",
"water_bowl": "full",
"junk_bowl": "full",
"hugs": "done"}
vacation_lenght = 7
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.