Skip to content

Commit

Permalink
Weekly snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
ginan-release-bot committed Feb 2, 2024
1 parent f796e5f commit b0ce1b5
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 59 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,31 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Create folders
- name: Generate config markdown doc from appimage
uses: actions/checkout@v4
with:
ref: weekly-develop-appimage
run: |
./Ginan-x86_64.AppImage -Y 3
mkdir Docs
mv defaultConfiguration.md Docs
- name: Checkout the updated branch
uses: actions/checkout@v4

- name: Create folders and move readme
run: |
cp README.md Docs/readme.md
mkdir -p src/build
# Build the HTML documentation
- name: Doxygen Action
- name: Build doxygen docs from code
uses: mattnotmitt/[email protected]
with:
doxyfile-path: ../doc_templates/Doxyfile.in
working-directory: ./src/build

- name: Generate config docs
run: |
git checkout weekly-develop-appimage -- Ginan-x86_64.AppImage
./Ginan-x86_64.AppImage -Y 3
mv defaultConfiguration.md Docs
rm Ginan-x86_64.AppImage
# Deploy the HTML documentation to GitHub Pages
- name: GH Pages Deployment
- name: Deploy the HTML documentation to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
70 changes: 25 additions & 45 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Ginan: Software toolkit and service

#### `Ginan v3.0.0`
#### `Ginan v2.1.0`

## Overview

Expand Down Expand Up @@ -35,27 +35,11 @@ The software consists of three main components:
* Precise Orbit Determination (POD), and
* Various scripts for combination and analysis of solutions

## Using Ginan with an AppImage

You can quickly download a precompiled binary of Ginan's pea from the `develop-weekly-appimage` branch of github.

git clone -b develop-weekly-appimage --depth 1 --single-branch https://github.com/GeoscienceAustralia/ginan.git

This contains no python scripts or example data, but is possible to run immediately on linux and windows systems as simply as:

ginan/Ginan-x86_64.AppImage

or on windows:

wsl --install -d ubuntu
ginan/Ginan-x86_64.AppImage


## Using Ginan with Docker

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

docker run -it -v ${host_data_folder}:/data gnssanalysis/ginan:v3.0.0 bash
docker run -it -v ${host_data_folder}:/data gnssanalysis/ginan:v2.1.0 bash

This command connects the `${host_data_folder}` 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 @@ -121,7 +105,7 @@ To build every package simply run `make` or `make -jX` , where X is a number of
make -j2
```

Alternatively, to build only a specific package (`pea`, `make_otl_blq`, `interpolate_loading`), run as below:
Alternatively, to build only a specific package (`pea`, `pod`, `make_otl_blq`, `interpolate_loading`), run as below:

```bash
make pea -j2
Expand All @@ -139,7 +123,7 @@ cd ../../exampleConfigs

and you should see something similar to:
```
PEA starting... (main ginan-v3.0.0 from Mon Feb 05 15:15:22 2024)
PEA starting... (main ginan-v2.1.0 from Fri Jun 30 15:15:22 2023)
Options:
-h [ --help ] Help
Expand All @@ -157,44 +141,40 @@ PEA finished
```


Then download all of the example data using the scripts and filelists provided. From the Ginan git root directory:
Then download all of the example data using the python script provided. From the Ginan git root directory:

```bash
cd inputData/data
./getData.sh
cd ../products
./getProducts.sh
python3 scripts/s3_filehandler.py -d -p
```

### Directory Structure

Upon installation, the `ginan` directory should have the following structure:

ginan/
├── README.md ! General README information
├── LICENSE.md ! Software License information
├── ChangeLOG.md ! Release Change history
├── aws/ ! Amazon Web Services config
├── bin/ ! Binary executables directory*
├── Docs/ ! Documentation directory
├── inputData/ ! Input data for examples
│ ├── data/ ! Example dataset (rinex files)**
│ └── products/ ! Example products and aux files**
├── exampleConfigs ! Example configuration files
│ ├── ppp_example.yaml ! Basic user-mode example
│ └── pod_example.yaml ! Basic network-mode example
├── lib/ ! Compiled object library directory*
├── scripts/ ! Auxiliary Python and Shell scripts and libraries
└── src/ ! Source code directory
├── cpp/ ! Ginan source code
├── README.md ! General README information
├── LICENSE.md ! Software License information
├── ChangeLOG.md ! Release Change history
├── aws/ ! Amazon Web Services config
├── bin/ ! Binary executables directory*
├── Docs/ ! Documentation directory
├── inputData/ ! Input data for examples **
│ ├── data/ ! Example dataset (rinex files)**
│ └── products/ ! Example products and aux files**
├── exampleConfigs ! Example configuration files
│ └── Ex20x.yaml !
├── lib/ ! Compiled object library directory*
├── scripts/ ! Auxiliary Python and Shell scripts and libraries
└── src/ ! Source code directory
├── cpp/ ! Ginan source code
├── cmake/
├── doc_templates/
├── build/ ! Cmake build directory*
├── build/ ! Cmake build directory*
└── CMakeLists.txt

*\*created during installation process*

*\*\* contents retrieved with getData.sh, getProducts.sh scripts*
*\*\*created by `s3_filehandler.py` script*


## Documentation
Expand Down Expand Up @@ -237,10 +217,10 @@ To run the first example of the PEA:
```bash
cd ../exampleConfigs

../bin/pea --config ppp_example.yaml
../bin/pea --config ex201.yaml
```

This should create `outputs/ppp_example` directory with various `*.trace` files, which contain details about stations processing, a `Network*.trace` file, which contains the results of Kalman filtering, and other auxiliary output files as configured in the yamls.
This should create `outputs/ex201` directory with various `*.trace` files, which contain details about stations processing, a `Network*.trace` file, which contains the results of Kalman filtering, and other auxiliary output files as configured in the yamls.

You can remove the need for path specification to the executable by using the symlink within `exampleConfigs`, or by adding Ginan's bin directory to `~/.bashrc` file:
```
Expand Down

0 comments on commit b0ce1b5

Please sign in to comment.