Skip to content

Commit

Permalink
Release v1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ginan-release-bot committed Aug 23, 2022
1 parent fc212f9 commit 9810c92
Show file tree
Hide file tree
Showing 49 changed files with 867 additions and 413 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,24 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

# [1.5.1] 2022-08-22
### Added
Beidou block ids and SRPs (type 2 and type 3)

### Changed
Allowance for occasional missing pseudo observation data points (rows with all zero)

Checks for unhealthy satellites at epoch 1

Use of different sp3 file for comparison - does not need to contain exactly the same PRNs as the pseudo obs file

### Fixed
Reading of pod sinex metadata file

### Deprecated
### Removed
### Security

# [1.5] 2022-07-26
### Added
Read/write RINEX4 compatibly
Expand Down
1 change: 1 addition & 0 deletions Docs/install.index
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://raw.githubusercontent.com/GeoscienceAustralia/ginan/main/README.md
10 changes: 5 additions & 5 deletions Docs/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,18 @@
<div class="collapse navbar-collapse" id="Ginan_navbar">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link active" href="page.html">Home</a>
<a class="nav-link active" href="index.html">Home</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="aboutGinan.html" id="aboutDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">About</a>
<a class="nav-link dropdown-toggle" href="aboutGinan.html" id="aboutDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">About ...</a>
<div class="dropdown-menu" aria-labelledby="aboutDropdown">
<a class="dropdown-item" href="ga.html">Geoscience Australia</a>
<a class="dropdown-item" href="program.html">Positioning Program</a>
<a class="dropdown-item" href="aboutGinan.html">Ginan</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="ppp.html" id="theoryDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">What is...</a>
<a class="nav-link dropdown-toggle" href="ppp.html" id="theoryDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">What is ...</a>
<div class="dropdown-menu" aria-labelledby="theoryDropdown">
<a class="dropdown-item" href="theory.html">A Position on Earth</a>
<a class="dropdown-item" href="gnss.html">GNSS</a>
Expand All @@ -94,7 +94,7 @@
<a class="nav-link dropdown-toggle" href="page.html?p=readme.md" id="docsDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Documentation</a>
<div class="dropdown-menu" aria-labelledby="docsDropdown">
<a class="dropdown-item" href="tech.html">Overview</a>
<a class="dropdown-item" href="page.html?p=readme.md">Installation guide</a>
<a class="dropdown-item" href="page.html?p=install.index">Installation guide</a>
<a class="dropdown-item" href="page.html?p=peaUsage.index">Using the Pea</a>
<a class="dropdown-item" href="page.html?p=podUsage.index">Using the Pod</a>
<a class="dropdown-item" href="page.html?p=scripts.index">Using the Scripts</a>
Expand All @@ -110,7 +110,7 @@
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="page.html?p=products.md">PPP Products</a>
<a class="nav-link" href="products.html">PPP Products</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="page.html?p=resources.md" id="streamsDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Resources</a>
Expand Down
52 changes: 30 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
# Ginan: Software toolkit and service

: Note - this file is executable. \
: You can run it by saving the raw markdown to disc, then `` chmod +x README.md``, then ``./README.md`` \
: It will execute all of the code blocks that finish with the `` :<<'```executable' `` tag.
: You can run it by saving the raw markdown to disk, then `` chmod +x README.md``, then ``./README.md`` \
: It will execute all of the code blocks that finish with the `` :<<'```executable' `` tag. \
: This script will install all dependencies, clone the Ginan repo into the current directory and build the Ginan toolkit.


#### `Ginan v1.5 release`
#### `Ginan v1.5.1 release`

## Overview

Expand Down Expand Up @@ -55,7 +56,7 @@ Ginan is supported on the following platforms

You can quickly download a ready-to-run Ginan environment using docker by running:

docker run -it -v /data:/data gnssanalysis/ginan:v1.5 bash
docker run -it -v /data:/data gnssanalysis/ginan:v1.5.1 bash

This command connects the `/data` directory on the host (your pc), with the `/data` directory in the container, to allow file access between the two systems, and opens a command line (`bash`) for executing commands.

Expand Down Expand Up @@ -87,13 +88,15 @@ If instead you wish to build Ginan from source, there are several software depen
Update the base operating system and install base utilities `gcc`, `gfortran`, `git`, `openssl`, `openblas` etc:

```executable
dir=$PWD
sudo apt update
sudo apt upgrade -y
sudo apt install -y git gobjc gobjc++ gfortran libopenblas-dev openssl curl net-tools openssh-server cmake make libssl1.0-dev wget sudo python3 software-properties-common
pip3 install wheel pandas boto3 unlzw tdqm
pip3 install wheel pandas boto3 unlzw tdqm scipy
:<<'```executable'
```

Expand Down Expand Up @@ -122,17 +125,15 @@ Note that many `make` commands here have the option `-j 2` applied, this will en
First, create a temporary directory structure to make the dependencies in, it can be removed after the installation process is done:

```executable
mkdir ~/tmp
mkdir $dir/tmp
:<<'```executable'
```

Note that `~/tmp` is only used here as example and can be any directory.

### YAML-CPP
We are using the [yaml-cpp](https://github.com/jbeder/yaml-cpp) library to parse the configuration files used to run many of the programs found in this library. Here is an example of how to install the yaml library from source:

```executable
cd ~/tmp
cd $dir/tmp
git clone https://github.com/jbeder/yaml-cpp.git
Expand All @@ -146,7 +147,7 @@ cmake .. -DCMAKE\_INSTALL\_PREFIX=/usr/local/ -DYAML\_CPP\_BUILD\_TESTS=OFF
sudo make install yaml-cpp -j2
cd ../..
cd $dir/tmp
rm -rf yaml-cpp
:<<'```executable'
Expand All @@ -156,7 +157,7 @@ rm -rf yaml-cpp
PEA relies on a number of the utilities provided by [boost](https://www.boost.org/), such as their time and logging libraries.

```executable
cd ~/tmp
cd $dir/tmp
wget -c https://boostorg.jfrog.io/artifactory/main/release/1.73.0/source/boost_1_73_0.tar.gz
Expand All @@ -168,7 +169,7 @@ cd boost_1_73_0/
sudo ./b2 -j2 install
cd ..
cd $dir/tmp
sudo rm -rf boost_1_73_0 boost_1_73_0.tar.gz
:<<'```executable'
Expand All @@ -178,7 +179,7 @@ sudo rm -rf boost_1_73_0 boost_1_73_0.tar.gz
Eigen3 is used for performing matrix calculations in PEA, and has a very nice API.

```executable
cd ~/tmp
cd $dir/tmp
git clone https://gitlab.com/libeigen/eigen.git
Expand All @@ -194,7 +195,7 @@ cmake ..
sudo make -j2 install
cd ../..
cd $dir/tmp
rm -rf eigen
:<<'```executable'
Expand All @@ -205,7 +206,7 @@ rm -rf eigen
Needed for json formatting and other self-descriptive markup.

```executable
cd ~/tmp
cd $dir/tmp
wget https://github.com/mongodb/mongo-c-driver/releases/download/1.17.1/mongo-c-driver-1.17.1.tar.gz
Expand All @@ -221,9 +222,9 @@ cmake -DENABLE_AUTOMATIC_INIT_AND_CLEANUP=OFF -DENABLE_EXAMPLES=OFF ../
cmake --build . -- -j 2
cmake --build . --target install -- -j 2
sudo cmake --build . --target install -- -j 2
cd ~/tmp
cd $dir/tmp
curl -OL https://github.com/mongodb/mongo-cxx-driver/releases/download/r3.6.0/mongo-cxx-driver-r3.6.0.tar.gz
Expand All @@ -239,7 +240,7 @@ cmake --build . -- -j 2
sudo cmake --build . --target install
cd ~/tmp
cd $dir/tmp
sudo rm -rf mongo-c-driver-1.17.1 mongo-c-driver-1.17.1.tar.gz mongo-cxx-driver-r3.6.0 mongo-cxx-driver-r3.6.0.tar.gz
:<<'```executable'
Expand All @@ -251,7 +252,7 @@ Using the mongo database is optional, but is needed for use of the realtime plot

Prepare access to repositories and download and install mongo:

cd ~/tmp
cd $dir/tmp

wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -

Expand Down Expand Up @@ -296,7 +297,10 @@ Now you can start it as a service by:

### netcdf4 (OTL package)

sudo apt -y install libnetcdf-dev libnetcdf-c++4-dev
```executable
sudo apt -y install libnetcdf-dev libnetcdf-c++4-dev
:<<'```executable'
```

***

Expand All @@ -305,6 +309,8 @@ Now you can start it as a service by:
You can download Ginan source from github using git clone:

```executable
cd $dir
git clone https://github.com/GeoscienceAustralia/ginan.git
cd ginan
Expand Down Expand Up @@ -446,7 +452,7 @@ This returns:

Default master POD config file = POD.in (old - no longer supported) - use a yaml config

yaml config file options by defaut can be overridden on the command line
yaml config file options by default can be overridden on the command line

Command line: ../bin/pod -m -s -o -a -p -r -t -n -i -u -q -k -w -y -h

Expand All @@ -456,7 +462,8 @@ This returns:
2 - Orbit Determination and Prediction
3 - Orbit Integration (Equation of Motion only)
4 - Orbit Integration and Partials (Equation of Motion and Variational Equations)
-s --pobs = Pseudo observations orbit .sp3 file name
5 - Single satellite integration from pod_data section of yaml
-s --pobs = Pseudo observations orbit .sp3 file name (must be ITRF)
-o --cobs = Comparison orbit .sp3 file name
-a --arclen = Orbit Estimation Arc length (hours)
-p --predlen = Orbit Prediction Arc length (hours)
Expand Down Expand Up @@ -494,6 +501,7 @@ This returns:
* pod
* crs2trs
* timesystem
* brdc2ecef -->
***
## Documentation
Expand Down
18 changes: 18 additions & 0 deletions docker/run-aux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

function results2s3()
{
# needs dir and tag
tar cfz run-results-$1.tar.gz $1;
aws s3 cp run-results-$1.tar.gz s3://ginan-pipeline-results/$TAG/
}

shopt -s extglob

function diffex()
{
for file in $@; do
diffutil.py -i $file -o solutions/$file -a $ATOL
diffutil.py -i $file -o solutions/$file
done
}
Loading

0 comments on commit 9810c92

Please sign in to comment.