Skip to content

Basic FDP Usage

Prerequisites

The first thing you'll need is to obtain and access token. At the moment this is done by signing up (see homepage) and/or directly requesting from a maintainer.

Note that this process will soon be streamlined via integration with the DIII-D user database.

Once you have the token, simply put it in the file ~/.fdp/token. You may need to create ~/.fdp if it doesn't already exist.

The fdp wrapper script

The mechanism by which FDP data on OSDF can be accessed is via the fdp wrapper script.

The basic idea is that if you have a script, say, my_toksearch_script.py, you run

fdp run my_toksearch_script.py

Behind the scenes, the script sets up several environment variables that allow for access to OSDF resources.