Skip to content

ADMG CASEI data pipeline for platform navigational and stationary data

Notifications You must be signed in to change notification settings

NASA-IMPACT/casei-data-pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

casei-data-pipeline

This repository hosts the code to download and process the ADMG CASEI campaigns navigational data from CMR portal and also a catalog of yaml files containing a list of deployments and files. Furthermore, we store the static platforms location data in a set of CSV files.

How to use

Installation

Switch to the task directory and install the library:

cd task/
yarn install

Set your NASA Earth Data Token as an environment variable:

export EARTH_DATA_TOKEN="<token>"

Downloading data

You can download the campaign files with:

yarn download ../campaigns/<campaign_name>

Process a campaign file collection

We can process a campaign file collection with

yarn process ../campaigns/<campaign_name>

In this case, the <DIR> is the campaign folder, which contains the deployments and platforms as subdirectories. It will generate a single geojson file, named as <CAMPAIGN>.geojson.

Convert a XLSX file to a set of CSVs

The command yarn xls2csv <FILE> can be used to convert a XLSX file to CSV. On this case, each spreadsheet in the file will be exported to CSV, directly in the campaigns folder.

Example of XLSX file: https://docs.google.com/spreadsheets/d/17v-ZfeWoPZoCAVSs57Y3Q1gKUe6S49fZ8rC2KOO_myY/edit?usp=sharing

YAML Schema

The file campaigns-schema.yaml describes the format used in the campaigns files.

About

ADMG CASEI data pipeline for platform navigational and stationary data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published