This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import xarray as xr | |
import dask.array as da | |
from dask.delayed import delayed | |
import numpy as np | |
from scipy import stats | |
# regression function defition | |
def regression(y): | |
"""apply linear regression function along time axis""" | |
axis_num = y.get_axis_num('time') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Assuming you have remote branch called heroku/master, start by creating a local tracking branch | |
called heroku. | |
> git checkout -b heroku -t heroku/master | |
This will checkout the last revision you deployed to Heroku. | |
Now tell git to push the heroku branch to heroku/master | |
> git config remote.heroku.push heroku:master |