Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.37 KB

File metadata and controls

44 lines (30 loc) · 1.37 KB

Events pipeline

This repository contains the fishing events pipeline, a dataflow pipeline which extracts summarized fishing events from a collection of scored AIS messages.

Running

Dependencies

You just need docker and docker-compose in your machine to run the pipeline. No other dependency is required.

Setup

The pipeline reads it's input from BigQuery, so you need to first authenticate with your google cloud account inside the docker images. To do that, you need to run this command and follow the instructions:

docker-compose run gcloud auth login

CLI

The pipeline includes a CLI that can be used to start both local test runs and remote full runs. Just run docker-compose run pipeline --help and follow the instructions there.

License

Copyright 2017 Global Fishing Watch

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.