README.md

creatrajs

creatrajs is a R package dedicated to calculating trajectories (or dispersion) and performing operation on them. It builds upon splitr package.

creatrajs also holds a few important fire-related functions (downloading fire data from FIRMS, attaching fires to trajectories etc.).

Setup

Environment variables required:

# Keys
EOSDIS_TOKEN= # To download FIRMS fire data
GOOGLE_MAP_API_KEY=

# Directories
DIR_FIRMS= # Folder where FIRMS data will be downloaded
DIR_HYSPLIT_MET= # Folder where Hysplit meteorological data will be downloaded

# Google Cloud
GCS_DEFAULT_BUCKET=
GCS_AUTH_FILE=

# For later
EARTHDATA_USR=
EARTHDATA_PWD=
GDAL_PATH=

Known Issues

If trajectories returned are empty:

Protobuf

If you're facing google/protobuf/port_def.inc: No such file or directory:

conda install protobuf=3.10.1


energyandcleanair/creatrajs documentation built on Jan. 18, 2024, 3:40 a.m.