|
1 | | ---- |
2 | | -title: GeoLocator DP |
3 | | -background: /assets/home.png |
4 | | -permalink: / |
5 | | -description: Data exchange format for geolocator data |
6 | | ---- |
| 1 | +# GeoLocator DP |
7 | 2 |
|
8 | | -**GeoLocator Data Package** (GeoLocator DP) is a data exchange format for geolocator data. It follows the [Data Package standard](https://datapackage.org/standard/data-package/) for structuring the data. |
| 3 | +GeoLocator DP is a Data Package profile for geolocator data (raw measurements, field observations, and optional GeoPressureR trajectory outputs). |
9 | 4 |
|
10 | | -## Structure |
| 5 | +## Documentation |
11 | 6 |
|
12 | | -A GeoLocator Data Package is organized into three components: (1) the project metadata, (2) the core resources containing the main dataset, and (3) optional trajectory data generated with the [GeoPressure suite](https://raphaelnussbaumer.com/GeoPressureManual/#the-geopressure-suite). |
| 7 | +- Website: https://geopressure.org/GeoLocator-DP/ |
| 8 | +- GeoLocator Manual: https://raphaelnussbaumer.com/GeoPressureManual/geolocator-intro.html |
| 9 | +- GeoLocatoR package: https://raphaelnussbaumer.com/GeoLocatoR/ |
13 | 10 |
|
14 | | -### 1. Metadata |
| 11 | +## Repository Contents |
15 | 12 |
|
16 | | -The description of the project and the data is contained in [`datapackage.json`](https://raphaelnussbaumer.com/GeoLocator-DP/datapackage/). |
| 13 | +- `geolocator-dp-profile.json`: GeoLocator DP package profile |
| 14 | +- `*-table-schema.json`: table schemas for core and GeoPressureR resources |
| 15 | +- `pages/`: website pages rendered by Jekyll |
| 16 | +- `example/`: example CSV resources |
| 17 | +- `tests/`: validation tests |
17 | 18 |
|
18 | | -| File | Description | |
19 | | -| ------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
20 | | -| [`datapackage.json`](https://raphaelnussbaumer.com/GeoLocator-DP/datapackage/) | List of the project's metadata, such as the package's title, licenses, contributors, etc., as well as a list of the data [`resources`](https://datapackage.org/standard/data-resource/) that make up the package | |
| 19 | +## Local Development |
21 | 20 |
|
22 | | -### 2. Core Resources |
| 21 | +Install Ruby dependencies: |
23 | 22 |
|
24 | | -The core GeoLocator DP resources consist of the raw geolocator data. These `resources` can be generated without any analysis of the geolocator data. |
| 23 | +```bash |
| 24 | +bundle install |
| 25 | +``` |
25 | 26 |
|
26 | | -| File | Description | |
27 | | -| ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------- | |
28 | | -| [`tags.csv`](https://raphaelnussbaumer.com/GeoLocator-DP/core/tags/) | Table of devices used in the study. We assume that a `tag` is only used once on a single animal. | |
29 | | -| [`measurements.csv`](https://raphaelnussbaumer.com/GeoLocator-DP/core/measurements/) | Table with the raw measurements of all sensors (e.g., light, pressure, ...) for all tags. | |
30 | | -| [`observations.csv`](https://raphaelnussbaumer.com/GeoLocator-DP/core/observations/) | Table with the field observations associated with tags such as equipment, retrieval, or other events. | |
| 27 | +Run the website locally with live reload: |
31 | 28 |
|
32 | | -### 3. GeoPressureR Resources |
| 29 | +```bash |
| 30 | +bundle exec jekyll serve --livereload --incremental |
| 31 | +``` |
33 | 32 |
|
34 | | -The GeoPressureR extension consists of optional trajectory data generated through the [GeoPressureR workflow analysis](https://raphaelnussbaumer.com/GeoPressureManual/geopressuretemplate-workflow.html). |
| 33 | +Create a production-style build: |
35 | 34 |
|
36 | | -| File | Description | |
37 | | -| --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ | |
38 | | -| [`staps.csv`](https://raphaelnussbaumer.com/GeoLocator-DP/geopressurer/staps) | Table of the stationary periods of all tags. | |
39 | | -| [`paths.csv`](https://raphaelnussbaumer.com/GeoLocator-DP/geopressurer/paths) | Table of the trajectory of all tags, typically most likely path or simulation paths. | |
40 | | -| [`edges.csv`](https://raphaelnussbaumer.com/GeoLocator-DP/geopressurer/edges) | Table containing the flight information of the edges associated with the paths. | |
41 | | -| [`twilights.csv`](https://raphaelnussbaumer.com/GeoLocator-DP/geopressurer/twilights) | Table of the twilights estimated from light data for all tags. | |
42 | | -| [`pressurepaths.csv`](https://raphaelnussbaumer.com/GeoLocator-DP/geopressurer/pressurepaths) | Table of pressure-based paths. | |
| 35 | +```bash |
| 36 | +JEKYLL_ENV=production bundle exec jekyll build |
| 37 | +``` |
43 | 38 |
|
44 | | -## Where to find and explore GeoLocator Data Packages |
| 39 | +Run validation tests: |
45 | 40 |
|
46 | | -<table> |
47 | | - <tr style="border-top-width: 1px;"> |
48 | | - <td> |
49 | | - <a href="https://zenodo.org/communities/geolocator-dp/"><img src="assets/logo.png" width="100px" alt="GeoLocator DP logo"/> </a> |
50 | | - </td> |
51 | | - <td> |
52 | | - You'll be able to find all GeoLocator Data Packages in the <a href="https://zenodo.org/communities/geolocator-dp/">GeoLocator Data Package Zenodo Community</a>. Once you've published your data package, make sure to <a href="https://help.zenodo.org/docs/share/submit-to-community/">submit it to the community</a>. |
53 | | - </td> |
54 | | - </tr> |
55 | | - <tr> |
56 | | - <td> |
57 | | - <a href="https://raphaelnussbaumer.com/GeoLocatorExplorer/"><img src="assets/logo_geolocatorexplorer.svg" width="100px" alt="GeoLocatorExplorer logo"/> </a> |
58 | | - </td> |
59 | | - <td> |
60 | | - Explore the most likely trajectories of all existing data packages on a 3D map with <a href="https://raphaelnussbaumer.com/GeoLocatorExplorer/">GeoLocatorExplorer</a>. |
61 | | - </td> |
62 | | - </tr> |
63 | | -</table> |
64 | | - |
65 | | -## Ecosystem |
66 | | - |
67 | | -<table> |
68 | | - <tr style="border-top-width: 1px;"> |
69 | | - <td> |
70 | | - <a href="https://raphaelnussbaumer.com/GeoPressureManual/geolocator-intro.html"><img src="assets/cover_geopressuremanual.png" width="100px" alt="GeoPressureManual logo"/></a> |
71 | | - </td> |
72 | | - <td> |
73 | | - The <a href="https://raphaelnussbaumer.com/GeoPressureManual/geolocator-intro.html">Geolocator Manual</a> R book has a dedicated part on the use of the GeoLocator Data Package. This is a great place to start learning more about how to use it with your GeoPressureTemplate project. |
74 | | - </td> |
75 | | - </tr> |
76 | | - <tr> |
77 | | - <td> |
78 | | - <a href="https://raphaelnussbaumer.com/GeoLocatoR/"><img src="assets/logo_geolocator.png" width="100px" alt="GeoLocatoR logo"/></a> |
79 | | - </td> |
80 | | - <td> |
81 | | - The <a href="https://raphaelnussbaumer.com/GeoLocatoR/">GeoLocatoR</a> R package is designed to handle GeoLocator DP: creating a DP, adding resources, writing a DP, and reading a DP. It is essentially an extension of the <a href="https://docs.ropensci.org/frictionless/">frictionlessr</a> package for geolocator data. |
82 | | - </td> |
83 | | - </tr> |
84 | | - <tr> |
85 | | - <td><a href="https://raphaelnussbaumer.com/GeoPressureR/"><img src="assets/logo_geopressurer.png" width="100px" alt="GeoPressureR logo"/></a></td> |
86 | | - <td> |
87 | | - <a href="https://raphaelnussbaumer.com/GeoPressureR/">GeoPressureR</a> is the main package to analyze geolocator data. Once a GeoLocator Data Package is created, GeoPressureR is our recommended software to read the data into R and analyze the data. |
88 | | - </td> |
89 | | - </tr> |
90 | | -</table> |
91 | | - |
92 | | -## How to Cite |
93 | | - |
94 | | -> Nussbaumer, R. (2024). GeoLocator-DP: Data exchange format for multi-sensor geolocator. Zenodo. [10.5281/zenodo.14258411](https://doi.org/10.5281/zenodo.14258411) |
| 41 | +```bash |
| 42 | +python3 -m venv .venv |
| 43 | +source .venv/bin/activate |
| 44 | +python -m pip install -r tests/requirements.txt |
| 45 | +python tests/validate_profile_and_schemas.py |
| 46 | +``` |
0 commit comments