ВНИМАНИЕ! На форуме начался конкурс - астрофотография месяца МАРТ!
0 Пользователей и 2 Гостей просматривают эту тему.
Не надо надо мной стебаться Я Линукс только сегодня поставил, и пока ничего в нём не понимаю.
Так что, под IRAF пока нет ГУЯ какого-либо ?
Не надо надо мной стебаться
#! /bin/sh# (c)2006 Sergey Poltavskiy# poltavski gav-gav yandex.ru## Feel free to distribute and modify this programm## This utility first searches hostname, login and password data# in config file under your home directory: ~/.utm5_config# In this file your can define your own preferences like:# HOST=127.0.0.1# LOGIN=FOO# PASS=12345 and so on.# If you don't want to store your password in config file# you can enter it as command line parameter.# See -h options for help## NOTE! curl option `-k` suppress SSL certificate validation# If you dont't want such behaivor, remove it## NOTE! option `-b` can increase execution time on old machines#case $1 in'-v') echo Utm5 console client\; version: 0.2.1; echo \(c\)2006 Sergey Poltavskiy; exit;;'-h') echo Usage: $0 [-bv] [-l=LOGIN] [-p=[PASS]]; echo Shows balans info and switchtes of/off internet access; echo If no paramaters given simply show internet state echo " -b Show balans info -h This help -H=HOST Hostname or ip -l=LOGIN Login -off Turns internet access off -on Turns intenet access on -p=[PASS] Password -v Show programm version and exit;Example: $0 -l=MyLogin -p=SecretPass"; exit;;*);;esac# hardcoded default settingsCURL_PARAM='-k'LOGIN=PASS=HOST=URL1='https://'$HOST'/cgi-bin/utm5/aaa'CONFIG_PATH='.utm5_config'# try to load settings from config fileif [ -f $HOME/$CONFIG_PATH ]then source $HOME/$CONFIG_PATHfi# parsing command line paramsfor KEY in $*do case $KEY in # show balans info -b) BALANS=1;; -l*) LOGIN=`echo $KEY | cut -c4-` if [ -z $LOGIN ] then echo Option \'-l\' requires an argument exit fi ;; -p*) PASS=`echo $KEY | cut -c4-`;; -on) ON=1;; -off) OFF=1;; -H*) HOST=`echo $KEY | cut -c4-` if [ -z $HOST ] then echo Option \'-H\' requires an argument exit fi ;; *);; esac;done;# Checking for curlwhich curl 2>/dev/null 1>/dev/nullif [ ! $? ]then echo No curl programm found echo You have to install it before using this utility echo Look at http://curl.haxx.se exit 1fi# loginLOGINPAGE=`curl $CURL_PARAM --data-ascii 'login='$LOGIN'&password='$PASS'&cmd=login' --url https://192.168.1.11/cgi-bin/utm5/aaa5 2>/dev/null`# gets random secret keySECRET=`echo $LOGINPAGE | sed -n 's/.*user5?skey=\([[:alnum:]]*\).*/\1/p'`if [ -z $SECRET ]then echo Authorisation error exit 1fiURL2='https://'$HOST'/cgi-bin/utm5/user5?skey='$SECRET'&cmd=user_reports'STATPAGE=`curl -k --url "$URL2" 2>/dev/null`if [ $BALANS ]then echo 'balans:' `echo $STATPAGE | sed -n 's/.*Баланс основного счета<\/TD> <TD class\="utm-table" align\="left">\([0-9.]*\)<\/TD>.*/\1/p'`fitoggle_inet() { curl $CURL_PARAM --url $URL2'&int_status_cmd=invert' 2>/dev/null 1>/dev/null}echo $STATPAGE | grep 'Выключен' > /dev/nullif [ $? -eq 0 ] #offthen #echo Off: if [ $ON ] then toggle_inet echo on else echo off fielse # on #echo On: if [ $OFF ] then toggle_inet echo off else echo on fifi
FITS RGBA FITS RGB image may exist as three of FITS images, one FITS file with three extensions, or as a FITS 3D Data cube, with three slices, each representing the red, green, and blue channel. A FITS RGB image may be loaded all a one time, or by the channel. Once loaded, the multiple FITS images are treated as one FITS image.Example:$ds9 -rgbimage rgb.fits # load rgb image consisting of one fits file with 3 image exts$ds9 -rgbcube cube.fits # load rgb image consisting of one fits data cube$ds9 -rgb -red foo.fits -green bar.fits -blue wow.fits # rgb image from 3 fits images
Пробежав Install Guide, от себя могу сказать только то, что эта прога имеет очень недружелюбный механизм установки и... похоже что такую же манеру общения с пользователем, что может вызвать сложности и негатив не только к проге но и к системе в целом, учитывая недельный опыт...
Celestron Nextar
Посоветуйте ,операционку(ки) под FTP-сервер
Я слышал, что можно как-то, но как - не представляю...
Как читать и писать фитсфайлы?
Эээ... а cfitsio есть под .NET?
К астрономии они имеют какое -то отношение? %-()
Причем когда перед покупкой писал в контору, божились что под никсами пашет как бронепоезд