Skip to content

Importing Planet Tanager-1 Data

Emissions Import

The Planet import script can be used to import emissions using the Planet file format.

Data Format

Data is expected in the form of one or more GeoJSON files and accompanying plume images. CSV is generated by the import, so unlike other importers, no CSV format is given for this import.

Script Arguments

In addition to the common arguments (environment, api_key, data_path), the Planet script requires:

  • --contains_no_detects - Whether the data contains non-detects: 1 or 0
  • --owner - Name of the company (must exist in the database)

Example

Example of calling the Planet Tanager-1 script on prod-testing environment:

bash
python -m importers.emissions.planet --environment staging --api_key {API_KEY_VALUE} --data_path {PATH_TO_FOLDER} --contains_no_detects 1 --owner A100

Scenes Import

The Planet scene import script can be used to import scenes using the Planet file format.

Data Format

Data is expected in the form of one or more GeoJSON files and accompanying plume images. CSV is generated by the import, so unlike other importers, no CSV format is given for this import.

Script Arguments

Only the common arguments (environment, api_key, data_path) are required for this script.

Example

Example of calling the Planet Tanager-1 scenes script on prod-testing environment:

bash
python -m importers.scenes.planet --environment staging --api_key {API_KEY_VALUE} --data_path {PATH_TO_FOLDER}