Skip to content

Commit

Permalink
dependencies and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedor Baart committed Nov 5, 2017
1 parent 01e0e2e commit ace5413
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions data/noaa/ncep/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
all: vwnd.10m.gauss.2017.nc uwnd.10m.gauss.2017.nc
uwnd.10m.gauss.2017.nc:
wget -c -nd -r --accept='*uwnd.10m.gauss.201*.nc' ftp://ftp.cdc.noaa.gov/Datasets/ncep.reanalysis/surface_gauss/
wget -c -nd -r --accept='*uwnd.10m.gauss.201[01].nc' ftp://ftp.cdc.noaa.gov/Datasets/ncep.reanalysis/surface_gauss/
# ncrcat uwnd.10m.gauss.????.nc uwnd.10m.gauss.nc
vwnd.10m.gauss.2017.nc:
wget -c -nd -r --accept='*vwnd.10m.gauss.201*.nc' ftp://ftp.cdc.noaa.gov/Datasets/ncep.reanalysis/surface_gauss/
wget -c -nd -r --accept='*vwnd.10m.gauss.201[01].nc' ftp://ftp.cdc.noaa.gov/Datasets/ncep.reanalysis/surface_gauss/
#ncrcat vwnd.10m.gauss.????.nc vwnd.10m.gauss.nc
1 change: 1 addition & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ pytest==2.9.2
pytest-runner==2.11.1
beautifulsoup4==4.6.0
requests==2.9.1
boto3==1.4.7
4 changes: 2 additions & 2 deletions tests/test_ncep.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ def test_grid():


def test_get_measurement():
start_time = dateutil.parser.parse("2017-3-10T09:00:00.000+01:00")
end_time = dateutil.parser.parse("2017-3-14T10:10:00.000+01:00")
start_time = dateutil.parser.parse("2010-3-10T09:00:00.000+01:00")
end_time = dateutil.parser.parse("2010-3-14T10:10:00.000+01:00")
lat = 52
lon = 3
data_dir = pathlib.Path('data/noaa/ncep')
Expand Down

0 comments on commit ace5413

Please sign in to comment.