Skip to content

wri/upload_records

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Upload records to GFW API

Installation

pip install git+https://github.com/wri/upload_records.git

Create new dataset

create_dataset DATASET_NAME BUCKET [--prefix FILEPREFIX] [--filetype FILEXTENTION]

This tool will create new dataset from first recordset in bucket. Afterwards it will concatenate all remaining recordsets to dataset.

Concatenate records to existing dataset

concatenate_record DATASET BUCKET [--prefix FILEPREFIX] [--filetype FILEXTENTION]

This tool will try to concatenate all files in bucket with given prefix and file extention to dataset. It will try to concatenate until API confirms import with a 204.

Releases

No releases published

Packages

No packages published

Languages