Based on a request from Scott in this thread I just uploaded a new version of ansvr, ansvr-0.12. This version adds a number of advanced configuration options on the ansvr config web page.
ansvr-0.12 also has some logging changes. A new log file is created each time ansvr starts, and log files older that 30 days old are automatically removed. When ansvr is started with -d it will now send output to both the terminal window and the log file.
You probably do not need to upgrade from 0.11 unless you are interested in tweaking the advanced options. Another reason to upgrade would be if you are using the -d option to start ansvr and you would like to start getting a log file to have available for diagnosing problems.
Chris - maybe you could update your package to include 0.12 at some point? Thanks.
To upgrade to 0.12, download ansvr-0.12.tar.gz and save in the folder
C:\cygwin\tmp
Then, open cygwin terminal and paste in the following command:
tar xfz /tmp/ansvr-0.12.tar.gz -C /opt
Next, update your Windows shortcut to point to the new version: right click the shortcut, click Properties, then paste the following into the Target field:
C:\cygwin\bin\bash.exe -lc /opt/ansvr-0.12/ansvr
Finally, restart the server if it is currently running:
The mkpasswd messages have to do with the cygwin installation. You can safely ignore them if you want. Or, you can easily make them go away by opening cygwin terminal and pasting in the following two commands:
mkpasswd -l > /etc/passwd
mkgroup -l > /etc/group
Next time you open a cygwin terminal (or ansvr window in your case) the mkpasswd messages will be gone.
That ansvr log excerpt is completely normal. When you opened the config page in your web browser, the browser asked ansvr for the icon (favicon.ico) to display on the browser tab or window icon. That icon does not exist and the log is indicating that. Not a problem at all.
Thanks for update and instructions. I recently upgraded from ansvr 0.6 to 0.11 and just a few minutes ago to 0.12. Blind solves are working great. Where can I find documentation of the new options available on the config page? It might be nice to add a link to the documentation at the bottom of the config page, or better yet add those to the config page directly if its not too much trouble.
If you open a cygwin terminal window and run the command
solve-field --help
you will get a list of all the available command-line arguments. As far as
I know you would have to read the source code or ask on the astrometry
google group for more information about those options than what is shown (I
copied the solve-field --help output verbatim to the ansvr config page for
the specific options added in 0.12.)
Fortunately, the ansvr default options seem to work quite well for many of
us (downsample 2 and scale error estimate 5%). Scott (scodavis) requested
adding the additional options http://forum.mainsequencesoftware.com/t/slewing-and-focusing-with-an-h-alpha-filter/278/12
to ansvr to pass through to solve-field which improved solving in his case.
I tried Scott’s suggested values (re-sort, no downsample, sigma, limit 100
objs) on some of my images and did not get any improvement in solve speed
over the default settings. It would seem that the advanced settings might
be helpful in special situations, like Scott’s case of solving Ha images.
Thank you. I am quite comfortable with the command line in unix. So that will do. I do find the solves are fairly fast.
I haven’t done a before and after test, but it seems like not directing the output to terminal has speeded up the process. We used to do this in the old days - ie direct output to a file rather than display on the terminal. I didn’t think it would make much of a difference these days.
following the instructions for the reinstalling everything went well until i get ti untaring ansvr-0.12 from inside cygwin window.
Q…am i not suppose to be inside c:/cygwin/tmp went i type, tar xfz /tmp/ansvr-0.12.tar.gz -C /opt
so far no joy, i wish Chris had his drag and drop files/directory prremade like the last time, it was so ez
where can i post screen pics of the cygwin cmd box?
It should not matter where you are at with that command as all the paths are absolute. You will have needed to download ansvr-0.12 and placed it in your tmp directory. I find that it’s easiest to do something like this:
cd /tmp
wget http://adgsoftware.com/ansvr/ansvr-0.12.tar.gz
tar xfz /tmp/ansvr-0.12.tar.gz -C /opt
The wget command will pull the tar down for you. I can’t recall if this is included in the package that Chris maintains. So this may or may not work.
Another way to do this the windows way:
Download http://adgsoftware.com/ansvr/ansvr-0.12.tar.gz
Install 7zip: http://www.7-zip.org/ which can extract .gz files
Use 7zip to extract ansvr folder to the /opt folder under cygwin in the same way that you usually extract zip files under windows.