Skip to content

Instantly share code, notes, and snippets.

@jakebrinkmann
Created August 18, 2014 13:51
Show Gist options
  • Save jakebrinkmann/fb4bd3f4625b209978d0 to your computer and use it in GitHub Desktop.
Save jakebrinkmann/fb4bd3f4625b209978d0 to your computer and use it in GitHub Desktop.
#!/bin/tcsh
setenv PYTHONPATH $STORAGE/.gdalpy/lib/python2.7/site-packages
alias conda $STORAGE/.gdalpy/bin/conda
alias python '$STORAGE/.gdalpy/bin/python2.7'
conda install -c https://conda.binstar.org/jevans hdf4
conda install -c https://conda.binstar.org/jevans geos
conda install -c https://conda.binstar.org/jevans gdal
python -c \
"from osgeo import gdal; ds = gdal.Open('/mopads/xcal/Terra_MODIS_C6/Libya4/2014/MOD021KM.A2014005.0910.006.2014005194151.hdf'); print type(ds)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment