diff --git a/README.md b/README.md index 67b16e3..9428f8a 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,14 @@ Experiments in fetching and parsing climate data for oNHM setup environment using conda - * conda create --name gridmet_3 python=3.6 netcdf4 numpy pandas xarray dask bottleneck jupyter notebook=5.7.4 matplotlib cartopy scipy - * conda activate gridmet_3 - * conda install -c pyviz geoviews - * conda install rasterio - * conda install -c conda-forge rasterstats + * conda env create -f pgk/environment.yml + * conda activate ofp_env + * Add Data folder to root directory and get data from: -* https://drive.google.com/open?id=1Fzw3gOSvt_beX-uTU-Zid9sp8Ek4JuMv -* unzip Data.7z into Data folder - contains shapefiles of hru by region +* ftp://ftpext.usgs.gov/pub/cr/co/denver/BRR-CR/pub/rmcd/Data_hru_shp_v2.tar.gz +* unzip Data_hru_shp_v2.tar.gz into Data folder - contains shapefiles of hru by region + +To run onhm-fetcher-parser from a conda cmd prompt using the ofp_env environment + + * python pkg/climate_etl.py -t date -p 2015-01-01 2015-12-31 -f 2015_ -i Data -o Output -w Data/weights.csv