Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/resource-watch/ocean-watch-data
Ocean watch update scripts
https://github.com/resource-watch/ocean-watch-data
Last synced: 1 day ago
JSON representation
Ocean watch update scripts
- Host: GitHub
- URL: https://github.com/resource-watch/ocean-watch-data
- Owner: resource-watch
- License: mit
- Created: 2021-08-02T15:04:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-08T07:42:21.000Z (almost 1 year ago)
- Last Synced: 2024-06-11T17:18:00.828Z (5 months ago)
- Language: Jupyter Notebook
- Size: 1.11 MB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ocean-watch-data
[Ocean Watch](https://oceanwatchdata.org) is a custom static [dashboard](https://resource-watch.github.io/doc-api/reference.html#dashboard) on Resource Watch featuring ocean-data resources.# Repository Structure
This repository contains code related documentation for dataset proccessing, analysis, and visualization of resources managed by the Ocean Watch data team. This repository focuses on the resources that require data-processing: [`datasets`](datasets/), [`widgets`](widgets/), and [`indicators`](indicators/). For information on all resources on Ocean Watch as well as how they can be viewed, created, and updated, please see the [wiki](../../wiki/). Each of the resource types covered in this repository has its own directory. Inside you'll find a sub-directory for each indivdiual resource - whether a dataset or a widget - with metadata and pre-processing materials._Note: Because Ocean Watch is a custom page on Resource Watch, it also utilizes some existing resources (mostly datasets) managed by the Resource Watch Data Team. Information about these resources can be found in the [Resource Watch repository](https://github.com/resource-watch)._
# Near real time updates
This repository is configured the same as the Resource Watch [`nrt-scripts` repository](https://github.com/resource-watch/nrt-scripts). Any time a change is made to the main branch, a deploy script created through Github Actions triggers the `install.sh` script to run on the server, performing the following tasks:
- Push the changes on the main branch of the `ocean-watch-data` Github to the server.
- Copy environmental variables from master .env file on the server into each script’s root folder.
- Rewrite the crontab on the server, which is responsible for running the scripts (and any other automated processes) on the server.# A note on links
When referencing other files in the contents of this repository, we use relative links. If the repository is cloned, these links will point to the local files. When viewing in the github browser, these links must be clicked directly (rather than a right click to open in a new tab). The relative links seem to fuction consistently in markdown files; however, the relative links in ipython notebooks render unreliably. If a link does not direct you as expected, we suggest you inspect the link and navigate to the appropriate file in the repository content tree.