For the new
Win10 64 bit Creators edition Microsoft provides an app which will install a Linux sub-system capable of running Linux
command-line programs.
It is
possible to run the Astronomy.net plate-solve package in this Linux subsystem. The advantage is a pretty new Astrometry.net
version, currently at v0.67. Windows programs as Astrotortilla and ANSVR install an older v0.38 version of 2010 compiled for Cygwin.
The slightly different command-line is not yet supported by several software packages.
ASTAP supports it. Other program could use my little Bash interface program see describtion below or you could simple use the Windows
command-line.
Furthermore
the Creators edition has problems with AMD graphic cards. I had trouble in
getting my old working driver back. So be warned.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# Installation guideline (2017-12-16) local version of Astrometry.net v0.67 in
a Linux sub system of Win10 64 bit, Creators edition.
# With the Win10-Creators edition, it possible to install Windows subsystem for
Linux:
# https://docs.microsoft.com/en-us/windows/wsl/install-win10
# Install the Ubuntu installer (OpenSuse and Sles are also available) as
indicated in above webpage.
# open the Ubuntu window or open a Windows cmd window and enter bash.
# execute the following Linux commands (the update is required to allow
astrometry.net to be installled):
sudo apt udate
sudo apt install astrometry.net
# Download the index files up to 10% of your image scale, so up to 22 arcmin
(-08-19, -07) or 16 arc min (-08-19, -07, -06)
sudo apt install astrometry.net astrometry-data-2mass-08-19
sudo apt install astrometry.net astrometry-data-2mass-07
sudo apt install astrometry.net astrometry-data-2mass-06
# Check if the index files (index....fits) are available by entering the Linux
command:
dir /usr/share/astrometry
# test the solver using a fits file on the Windows system .e.g. image at
c:\astap.fpc\_M95_test_image.fit
# Open a Windows cmd window and enter:
C:\Windows\System32\bash.exe -c "solve-field
/mnt/c/astap.fpc/_M95_test_image.fit --overwrite --downsample 4"
or
bash -c "solve-field /mnt/c/astap.fpc/_M95_test_image.fit --overwrite --downsample 4"---------------------------------------------------------------------------------------------------------------------
Additional information:
# Note that your Linux home folder is at something like:
C:\Users\H\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\home
# where "H" is the Windows user name.
# Case is important in the Linux command. Drive C: is lowercase /mnt/c
# Alternatively you can also download the index files in Windows and place them
in the Windows system (c:\temp\astrometry)
# Copy the index files to Ubuntu subsystem (/usr/share/astrometry) by entering
the Linux command:
sudo cp /mnt/c/temp/astrometry/*.* /usr/share/astrometry
# The directory /usr/share/astrometry, is specified in /etc/astrometry.cfg but
can be altered
# The NGC/IC annotation functionality is removed in the Debian package
for copyright reasons and can't be restored without recompiling.