Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Configuration

Initial configuration in GeospaceLAB

When importing GeospaceLAB for the first time, a sequence of messages will be prompted in the Python console, allowing the user to set the root directory for data storage. All settings are defined in the configuration file, which can be found at:

[YOUR_HOME_DIR]/.geospacelab/config.toml

The default directory for data storage is

[YOUR_HOME_DIR]/Geospacelab/Data

The Swarm data files downloaded from the Swarm Dissemination Sever will be stored in this root data directory. The sub-directories indicates the data providers and data products. Data downloaded from Swarm VirES or HAPI services will be stored in their own cache files.

Configuration for Swarm

Create and set ESA EO account

To access Swarm data from the Swarm Dissemination Sever, an ESA EO account is required. When importing a Swarm dataset for the first time, a message will be prompted in the Python console, asking for the account name and password of ESA Earth Online. Please register an account following the instructions at ESA EO Identity and Access Management System or How do I access Swarm data?.

The account name and password will be stored using Python keyring.

Optional: Configuration for Swarm VirES

By default, GeospaceLAB will download the Swarm data from ESA’s Swarm Dissemination Sever and the data will be stored locally. An developing feature is that a VirES user can use GeospaceLAB to touch the Swarm data that supported in VirES and use the functions in GeospaceLAB to manage and visualize the data. Configuration for the VirES Python client can be found in Swarm Notebooks (see Swarm access through VirES).

Another benefit to use the VirES service is that the data can be accessed without downloading and storing the data locally. This is particularly useful for users with limited local storage space. However, the data access speed may vary, depending on the internet connection and server load. In addition, if the version of the data product is updated, the data accessed through VirES will be updated accordingly. The updated results may be different from the previous results, which may cause issues for reproducibility. Therefore, it is recommended to download and store the data locally for long-term use.