Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rmcd-mscb committed Sep 23, 2019
2 parents e53b688 + c0a126f commit ebd219f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ebd219f

Please sign in to comment.