Package: auromat
Installation under LinuxThe following assumes Ubuntu, but should be similar for other distributions.Before installing auromat, some system libraries have to be installed.sudoapt-getinstalllibraw-devliblensfun-devlibgeos-devIf you want to use THEMIS data or export in CDF format you have to
installNASA’s CDF library:wgethttp://cdaweb.gsfc.nasa.gov/pub/software/cdf/dist/cdf35_0_2/linux/cdf35_0-dist-cdf.tar.gztarxfcdf35_0-dist-cdf.tar.gzcdcdf35_0-distmakeOS=linuxENV=gnuallsudomakeINSTALLDIR=/usr/local/cdfinstallcd..Also, for using the CDF library in Python we need the spacepy library.
As this is not yet released on PyPI, you have to install it manually using:sudoapt-getinstalllibhdf5-serial-devpipinstall--usernumpypython-dateutilpipinstall--usergit+http://git.code.sf.net/p/spacepy/codeIf you want to export in netCDF format:sudoapt-getinstalllibnetcdf-devlibhdf5-serial-devIf you want to draw any kind of geographic maps, install the basemap library with:pipinstall--user--allow-externalbasemap--allow-unverifiedbasemapbasemapNow, install auromat with:pipinstall--userauromat[cdf,netcdf]Support for CDF or netCDF can be left out using auromat[cdf] or auromat[netcdf], respectively.The command-line tools are installed in ~/.local/bin. For convenience you should add this folder
to your PATH if that is not the case already:exportPATH=$HOME/.local/bin:$PATHInstallation under Mac OS XFirst, install Homebrew if you don’t have it yet:ruby-e"$(curl-fsSLhttps://raw.githubusercontent.com/Homebrew/install/master/install)"brewupdateThen, install Python 3 with Homebrew:brewinstallpython3If you want to use THEMIS data or export in CDF format you have to
installNASA’s CDF library:curl-Ohttp://cdaweb.gsfc.nasa.gov/pub/software/cdf/dist/cdf35_0_2/linux/cdf35_0-dist-cdf.tar.gztarxfcdf35_0-dist-cdf.tar.gzcdcdf35_0-distmakeOS=macosxENV=gnuallsudomakeINSTALLDIR=/Applications/cdfinstallcd..Also, for using the CDF library in Python we need the spacepy library.
As this is not yet released on PyPI, you have to install it manually using:pip3installnumpypython-dateutilpip3installgit+http://git.code.sf.net/p/spacepy/codeIf you want to export in netCDF format:brewtaphomebrew/sciencebrewinstallnetcdfhdf5If you want to draw any kind of geographic maps, install the basemap library with:brewinstallgeospip3install--allow-externalbasemap--allow-unverifiedbasemapbasemapNow, install auromat with:sudopip3installauromat[cdf,netcdf]Support for CDF or netCDF can be left out using auromat[cdf] or auromat[netcdf], respectively.Installation under WindowsIf you need to use THEMIS data or export in CDF format, then you need to use
Python 2.7 for 32 bit. The Python library that is used for handling CDF files
(SpacePy) is currently only available for Python 2.6 and 2.7 for 32 bit.For Python 3.3 and lower, you have to install the package manager pip,
seehttp://pip.readthedocs.org/en/latest/installing.htmlfor instructions.Some required Python packages (as of late 2014) don’t offer Windows binary
wheels on PyPI yet. Therefore, you have to install them manually:Please install numpy, scipy, numexpr, scikit-image, astropy, and pyephem fromhttp://www.lfd.uci.edu/~gohlke/pythonlibs/.If you want to draw any kind of geographic maps, please install the basemap library from:http://www.lfd.uci.edu/~gohlke/pythonlibs/#basemapIf you want to use THEMIS data or export in CDF format you have to
install NASA’s CDF library (32 bit version), seehttp://cdf.gsfc.nasa.govfor details.
Also, for using the CDF library in Python you need the SpacePy library.
You can download an installer fromhttp://sourceforge.net/projects/spacepy/files/spacepyIf you want to export in netCDF format please install the netCDF4 library from:http://www.lfd.uci.edu/~gohlke/pythonlibs/#netcdf4Now, install auromat with:pipinstall--userauromat[cdf,netcdf]Support for CDF or netCDF can be left out using auromat[cdf] or auromat[netcdf], respectively.Advanced functionalityThe following software can be installed if you want to georeference images yourself
and not use the available data providers. Note that the complete workflow is not as
straight-forward for certain data sources, e.g. to correctly georeference ISS images
you have to consider inaccurate camera timestamps and possibly create missing lens distortion
profiles.If you want to determine astrometric solutions yourself using the auromat.solving package,
you need to install astrometry.net, seehttp://astrometry.net/use.html. Make sure the
bin/ folder is in your PATH so that auromat can find it.If you want to automatically mask the starfield of an image using the auromat.solving.masking
module, please install on Ubuntu:sudoapt-getinstalllibopencv-imgproc-devpython-opencvon Mac OS X, please followhttp://jjyap.wordpress.com/2014/05/24/installing-opencv-2-4-9-on-mac-osx-with-python-support/on Windows, install fromhttp://www.lfd.uci.edu/~gohlke/pythonlibs/#opencvIf you want to correct lens distortion in an image with the lensfun database
using EXIF data extracted from the image, please install on Ubuntu:sudoapt-getinstalllibimage-exiftool-perlon Mac OS X:brewinstallexiftoolon Windows, extract the zip archive fromhttp://www.sno.phy.queensu.ca/~phil/exiftool/into a folder and put it in your PATH so that auromat can find exiftool.