Skip to content

Commit

Permalink
docs: Update LICENSE and add info about test data
Browse files Browse the repository at this point in the history
  • Loading branch information
lsetiawan committed May 17, 2024
1 parent 722121e commit 8074e44
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 23 deletions.
42 changes: 20 additions & 22 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
BSD 3-Clause License

Copyright (c) 2024, Seafloor Geodesy
Copyright (c) 2023-20xx University of Washington
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
this list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
3. Neither the name of the University of Washington nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF WASHINGTON AND CONTRIBUTORS AS IS
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE UNIVERSITY OF WASHINGTON OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
80 changes: 79 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,80 @@
# gnatss-test-data
Repository to host test data for GNATSS software

This repository is used to host test data for the GNATSS software.
The data is in a zip file hosted as a release asset in this repository.

See [Releases](https://github.com/seafloor-geodesy/gnatss-test-data/releases).

## Directory Structure

The zip file contains the following directory structure:

```console
2022
└── NCL1
├── 208
│ ├── GPS_PPP
│ │ └── GPS_POS_FREED
│ ├── WG_20220727
│ │ ├── RPH_TWTT
│ │ ├── pxp_tt
│ │ └── pxp_tt_j2k
│ └── posfilter
│ └── POS_FREED_TRANS_TWTT
├── 209
│ ├── GPS_PPP
│ │ └── GPS_POS_FREED
│ ├── WG_20220728
│ │ ├── RPH_TWTT
│ │ ├── pxp_tt
│ │ └── pxp_tt_j2k
│ └── posfilter
│ └── POS_FREED_TRANS_TWTT
├── 210
│ ├── GPS_PPP
│ │ └── GPS_POS_FREED
│ ├── WG_20220729
│ │ ├── RPH_TWTT
│ │ ├── pxp_tt
│ │ └── pxp_tt_j2k
│ └── posfilter
│ └── POS_FREED_TRANS_TWTT
├── NOV
│ ├── NCL1_INSPVAA.dat
│ └── NCL1_INSSTDEVA.dat
├── ctd
│ └── CTD_NCL1_Ch_Mi
├── deletns.dat
└── quality_control.csv
```

- `2022/NCL1`: The `2022` directory is the top level directory,
with `NCL1` being the station name and a subdirectory of the year.
- `208,209,210`: The `208`, `209`, and `210` directories are the day of the year.
- `GPS_PPP`: The `GPS_PPP` directory contains the GNSS data.
- `WG_*`: The `WG_*` directory contains the roll pitch heading (`RPH_TWTT`) and travel times data (`pxp_tt_*`).
- `posfilter`: The `posfilter` directory contains the GNSS data after kalman filtering, spline interpolation, and rotation from the Fortran and Shell scripts.
- `NOV`: The `NOV` directory contains the `INS` data.
- `NCL1_INSPVAA.dat`: The `NCL1_INSPVAA.dat` file contains the INS Position, Velocity and Attitude data. See Novatel [`INSPVA`](https://docs.novatel.com/OEM7/Content/SPAN_Logs/INSPVA.htm).
- `NCL1_INSSTDEVA.dat`: The `NCL1_INSSTDEVA.dat` file contains the INS PVA standard deviations data. See Novatel [`INSSTDEV`](https://docs.novatel.com/OEM7/Content/SPAN_Logs/INSSTDEV.htm).
- `ctd`: The `ctd` directory contains the `CTD` data.
- `deletns.dat`: The `deletns.dat` file contains the deletions data from the Fortran software.
- `quality_control.csv`: The `quality_control.csv` file contains the quality control human generated data for GNATSS.

## Usage

The most direct way to use the data is using [`gnatss`](https://github.com/seafloor-geodesy/gnatss).
Within the `utilities` module there is a `testing` module that contains a function called `download_test_data`.
This function will download the test data from this repository and extract it to the specified `tests/data` directory or one that you specify.

```python
from gnatss.utilities.testing import download_test_data

# This will download the test data to the default directory
# of ${current working directory}/tests/data and unzip it.
download_test_data(unzip=True)
```

## License

This repository is licensed under the BSD 3-Clause License, see [LICENSE](LICENSE).

0 comments on commit 8074e44

Please sign in to comment.