Apache Log4j2远程代码执行漏洞(CVE-2021-44228)

简介

ApacheLog4j2是一个开源的Java日志框架,被广泛地应用在中间件、开发框架与Web应用中。

漏洞概述

该漏洞是由于Apache Log4j2某些功能存在递归解析功能,未经身份验证的攻击者通过发送特定恶意数据包,可在目标服务器上执行任意代码。

影响范围

Apache Log4j 2.x <= 2.15.0-rc1


漏洞编号: CVE-2021-44228,名称为Log4Shell或者LogJam

漏洞类型: Remote Code Execution (RCE)

组件名称: Apache log4j2

影响范围: 2.0.0 ≤ Apache Log4j2 ≤ 2.15.0-rc1

利用难度: 容易

威胁等级: 严重


解决方案

1.目前,Apache软件基金会已发布最新版本,建议受影响的用户及时更新升级到最新版本log4j-2.15.0-rc2:

https://logging.apache.org/log4j/2.x/security.html

https://github.com/apache/logging-log4j2/releases/tag/log4j-2.15.0-rc2

2.对于该漏洞还有一个临时的缓解措施:

设置log4j2.formatMsgNoLookups=true

 

 

.

 

发表在 cve | Apache Log4j2远程代码执行漏洞(CVE-2021-44228)已关闭评论

航天/天文常用坐标系

一、英文缩写说明
CIO:国际协议原点(考虑极移与章动)
CRF:协议天球参考框架
CTS:协议地球坐标系
ECEF:地心地固坐标系
ECI:地心惯性坐标系 (Earth Center Inertial Coordinates | 地球中心的惯性坐标系)
ECSF:地心空间坐标系
ECEI:地心椭球惯性坐标系(地心黄道惯性坐标系)
ECF: 地心固定坐标系
TEME:
真赤道平春分点坐标系(True Equator Mean Equinox)(适用TLE的坐标系)
MEME:历元平赤道平春分点地心坐标系(Mean Equator Mean Equinox)(卫星常用)
J2000地心赤道坐标系(卫星常用/MEME坐标系)
GCRS:地心天球参考系
ITRS:国际地球参考系
WGS84:WGS-84坐标系(World Geodetic System一1984 Coordinate System)

二、坐标系解析
1. 笛卡尔坐标系
01—笛卡尔坐标系有两种:
右手系和左手系;其中,
右手系分为:CTS(包括ECEF, 其中ECEF可以是直角系或椭球系或大地坐标系)、

CRF(包括ECI、ECSF和ECEI)和星固坐标系;
左手系有:当地坐标系(站星坐标系)!


2. ECEF 地心地固坐标系
02—ECEF:
1)原点-地球几何中心(地球质心);
2)Z轴-地球平均自转极点(CIO);
3)X轴-子午线与赤道交点;
4)Y轴-右手系决
定!


3. ECI 地心惯性坐标系
03—ECI:
1)原点-地球质心;
2)Z轴-地球平均自转极点(CIO);
3)X轴-春分点(每年春分点均会发生变动,参考J2000.0);
4)Y
轴-右手系决定!

地心惯性坐标系(ECI×J2000历元坐标系)
地心惯性坐标系是太阳系内的一个惯性坐标系,不随地球而转动,也不受地球、DAC6574IDGS太阳运行的章动和岁差的影响。其坐标原点位于地心0e;OeX轴位于赤道平面内,指向特定某一年(历元时刻)的太阳春分点位置;Oez轴指向某一年(历元时刻)地球北极的平均位置处;Ocy轴位于赤道平面内,与0eX轴垂直,且与0cX、9ez构成满足右手定则的笛卡儿直角坐标系。由于采用的历元时间不同,可以有各种不同的地心惯性坐标系,目前国际上通用的地心惯性坐标系是12.000历元坐标系,它是以公元20.OO年的春分点为基准的历元坐标系。

在空间保持静止或匀速直线运动(无加速度)的坐标系称为惯性坐标系。所有惯性器件在测量轴方向产生的都是惯性系下的测量结果。此外,还需要在惯性系下完成卫星绕地球的位置和速度的估计。对于近地卫星,通常采用地心惯性(ECI)坐标系。


4. ECSF 地心空间坐标系
04—ECSF==ECI!


5. ECEI 地心椭球惯性坐标系(地心黄道惯性坐标系)
05—ECEI:1)原点-地球几何中心(地球质心);2)Z轴-椭球极轴(黄道极-地球公转 轨迹在地球表面投影轨迹形成);3)X轴-春分点
(每年春分点均会发生变动,参考J2000.0);4)Y轴-右手系决定!


6. ECF 地心固定坐标系
地心固定坐标系(ECF)(WGS84坐标系)
地心固定坐标系的坐标原点位于地心0c,Oez轴指向地球北极,Oe凭轴位于赤道平面内指向地理经度的零点,Oey轴根据右手定则确定。地心固
定坐标系为笛卡尔直角坐标系,该坐标系在宇宙空间中相对地球静止,伴随地球自转和公转。


7.星固坐标系
06—星固坐标系:1)原点-卫星质心;2)Z轴-指向地心或者与天线指向平行方向;3) Y轴-平行太阳能面板(若面板不对称,Y轴指向何
方?);4)X轴-右手系决定!


8. 当地坐标系
07—当地坐标系:1)Z轴-垂直水平面向上;2)X轴-指向大地北;3)Y轴-指东;4)X- Y面构成水平面!


9. 坐标系转换
08—若原点相同的系可以归属为同一类笛卡尔坐标系!
09—不同的笛卡尔坐标系转换公式:X(new)=X(原点坐标差)+U * R * X(old)!
10—X(ECEF) = R(M) * R(S) * R(N) * R§ * X(ECI)
11—X(ECEI) = R1(-ems) * X(ECI)
12—IAU 2000框架下:X(ECEF0 = R(M) * R(S) * R(NP) * X(ECI)
13—不同的坐标可以通过R1、R2、R3矩阵进行转换!


astropy根据TLE计算的卫星位置用TEME坐标(表中的第四种)表示,做卫星的覆盖分析,需要经纬度则需要转换坐标。

转换包:

https://www.osgeo.cn/astropy/index.html

一、参心坐标系

reference-ellipsoid-centric coordinate system

是以 参考椭球的几何中心为原点的 大地坐标系。“参心”意指参考椭球的中心。

通常分为:参心空间直角坐标系(以x,y,z为其坐标元素)和参心大地坐标系(以B,L,H为其坐标元素)。参心坐标系是在参考椭球内建立的O-XYZ坐标系。原点O为参考椭球的几何中心,X轴与赤道面和首子午面的交线重合,向东为正。Z轴与旋转椭球的短轴重合,向北为正。Y轴与XZ平面垂直构成右手系。在测量中,为了处理观测成果和传算地面控制网的坐标,通常须选取一参考椭球面作为基本参考面,选一参考点作为大地测量的起算点(大地原点),利用大地原点的天文观测量来确定参考椭球在地球内部的位置和方向。

参心大地坐标的应用十分广泛,它是经典大地测量的一种通用坐标系。根据地图投影理论,参心大地坐标系可以通过高斯投影计算转化为平面直角坐标系,为地形测量和工程测量提供控制基础。由于不同时期采用的地球椭球不同或其定。

北京54和西安80均为参心坐标系。

二、地心坐标系

geocentric coordinate system

以地球质心为原点建立的空间直角坐标系,或以球心与地球质心重合的地球椭球面为基准面所建立的大地坐标系。
以地球质心(总椭球的几何中心)为原点的大地坐标系。通常分为:

地心空间直角坐标系(以x,y,z为其坐标元素)

和地心大地坐标系(以B,L,H为其坐标元素)(L(经),B(维),H(高)表示)。

地心坐标系是在大地体内建立的O-XYZ坐标系。

原点O设在大地体的质量中心,用相互垂直的X,Y,Z三个轴来表示,X轴与首子午面与 赤道面的交线重合,向东为正。

Z轴与地球 旋转轴重合,向北为正。Y轴与XZ平面垂直构成 右手系。

产生的背景

20世纪50年代之前,一个国家或一个地区都是在使所选择的参考椭球与其所在地区的大地水准面最佳拟合的条件下,按弧度测量方法来建立各自的局部大地坐标系的。由于当时除海洋上只有稀疏的重力测量外,大地测量工作只能在各个大陆上进行,而各大陆的局部大地坐标系间几乎没有联系。不过在当时的科学发展水平上,局部大地坐标系已能基本满足各国大地测量和制图工作的要求。但是,为了研究地球形状的整体及其外部重力场以及地球动力现象;特别是50年代末,人造地球卫星和远程弹道武器出现后,为了描述它们在空间的位置和运动,以及表示其地面发射站和跟踪站的位置,都必须采用地心坐标系。因此,建立全球地心坐标系(也称为世界坐标系)已成为大地测量所面临的迫切任务。

WGS-84、CGCS2000,都是属于地心坐标系。

三、地心坐标系


 

四:常见常量

ref:

https://www.osgeo.cn/astropy/constants/index.html

名字 价值 单位 描述
G 6.6743e-11号 m3/(kg s2) 引力常数
N_A 6.02214076e+23 1/(摩尔) 阿伏加德罗数
R 8.31446262 J/(千摩尔) 气体常数
黑麦 10973731.6 1/(米) 里德堡常数
a0 5.29177211e-11 玻尔半径
阿尔法 0.00729735257 精细结构常数
自动取款机 101325 宾夕法尼亚州 标准大气
b_wien 0.00289777196 m千 维恩波长位移定律常数
C 299792458 米/(秒) 真空中的光速
E 1.60217663e-19 C 电子电荷
eps0 8.85418781e-12号 F/m公司 真空介电常数
g0号 9.80665 米/秒2 标准重力加速度
H 6.62607015e-34 J s 普朗克常数
糖化血红蛋白 1.05457182e-34 J s 约化普朗克常数
k_B 1.380649e-23 J/(K) 玻尔兹曼常数
m_e 9.1093837e-31 公斤 电子质量
m_n 1.6749275e-27 公斤 中子质量
m_p 1.67262192e-27 公斤 质子质量
mu0单位 1.25663706e-06 N/A2 真空磁导率
muB公司 9.27401008e-24 J/T公司 玻尔磁子
sigma_T 6.65245873e-29 平方米 汤姆逊散射截面
sigma_sb 电话:4208-745 W/(K4平方米) 斯特凡玻尔兹曼常数
U 1.66053907e-27 公斤 原子质量
GM_earth 3.986004e+14 m3/(s2) 标称地球质量参数
GM_jup 1.2668653e+17 m3/(s2) 名义木星质量参数
GM_sun 1.3271244e+20 m3/(s2) 标称太阳质量参数
L_bol0 3.0128e+28 W 绝对辐射量0的光度
L_sun 3.828e+26 W 标称太阳光度
M_earth 5.97216787e+24 公斤 地球质量
M_jup 1.8981246e+27 公斤 木星质量
M_sun 1.98840987e+30 公斤 太阳质量
R_earth 6378100 标称地球赤道半径
R_jup 71492000 木星名义赤道半径
R_sun 695700000 标称太阳半径
澳大利亚 1.49597871e+11 天文单位
科索沃保护团 3.08567758e+19 千帕
个人电脑 3.08567758e+16 帕塞克

参考图:

 

注:资料来源于网络

参考:
http://www.rivermap.cn/docs/show-1829.html

.

 

发表在 space | 航天/天文常用坐标系已关闭评论

mybatis 多数据源

 

1.定义多个数据源的mybatis配置

application.properties 

mybatis.mapper-locations=mappers/*.xml
mybatisLog.mapper-locations=mappersLog/*.xml

## datasource master #
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=
jdbc:mysql://localhost:3306/test1?characterEncoding=UTF-8
spring.datasource.username=root
spring.datasource.password=466

## datasource log #
spring.datasourceLog.type=com.alibaba.druid.pool.DruidDataSource
spring.datasourceLog.driver-class-name=com.mysql.jdbc.Driver
spring.datasourceLog.url=
jdbc:mysql://localhost:3306/log?characterEncoding=UTF-8
spring.datasourceLog.username=root
spring.datasourceLog.password=466

 

 

2.定义多个数据源

@Configuration
public class DatasourceConfig {

    @Bean(destroyMethod =  "close", name = DataSources.MASTER_DB)
    @ConfigurationProperties(prefix = "spring.datasource")
    public DataSource dataSource() {
        return DataSourceBuilder.create()
        .type(DruidDataSource.class)
        .build();
    }

    @Bean(destroyMethod =  "close", name = DataSources.LOG_DB)
    @ConfigurationProperties(prefix = "spring.datasourceLog")
    public DataSource dataSourceLog() {
        return DataSourceBuilder.create()
        .type(DruidDataSource.class)
        .build();
    }
}

 

3.分别配置多个数据源

@Configuration
@MapperScan(basePackages = {"com.example.mapper.orders"})
public class MybatisConfig {

    @Autowired
    @Qualifier(DataSources.MASTER_DB)
    private DataSource masterDB;

    @Bean
    @Primary
    @ConfigurationProperties(prefix = "db.order")
    public SqlSessionFactoryBean sqlSessionFactoryBean() {
        SqlSessionFactoryBean sqlSessionFactoryBean;
        sqlSessionFactoryBean = new SqlSessionFactoryBean();
        sqlSessionFactoryBean.setDataSource(masterDB);
        return sqlSessionFactoryBean;
    }
}

.

@Configuration
@MapperScan(basePackages = {"com.example.mapper.users"}
, sqlSessionFactoryRef = "logSqlSessionFactory")
public class MybatisLogConfig {

    @Autowired
    @Qualifier("user")
    private DataSource userSource;

    @Bean(name = "logSqlSessionFactory")
    @ConfigurationProperties(prefix = "db.user")
    public SqlSessionFactoryBean sqlSessionFactoryBean() {
        SqlSessionFactoryBean sqlSessionFactoryBean;
        sqlSessionFactoryBean = new SqlSessionFactoryBean();
        sqlSessionFactoryBean.setDataSource(userSource);
        return sqlSessionFactoryBean;
    }
}

 

关键

  • 1)Configuration 扫描不同的前缀,取不同包下的sql对应的xml文件
  • 2)SqlSessionFactoryBean 实例化时,默认的额外添加了 @Primary注解
  • 3)MapperScan 扫描的不同的包,如果扫描相同的包也能做,但是还需要做额外的配置,可以自己尝试
  • 4)不同的数据源使用不同的SqlSessionFactoryBean实例

 

 

.

发表在 java | mybatis 多数据源已关闭评论

密码保护:天文卫星/可见预报算法

此内容受密码保护。如需查阅,请在下列字段中输入您的密码。

发表在 space | 密码保护:天文卫星/可见预报算法已关闭评论

Kubernetes 常见问题 / K8S

 

 

Q: K8S 删除pv一直处于terminating 的方法
A: 使用kubectl patch
kubectl patch pv {pv name} -p '{"metadata":{"finalizers":null}}'

.

 

发表在 cloud | Kubernetes 常见问题 / K8S已关闭评论

密码保护:赤经/赤纬-RA/DEC - 天文赤道坐标系

此内容受密码保护。如需查阅,请在下列字段中输入您的密码。

发表在 space | 密码保护:赤经/赤纬-RA/DEC - 天文赤道坐标系已关闭评论

雪花算法 / SnowFlake

算法生成id的结果是一个64bit大小的整数,它的结构如下图:

  1. 1bit,不用,因为二进制中最高位是符号位,1表示负数,0表示正数。生成的id一般都是用整数,所以最高位固定为0。
  2. 41bit-时间戳,用来记录时间戳,毫秒级。
    - 41位可以表示个数字,
    - 如果只用来表示正整数(计算机中正数包含0),可以表示的数值范围是:0 至 ,减1是因为可表示的数值范围是从0开始算的,而不是1。
    - 也就是说41位可以表示个毫秒的值,转化成单位年则是年
  3. 10bit-工作机器id,用来记录工作机器id。
    - 可以部署在个节点,包括5位datacenterId和5位workerId
    - 5位(bit)可以表示的最大正整数是​​​​​​​,即可以用0、1、2、3、....31这32个数字,来表示不同的datecenterId或workerId
  4. 12bit-序列号,序列号,用来记录同毫秒内产生的不同id。
    - 12位(bit)可以表示的最大正整数是,即可以用0、1、2、3、....4094这4095个数字,来表示同一机器同一时间截(毫秒)内产生的4095个ID序号。

SnowFlake算法生成的id就是64位整型uint64来存储的。

SnowFlake可以保证:

  1. 所有生成的id按时间趋势递增
  2. 整个分布式系统内不会产生重复id(因为有datacenterId和workerId来做区分)

 

 

 

.

发表在 technologys | 雪花算法 / SnowFlake已关闭评论

Linux环境变量

Linux 的变量可分为两类:环境变量本地变量

环境变量:或者称为全局变量,存在于所有的shell 中,在你登陆系统的时候就已经有了相应的系统定义的环境变量了。Linux 的环境变量具有继承性,即子shell 会继承父shell 的环境变量。

本地变量:当前shell 中的变量,很显然本地变量中肯定包含环境变量。Linux 的本地变量的非环境变量不具备继承性。

Linux 中环境变量的文件

当你进入系统的时候,Linux 就会为你读入系统的环境变量,Linux 中有很多记载环境变量的文件,它们被系统读入是按照一定的顺序的。

1.    /etc/profile 

此文件为系统的环境变量,它为每个用户设置环境信息,当用户第一次登录时,该文件被执行,执行时并从 /etc/profile.d 目录的配置文件中搜集 shell 的设置。这个文件,是任何用户登陆操作系统以后都会读取的文件(如果用户的 shell 是csh 、tcsh 、zsh ,则不会读取此文件),用于获取系统的环境变量,只在登陆的时候读取一次。 (假设用户使用的是BASH )

2.    /etc/bashrc 

在执行完/etc/profile 内容之后,如果用户的SHELL 运行的是bash ,那么接着就会执行此文件。另外,当每次一个新的bash shell 被打开时, 该文件被读取。每个使用bash 的用户在登陆以后执行完/etc/profile 中内容以后都会执行此文件,在新开一个bash 的时候也会执行此文件。因此,如果你想让每个使用bash 的用户每新开一个bash 和每次登陆都执行某些操作,或者给他们定义一些新的环境变量,就可以在这个里面设置。

3.    ~/.bash_profile 

每个用户都可使用该文件输入专用于自己使用的shell 信息。当用户登录时,该文件仅仅执行一次,默认情况下,它设置一些环境变量,并执行用户的 .bashrc 文件。单个用户此文件的修改只会影响到他以后的每一次登陆系统。因此,可以在这里设置单个用户的特殊的环境变量或者特殊的操作,那么它在每次登陆的时候都会去获取这些新的环境变量或者做某些特殊的操作,但是仅仅在登陆时。

4.    ~/.bashrc 

该文件包含专用于单个人的bash shell 的bash 信息,当登录时以及每次打开一个新的shell 时, 该该文件被读取。单个用户此文件的修改会影响到他以后的每一次登陆系统和每一次新开一个bash 。因此,可以在这里设置单个用户的特殊的环境变量或者特殊的操作,那么每次它新登陆系统或者新开一个bash ,都会去获取相应的特殊的环境变量和特殊操作。

5.   ~/.bash_logout 

当每次退出系统( 退出bash shell) 时, 执行该文件。

用户登录后加载profile和bashrc的流程如下: 

1) /etc/profile --->/etc/profile.d/*.sh 

2) $HOME/.bash_profile --->$HOME/.bashrc --->/etc/bashrc 

bash首先执行/etc/profile脚本, /etc/profile脚本先依次执行/etc/profile.d/*.sh 

随后 bash 会执行用家目录下的 .bash_profile脚本, .bash_profile脚本会执行家目录下的 .bashrc脚本, 

而.bashrc脚本会执行 /etc/bashrc 脚本 

至此, 所有的环境变量和初始化设定都已经加载完成.

bash 随后调用 terminfo 和 inputrc,完成终端属性和键盘映射的设定.

 

 

 

 

.

发表在 linux | Linux环境变量已关闭评论

轨道外推/轨道预报

轨道动力学的三种外推方式:

  1. 解析法预报
  2. 数值法预报
  3. 半解析法预报

 

 

.

发表在 space | 轨道外推/轨道预报已关闭评论

卫星及太空目标轨道根数

轨道根数

轨道根数(或称轨道要素或轨道参数)是描述在牛顿运动定律和牛顿万有引力定律的作用下的天体或航天器,在其开普勒轨道上运动时,确定其轨道所必要的六个参数。由于运动的方式有许多种的参数表示法,依照选定的测量装置不同,对相同的轨道,有几种不同的方式来定义轨道根数。

(注:图片来源于网络)

传统上使用的轨道根数,是在开普勒和他的开普勒定律之后发展出来的,称为开普勒元素,主要有六个参数:

  • 半长轴  :椭圆轨道长轴的一半,有时可视作平均轨道半径。
  • 偏心率(离心率) :为椭圆扁平程度的一种量度,定义是椭圆两焦点间的距离与长轴长度的比值。 就是 
  • 轨道倾角  :行星轨道面对黄道面的倾角;在升交点处从黄道面逆时针方向量到行星轨道面的角度。
  • 近地点辐角 :从升交点沿行星运动轨道逆时针量到近地点的角度。
  • 升交点黄经 :行星轨道升交点的黄道经度。
  • 平近点角/真近点角 :行星对应于  时该的平近点角。

汇总:半长轴、偏心率、轨道倾角、近地点幅角、升交点赤经和真近点角


1. 轨道半长轴,是椭圆长轴的一半。对于圆,也就是半径
2. 轨道偏心率,也就是椭圆两焦点的距离和长轴比值。对于圆,它就是0.
这两个要素决定了轨道的形状
3. 轨道倾角,这个是轨道平面和地球赤道平面的夹角。对于位于赤道上空的同步静止卫星来说,倾角就是0。
4. 升交点赤经:卫星从南半球运行到北半球时穿过赤道的那一点叫升交点。这个点和春分点对于地心的张角称为升交点赤经。
这两个量决定了卫星轨道平面在空间的位置。
5. 近地点幅角:这是近地点和升交点对地心的张角。
前面虽然决定了轨道平面在空间的位置,但是轨道本身在轨道平面里还可以转动。而这个值则确定了轨道在轨道平面里的位置。
6. 过近地点时刻,这个的意义很显然了。卫星位置随时间的变化需要一个初值。
有一点要指出的是,上面的6个参数并不是唯一的一组可以描述卫星轨道情况的参数,完全也可以选取其他参数,比如轨道周期。但是由于完备的描述也只需要6个参数,所以他们之间存在着固定的换算关系。比如轨道周期就可以由半长轴唯一来确定(这在下面讲TLE的时候也会涉及到),反之亦然。上面选取的这组是比较自然的一组。


人造卫星参数:

(1)轨道的形状参数:偏心率 和 半长轴
(2)轨道的位置参数:轨道倾角(轨道与赤道面的二面角) 升交点赤经(春分点、地心、升交点三点在地心构成的夹角) 近地点辐角(轨道近地点、地心、升交点三点在地心构成的夹角)
(3)卫星在轨道上的位置 平近点角(因为长半轴确定了,周期就一定了,所以可以虚拟一个圆,把椭圆上不规则的运动速度化简单圆上规则的变化,平近点角就是虚拟圆上的位置点、近地点、地心三者在地心形成的夹角)


Ω——升交点赤经
i——轨道面倾角
a——卫星轨道为椭圆
e——卫星轨道为椭圆
ω——近地点角距
M——平近点角

以上六个轨道参数,前5个是常数,不随时间变化而改变,大小由卫星发射条件所决定。


 

其它:

卫星运行轨道常用运算方法:
https://www.xiaobo.li/notes/archives/2265

 

 

.

 

发表在 space | 卫星及太空目标轨道根数已关闭评论

Go plugin proxy

版本查看

go version

代理设置

go env -w GOPROXY=https://goproxy.cn

插件安装

依据需要选择安装

go get -u -v github.com/go-delve/delve/cmd/dlv
go get -u -v github.com/ramya-rao-a/go-outline
go get -u -v github.com/ramya-rao-a/go-outline
go get -u -v github.com/acroca/go-symbols
go get -u -v github.com/mdempsky/gocode
go get -u -v github.com/rogpeppe/godef
go get -u -v golang.org/x/tools/cmd/godoc
go get -u -v github.com/zmb3/gogetdoc
go get -u -v golang.org/x/lint/golint
go get -u -v github.com/fatih/gomodifytags
go get -u -v golang.org/x/tools/cmd/gorename
go get -u -v sourcegraph.com/sqs/goreturns
go get -u -v golang.org/x/tools/cmd/goimports
go get -u -v github.com/cweill/gotests/...
go get -u -v golang.org/x/tools/cmd/guru
go get -u -v github.com/josharian/impl
go get -u -v github.com/haya14busa/goplay/cmd/goplay
go get -u -v github.com/uudashr/gopkgs/cmd/gopkgs
go get -u -v github.com/davidrjenni/reftools/cmd/fillstruct

 

 

.

发表在 go | Go plugin proxy已关闭评论

密码保护:卫星运行轨道常用运算方法

此内容受密码保护。如需查阅,请在下列字段中输入您的密码。

发表在 space | 密码保护:卫星运行轨道常用运算方法已关闭评论

NTP Servers | NTP 授时服务

NTP,全称Network Time Protocol ,即网络时间协议。通过NTP服务器可以同步电脑、服务器的时间。Windows自带的NTP服务器time.windows.com在海外,经常网络卡连不上,导致时间不同步,还是有必要换一下Windows电脑的NTP服务器。

国内推荐使用阿里巴巴、腾讯的公共NTP服务器。

阿里巴巴公共NTP

官网:https://help.aliyun.com/document_detail/92704.html

ntp.aliyun.com

ntp1.aliyun.com

ntp2.aliyun.com

ntp3.aliyun.com

ntp4.aliyun.com

ntp5.aliyun.com

ntp6.aliyun.com

ntp7.aliyun.com

腾讯公共NTP

官网:https://cloud.tencent.com/document/product/213/30392

time1.cloud.tencent.com

time2.cloud.tencent.com

time3.cloud.tencent.com

time4.cloud.tencent.com

time5.cloud.tencent.com

谷歌Google公共NTP

谷歌推出的公共NTP服务器,节点都在海外,在中国使用并不理想

官网:https://developers.google.com/time

time1.google.com

time2.google.com

time3.google.com

time4.google.com

国家授时中心

官网:http://www.ntsc.ac.cn/

ntp.ntsc.ac.cn

ntp.org

权威的公共NTP服务器了,NTP服务器多是第三方提供,服务器是海外,国内并不推荐,查查海外NTP服务器还是挺好的。

中国公共NTP服务器,https://www.pool.ntp.org/zone/cn

全球公共NTP服务器,https://www.ntppool.org/zone/@

官网:http://ntp.org/

0.cn.pool.ntp.org

1.cn.pool.ntp.org

2.cn.pool.ntp.org

3.cn.pool.ntp.org

微软公共NTP服务器    Windows公共NTP

time.windows.com

美国标准技术研究院NTP(NIST NTP Server)

官网:https://tf.nist.gov/tf-cgi/servers.cgi

time.nist.gov

 

.

发表在 info | NTP Servers | NTP 授时服务已关闭评论

欧空局开源大量卫星应用软件(Open Source Software Resources for Space Downstream Applications)

信息来源于网络,未经证实,仅供参考:

信息源:

https://www.esa.int/Enabling_Support/Space_Engineering_Technology/Radio_Frequency_Systems/Open_Source_Software_Resources_for_Space_Downstream_Applications

 

This page provides a list of open source software resources for developing space downstream applications, in the following categories:

A short description of each entry appears when hovering over the name (left column).

Disclaimer: the information is provided as is without any guarantee, and ESA cannot be liable for any views expressed in this webpage as well as in the linked websites.

Positioning & Navigation (including GNSS)

 

Name Author/Developer Format Licence
gLAB Universitat Politecnica de Catalunya (UPC) Source and Executable for Linux, Windows and macOS Apache, GPL and LGPL
GNSS-SDR CTTC Source code and libs for Linux Debian, macOS. Runs on GNU Radio GPL v3
GPS-SDR-SIM Takuji Ebinuma Source code MIT
GNSS-SDRLIB Taro Suzuki Source and Executable for Windows GPL v2
RTKLIB Tomoji Takasu Source and Executable for Windows BSD-2-Clause
ARAMIS ip-solutions Executable in Windows Free for academic use
goGPS Geomatics Laboratory of Politecnico di Milano, Como campus (Italy) Source code for Matlab 2016a+ and Java GPL v3
TEQC UNAVCO Executable (Windows, macOS, Linux…). Supports RINEX and BINEX formats
Online Positioning User Service (OPUS) NOAA Executable online
CSRS-PPP Canadian Geodetic Survey (CGS) Executable online or as a desktop application. Supports RINEX files Open Government Licence - Canada
JAG3D (Java Applied Geodesy 3D) Steinbeis Transfer Centre Applied Geodesy Java GPL v3
Android Raw GNSS Measurement Google GnssLogger source code in Matlab, but you don’t need Matlab to use it Apache v2.0
GPSTk Applied Research Laboratories at the University of Texas at Austin Source and Executable (Unix, Windows, macOS) LGPL v3
BKG Ntrip Software Federal Agency for Cartography and Geodesy (BKG) Source and Executable for Linux, Solaris, Windows and macOS GPU

Earth Observation software and data (including geographic information systems)

 

Name Author/Developer Format Licence
OpenGTS GeoTelematic Solutions, Inc. Java Apache v2.0
Viking GPS data editor and analyzer Various authors Executable (written mostly in C) GPL v2
OpenStreetMap OpenStreetMap Community Data online ODbL
GeoServer Open Source Geospatial Foundation Supports WFS, WMS and WCS standards GPL v2
Orfeo ToolBox (OTB) CNES Source and Executable (Linux, Windows, macOS) Apache v2.0
PolSARpro ESA / IETR Executable for Windows and Linux GPL v2
SNAP and Sentinel Toolboxes ESA Science Toolbox Exploitation Platform (STEP) Source and Executable (Windows, macOS, Unix) GPL v3
DIMITRI - Database for Imaging Multi-spectral Instruments and Tools for Radiometric Intercomparison ESA, ARGANS, Magellium Source code, compatible with Linux, Windows and macOS SLA
ADAM API Toolkit Noveltis Executable online Free online service after registration
TauDEM - Terrain Analysis Using Digital Elevation Models Utah State University, USA Source code, command line executable and ArcGIS toolbox GUI GPL v3
GRASS GIS - Geographic Resources Analysis Support System GRASS GIS developers community Stand-alone application or backend for other software packages GPL v2
SAGA - System for automated Geoscientific Analyses University of Hamburg, Germany Coded in C++. Source code and GUI executable for Windows and Linux GPL v2
Whitebox GAT - Geospatial Analysis Tools University of Guelph, Canada Executable (Windows, Linux, macOS) GPL v3
MACCS/MAJA CNES and CESBIO Language: C++, Python and Cmake. OS:Linux RedHat 6+, CENTOS 6+ Ubuntu 12.04+ CNES
Sen2Agri system ESA Linux GPL v3
Open Layers Open Layers API and codes BSD-2-Clause
GeoTrellis LocationTech, Azavea Library for Linux Apache v2.0
GeoMesa LocationTech, CCRi Spatio-temporal index for Linux Apache v2.0
gvSIG Desktop gvSIG Association Platforms: Linux / Unix, macOSX, Windows, Android. Languages: Java, Python, Groovy, Renjin, Scala GPL
QGIS QGIS Community Linux, Unix, macOS and Windows GPL
Get3Di GeoCue Group Executable online Free up to 100 MB/month
AHN-viewer ArcGIS Executable online Free online service
ESA Online Dissemination ESA Data online
GeoNames GeoNames Webservice and database exports CC BY 4.0
HydroSheds WWF Vector and raster data HydroSHEDS
SRTM Data CGIAR Consortium for Spatial Information ACII and GeoTIFF
GSAC UNAVCO Java. For Linux and Unix

Satellite Communications

 

Name Author/Developer Format Licence
Network Simulator 3 (ns-3) ns-3 project Source code GPL v2
Satellite Network Simulator (SNS3) Jani Puttonen, Janne Kurjenniemi (Magister Solutions), ESA, CNES Source code GPL v3
Leandvb pabr@pabr.org Executable code GPL v3
gr-dvbs2 Ron Economos Source code, also part of GNU Radio GPL v3
gr-dvbs2rx Ahmet Inan, Ron Economos Source code GPL v3
ROHC library CNES, TAS, Viveris Technologies Source code for Linux, Windows and macOS LGPL v2.1+
OpenLTE Ben Wojtowicz, Dennis M Senyonjo Source code in C++ and Python AGPL v3
OAI Radio Access Network (OAI-RAN) Various Source code OAI 5G Public License v1.1
OAI Core Network (OAI-CN) EURECOM, OPEN CELLS Source code Apache v2.0
free5GC National Chiao Tung University (NCTU) and other contributors Source code Apache v2.0
ChirpStack Orne Brocaar Source code MIT
STRF Cees Bassa Source code for Linux and GNU Radio GPL v3

Other resources for open source, SDR, standards, AI, cloud computing

 

Name Author/Developer Format Licence
GNU Radio GNU Radio project Source code for Linux, macOS GPL v3
MongoDB MongoDB Inc. Source and Executable (Windows, Linux, macOS, Solaris, FreeBSD) Server Side Public License
Apache Hadoop Apache Software Foundation Source code download Apache v2.0
Apache Storm Apache Software Foundation Implemented in Java, can be used with any programming language Apache v2.0
Apache Spark Apache Software Foundation Standalone cluster mode, on EC2, on Hadoop YARN, on Mesos, or on Kubernetes. Apache v2.0
Tensor Flow Google Collection of workflows Apache v2.0
Docker Engine Docker Executable for Linux, Windows, macOS Apache v2.0
OpenStack OpenStack Executable Apache v2.0
Rasdaman Supervised by Jacobs University, in incubation by the OSGeo fundation Download of packages that work on distributions with gcc 4.8+, Java 7+ GPL v3
SciDB Community Edition Paradigm4 Software that can run on existing hardware or in the cloud GPL v3
Theano Several authors Python library BSD-3-Clause
Deeplearning 4j Eclipse Deeplearning4j Development Team Libraries Apache v2.0
Google Earth Engine Google The Earth Engine (EE) API is available in Python and JavaScript. Google Earth Engine License
Microsoft CNTK Microsoft Toolkit compatible with Linux and Windows MIT
Keras François Chollet and various Python libraries MIT
Scikit-learn David Cournapeau and various Python libraries for Linux, macOS and Windows BSD-3-Clause
tslearn Romain Tavenard Python package BSD-3-Clause
Boto3 Amazon Web Services (AWS) Python libraries Apache v2.0
PyTorch Facebook AI research group Python libraries for Linux, macOS and Windows BSD-3-Clause
OpenCV Intel C++ library for Windows, Linux, macOS, FreeBSD, NetBSD, OpenBSD... BSD-3-Clause
pandas Wes McKinney and various Python library BSD-3-Clause
NVIDIA DIGITS NVIDIA Executable Free after joining the NVIDIA Developer Program
XGBoost XGBoost community Library, for Python, R, Java, Scala, C++ and more. Runs on single machine, Hadoop, Spark, Flink and DataFlow. Apache v2.0
GDAL GDAL community Source and binaries for Windows, Debian and containers MIT
Open Data Cube Open Data Cube Collection of software base on Python library Apache v2.0
R Project R foundation It compiles and runs on a wide variety of UNIX platforms, Windows and macOS. GPL v2
Project Jupyter Jupyter Community Web application, executable online and for downloading. BSD-3-Clause
Apache NiFi Apache Software Foundation Executable Apache v2.0
Apache Kafka Apache Software Foundation Executable Apache v2.0
Kubernetes Kubernetes Container CC BY 4.0
NodeJS Node.js is a trademark of Joyent, Inc For Windows, macOS and Linux. MIT
Leaflet Vladimir Agafonkin and others JavaScript library CC BY 4.0
Gapminder Tools Offline Gapminder For Windows, macOS and Linux CC BY 4.0
Elasticsearch and Kibana Amazon Web Services (AWS) Docker images, RPM files, and Debian files Apache v2.0
Open Geospatial Consortium (OGC) OGC members Standards Open standards
GeoJSON Internet Engineering Task Force (IETF), in conjunction with the original specification authors. Format Open standards
gr-opssat Arctic Space Technologies and ESA Module for GNU Radio GPL v3
NanoSat MO Framework Graz University of Technology and ESA Java source code ESA-PL v2

Open source catalogues and repositories

 

Name Application domain Description
European Space Software Repository Multiple ESA informational web portal created to promote reuse of Software - including Open Source Software (OSS) - and to provide all parties involved in the European Space software development (in particular SMEs) with access to results of previous investments. Registration available to ESA member states.
ACT Open Source projects & tools Multiple ESA Advanced Concepts Team (ACT) resources for Open Sources projects and tools. Together with the introduction of the github and the gitlab dedicated channels for the European Space Agency and the of specific programmes such as SOCIS (the ESA summer of code in space), the ACT, over the years, developed and is now maintaining a number of open source projects that are put at the service of a wider community.
CNES Software Catalogue Multiple The "Centre National d'Études Spatiales" has produced various software for the space projects. This software covers a broad range of topics, from normalization to space dynamics and simulation tools. Some were developed to support CNES internal needs and are now available to the public.
RTL-SDR Software Signal processing RTL-SDR is a USB dongle based on the RTL2832U chipset, for which many SDR software have been developped for different applications (not only satellite)
ION GNSS SDR Standard GNSS The GNSS SDR Metadata Standard defines parameters and schema to express the contents of SDR sample data files. The standard is designed to promote the interoperability of GNSS SDR data collection systems and processors.
NOAA collection of GPS software GNSS Site is running since 1999. The main purpose of this site is to provide a means for distributing the source code and algorithms discussed in the GPS Toolbox column.
UNAVCO software GNSS Web-based data visualization and mapping tools provide users with the ability to view post–processed data while web-based geodetic utilities provide ancillary information.
Terrasigna Pathfinder Earth observation References more than 350 open source software for processing of Earth Observation data, with categorisation and graph representation
ESA Newcomers EO Guide Earth observation Guide to help non experts in providing a starting point in the decision process for selecting an appropriate Earth observation (EO) solution. Includes links to public and commercial EO data providers. See also https://business.esa.int/sites/default/files/Where_to_access_EO_data_AS.pdf
ESA Earth online portal Earth observation List of software tools supported by ESA for Earth Observation
ESA STEP Earth observation ESA is developing  free open source toolboxes for the scientific exploitation of Earth Observation missions under the the Scientific Exploitation of Operational Missions (SEOM)  programme element.  STEP is the ESA community platform for accessing the software and its documentation, communicating with the developers, dialoguing within the science community, promoting results and achievements as well as providing tutorials and material for training scientists using the Toolboxes.
ESA Thematic Exploitation Platforms (TEPs) Earth observation TEPs are collaborative, virtual work environments providing access to EO data and tools, processors, and information and communication technology resources, required to work with them, through one coherent interface. Topics: Coastal, Forestry, Hydrology, Geohazards, Polar, Urban themes, Food Security
Copernicus Open Access Hub Earth observation The Copernicus Open Access Hub (previously known as Sentinels Scientific Data Hub) provides complete, free and open access to Sentinel-1Sentinel-2Sentinel-3 and Sentinel-5P user products, starting from the In-Orbit Commissioning Review (IOCR). Sentinel Data are also available via the Copernicus Data and Information Access Services (DIAS) through several platforms.
DIAS -Copernicus Data & Information Access Services Earth observation DIAS online platforms allow users to discover, manipulate, process and download Copernicus Sentinel data and information products from Copernicus’ six operational services, together with cloud-based tools (open source and/or on a pay-per-use basis).
Sentinel Hub Earth observation Sentinel Hub is operated by Sinergise - a GIS IT company with more than 10 years of experience in working with spatial data.
Different applications are available online.
The satellite imagery distribution service is based on Sinergise's cloud GIS platform - Geopedia - web based spatial management solution, which is being used by more than one million users annualy and is therefore perfectly suitable for large scale spatial deployments.
Earth System Data Lab (ESDL) Earth observation The Earth System Data Lab is a multi-variate data set of essential Earth System variables on a common grid and sharing a common data model.
USGS Earth Explorer Earth observation U.S. Geological Survey -search catalogue of satellite and aerial imagery.
Alaska Satellite Facility (ASF) Earth observation The ASF facility is part of the Geophysical Institute of the University of Alaska Fairbanks. ASF downlinks, processes, archives, and distributes remote-sensing data to scientific users around the world.
OSGEO Earth observation The Open Source Geospatial Foundation (OSGeo) is a not-for-profit organization whose mission is to foster global adoption of open geospatial technology by being an inclusive software foundation devoted to an open philosophy and participatory community driven development.
OpenDEM Earth observation List of free Digital Elevation Models. This project will focus on free high resolution datasets with a spatial resolution of 30 meters and below on county/state scale.
On-Line Geodesy Resources Earth observation A personal collection of geodesy and related resources on the Web. Created by Mike Craymer.
SDR makerspace Satellite communications SDRmaker.space, created by Libre Space Foundation under an ESA ARTES project, is an activity framework that aims to bring together makers, open-source hackers, radio amateurs, researchers and academia from all over Greece. The website lists a number of SDR projects for satellite communications, including TT&C.
CGRAN Satellite communications The Comprehensive GNU Radio Archive Network (CGRAN) is a free open source repository for 3rd party GNU Radio applications (a.k.a Out Of Tree Modules) that are not officially supported by the GNU Radio project. Licensed under CC BY 4.0. For Linux OS.

 

Feedback: for proposing new entries or updating information, please send an email to nicolas.girault @ esa.int.

 

.

发表在 space | 欧空局开源大量卫星应用软件(Open Source Software Resources for Space Downstream Applications)已关闭评论

密码保护:太空目标和卫星轨道根数

此内容受密码保护。如需查阅,请在下列字段中输入您的密码。

发表在 space | 密码保护:太空目标和卫星轨道根数已关闭评论