View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001867 | CCdciel | General | public | 17-12-16 12:58 | 18-01-25 18:41 |
Reporter | han | Assigned To | Patrick Chevalley | ||
Priority | normal | Severity | feature | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Platform | PC | OS | Windows | OS Version | 10 64bit |
Target Version | 1.0 | ||||
Summary | 0001867: Access to Astrometry.net running in a Linux subsystem of Win 64 bit | ||||
Description | I think a nice addition would be the possibility to access Astrometry.net in a Linux subsystem of Win10 64 bit. Command line for c:\astap.fpc\_M95_test_image.fit: C:\Windows\System32\bash.exe -c "solve-field /mnt/c/astap.fpc/_M95_test_image.fit --overwrite --downsample 4" It works now on my system using the guideline below: ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- # Installation guideline (2017-12-16) local version of Astrometry.net v0.67 in a Linux sub system of Win10. # With the Win10-Creation 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 (-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 and Windows cmd window and enter: C:\Windows\System32\bash.exe -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\ast\astrometry) # Copy the index files to Ubuntu subsystem (/usr/share/astrometry) by entering the Linux command: sudo cp /mnt/c/temp/ast/astrometry/*.* /usr/share/astrometry # The directory /usr/share/astrometry, is specified in /etc/astrometry.cfg but can be altered # To download the data files for markup of the produced png files do in the Linux subsystem: cd /usr/share/astrometry sudo wget https://github.com/dstndstn/astrometry.net/raw/master/catalogs/ngc2000names.dat/ngc2000names.dat sudo wget https://github.com/dstndstn/astrometry.net/raw/master/catalogs/ngc2000names.dat/ngc2000_pos.txt sudo wget https://github.com/dstndstn/astrometry.net/raw/master/catalogs/ngc2000names.dat/ngc2000.dat sudo wget https://github.com/dstndstn/astrometry.net/raw/master/catalogs/ngc2000names.dat/ngc2000-readme.txt sudo wget https://github.com/dstndstn/astrometry.net/raw/master/catalogs/ngc2000names.dat/ic2000_pos.txt | ||||
Tags | No tags attached. | ||||
|
It is Creators edition not Creation edition. |
|
Yes, it is good to make this work as this is an easy way to use the current version of astrometry.net on Windows. If I understand there is two incompatible difference: 1- Windows bash.exe do not accept the --login option. It is required by some cygwin install to execute the profile and set the path. 2- I must not add bin\ to the configured path to accept System32\bash.exe. Also name this field something other than "cygwin path". |
|
This is done in revision 767: https://sourceforge.net/p/ccdciel/code/767/ But this can work only if ccdciel is compiled for 64bit, this is not a problem but I need to update the installer and my build script. I open a new issue for that: 0001884 I make some minor change to your install instruction and I copy here for the future documentation update: # With the Win10-Creation 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 to execute the following Linux commands # First you need to update the list of packages: sudo apt update # Then upgrade the libraries to the latest version sudo apt upgrade # Finally install astrometry.net 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 (-06) sudo apt install astrometry.net astrometry-data-2mass-08-19 astrometry-data-2mass-07 astrometry-data-2mass-06 # Alternatively you can also the use the index that are already installed on the Windows system sudo nano /etc/astrometry.cfg # for example if the index are in C:\cygwin\usr\share\astrometry\data add a row: add_path /mnt/c/cygwin/usr/share/astrometry/data |
Date Modified | Username | Field | Change |
---|---|---|---|
17-12-16 12:58 | han | New Issue | |
17-12-16 15:50 | han | Note Added: 0004362 | |
17-12-18 23:23 | Patrick Chevalley | Assigned To | => Patrick Chevalley |
17-12-18 23:23 | Patrick Chevalley | Status | new => assigned |
17-12-18 23:23 | Patrick Chevalley | Product Version | 0.9 => |
17-12-18 23:23 | Patrick Chevalley | Target Version | => 1.0 |
17-12-18 23:23 | Patrick Chevalley | Note Added: 0004364 | |
18-01-25 18:41 | Patrick Chevalley | Status | assigned => resolved |
18-01-25 18:41 | Patrick Chevalley | Resolution | open => fixed |
18-01-25 18:41 | Patrick Chevalley | Note Added: 0004407 |