整体思路:
- 安装 docker, docker compose
- 下载星表
- 启动 docker 容器
- 命令调用 docker 运行
最终效果:
# 进入目录:
cd /opt/astrometry
# 运行解算
docker compose run --rm solver-heavy \
--config /etc/astrometry.cfg \
--dir /output/heavy \
--overwrite \
/input/test.fits
# 等待得到结果
详细部署过程:
1、安装 docker
Ubuntu:服务器上实际使用的:
https://docs.docker.com/desktop/setup/install/linux/ubuntu/
01
HOYA Nulux 1.50 VP
NLU15 HARD-HVP
ne = 1.500
Vd = 58.0
02
KODAK Lens
Blue-blocked
ne = 1.553
Vd = 37.8
03
KODAK Lens
MR-8
ne = 1.600
Vd = 40.0
04
CHEMILENS
U6
ne = 1.597
Vd = 40.0
首先,查看接入的设备:
lsblk -o NAME,SIZE,MODEL
sudo fdisk -l
查看smart状态:sudo smartctl -a /dev/sdX
smart状态可以扔给AI分析。
安装
由于不熟悉,我选择编译安装,以便更多地了解其细节.
参考:
https://psfex.readthedocs.io/en/latest/Installing.html
基本过程如下:
mkdir PSFex
wget https://github.com/astromatic/psfex/archive/refs/tags/3.24.1.tar.gz
mv 3.24.1.tar.gz PSFex/
cd psfex-3.24.1/
ls
./autogen.sh
./configure
make
./src/psfex
在./configure的时候可能遇到一些包缺失,apt install之即可。
I choose to install from source:
https://astromatic.github.io/sextractor/Installing.html
To run sh autogen.sh, install autoconf first:
apt install autoconf
To run ./configure:
sudo apt install libcfitsio-dev libatlas-base-dev libfftw3-dev libtool
After make, the compiled executable file will be at ./src/sex.
Install PSFex
Almost the same:
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
sha256sum Miniconda3-latest-Linux-x86_64.sh
eval "$(/home/cirro/miniconda3/bin/conda shell.bash hook)"
conda create -n env_test_01 python=3.8 numpy
仅仅使用了Zotero几天,变看到红色惊叹号。点开一看,是300Mb的云同步存储已满。
<ChatGPT-Next-Web>开发得粗糙且混乱。但是看在更新及时的份上也就还在用……嗯,若有更高的解决方案,烦请推荐!
但是如<前文>之所描述的WebDAV无法同步的问题实在令人烦扰。我已经多次清理浏览器缓存时丢失聊天记录和配置了。此外,若能在多设备间同步设置和历史记录也会方便许多。
直到今天我看到<这里>,终于有了一个好的解决方案。
那么,完整的过程大致如下:
搭建WebDAV服务器
编辑nginx配置文件: