Skip to content

Instantly share code, notes, and snippets.

View AndrewAnnex's full-sized avatar
👨‍🚀
🌎🛰💻👨‍🚀📈

Dr. Andrew Annex AndrewAnnex

👨‍🚀
🌎🛰💻👨‍🚀📈
View GitHub Profile
@AndrewAnnex
AndrewAnnex / brewopencverrorlog
Created August 12, 2012 19:10
brew opencv error log
/usr/bin/env python -c import numpy
==> Downloading http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.2/OpenCV-2.4.2.tar.bz2
Already downloaded: /Library/Caches/Homebrew/opencv-2.4.2.tar.bz2
/usr/bin/tar xf /Library/Caches/Homebrew/opencv-2.4.2.tar.bz2
==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/opencv/2.4.2 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev -DPYTHON_LIBRARY='/Library/Frameworks/Python.framework/Versions/7.3/Python' -DPYTHON_INCLUDE_DIR='/Library/Frameworks/Python.framework/Versions/7.3/Headers' -DPYTHON_PACKAGES_PATH='/usr/local/Cellar/opencv/2.4.2/lib/python2.7/site-packages'
cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/opencv/2.4.2 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev -DPYTHON_LIBRARY='/Library/Frameworks/Python.framework/Versions/7.3/Python' -DPYTHON_INCLUDE_DIR='/Library/Frameworks/Python.framework/Versions/7.3/Headers' -DPYTHON_PACKAGES_PATH='/usr/local/Cellar/opencv/2.4.2/lib/python2.7/site-packages'
-- The CXX compiler i
@AndrewAnnex
AndrewAnnex / brew doctor return
Created August 18, 2012 17:59
homebrew install of opencv 32bit + python on Mount. Lion error log
Warning: Enthought Python was found in your PATH.
This can cause build problems, as this software installs its own
copies of iconv and libxml2 into directories that are picked up by
other build systems.
(yes, I am trying to get this working Enthought python. to my knowledge no serious issues should come from this, also obviously the 32 bit version)
@AndrewAnnex
AndrewAnnex / CMakeCache.txt
Created August 18, 2012 20:11
cmake cache
# This is the CMakeCache file.
# For build in directory: /tmp/homebrew-opencv-2.4.2-HXyC/OpenCV-2.4.2
# It was generated by CMake: /usr/local/Cellar/cmake/2.8.9/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
#!/bin/bash
f2py -c -m deeming periodogram.f90 -lgomp
f2py -c -m deemingomp periodogram.f90 --f90flags="-fopenmp " -lgomp
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AndrewAnnex
AndrewAnnex / proj.txt
Created September 6, 2018 19:57
Rasterio test case data for transform_geom #1446
src_crs = {'init': 'EPSG:4326'}
dst_crs = CRS({'proj': 'sinu', 'lon_0': 350.85607029556, 'x_0': 0, 'y_0': 0, 'a': 3396190, 'b': 3396190, 'units': 'm', 'no_defs': True})
dst_crs_wkt = 'PROJCS["unnamed",GEOGCS["unnamed ellipse",DATUM["unknown",SPHEROID["unnamed",3396190,0]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]],PROJECTION["Sinusoidal"],PARAMETER["longitude_of_center",350.85607029556],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["Meter",1],EXTENSION["PROJ4","+proj=sinu +lon_0=350.85607029556 +x_0=0 +y_0=0 +a=3396190 +b=3396190 +units=m +no_defs +wktext"]]'
@AndrewAnnex
AndrewAnnex / cividis.xml
Created November 24, 2019 18:56
cividis colormap for QGIS
<!DOCTYPE qgis_style>
<!--https://gis.stackexchange.com/questions/292460/creating-new-qgis-color-ramp-from-r-g-b-text-file-->
<qgis_style version="1">
<symbols/>
<colorramps>
<colorramp type="gradient" name="Cividis" favorite="1">
<prop k="color1" v="0,32,76,255"/>
<prop k="color2" v="255,233,69,255"/>
<prop k="discrete" v="0"/>
<prop k="rampType" v="gradient"/>
@AndrewAnnex
AndrewAnnex / viridis.xml
Created November 24, 2019 19:00
Viridis colormap for QGIS
<!DOCTYPE qgis_style>
<qgis_style version="1">
<symbols/>
<colorramps>
<colorramp type="gradient" name="Viridis" favorite="1">
<prop v="68,1,84,255" k="color1"/>
<prop v="253,231,37,255" k="color2"/>
<prop v="0" k="discrete"/>
<prop v="gradient" k="rampType"/>
<prop v="0.0196078;70,8,92,255:0.0392157;71,16,99,255:0.0588235;72,23,105,255:0.0784314;72,29,111,255:0.0980392;72,36,117,255:0.117647;71,42,122,255:0.137255;70,48,126,255:0.156863;69,55,129,255:0.176471;67,61,132,255:0.196078;65,66,135,255:0.215686;63,72,137,255:0.235294;61,78,138,255:0.254902;58,83,139,255:0.27451;56,89,140,255:0.294118;53,94,141,255:0.313725;51,99,141,255:0.333333;49,104,142,255:0.352941;46,109,142,255:0.372549;44,113,142,255:0.392157;42,118,142,255:0.411765;41,123,142,255:0.431373;39,128,142,255:0.45098;37,132,142,255:0.470588;35,137,142,255:0.490196;33,142,141,255:0.509804;32,146,140,255:0.529412;31,151,139,255:0.54902;30,156,137,255:0.568627;31,161,136,255:0.588235;33,165,133,255:0.607843;36,1
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AndrewAnnex
AndrewAnnex / spiceypy_msl_example.ipynb
Created April 15, 2020 20:43
spiceypy msl example
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.