Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Format code blocks

ewccli – European Weather Cloud Command Line Interface

The ewccli is a command-line tool for interacting with the European Weather Cloud (EWC).
It is published on PyPI and provides convenient commands for managing resources such as hubs, storage, and deployments.

Table of Contents

Installation

We recommend installing ewccli inside a Python virtual environment.

...

Create

...

and

...

activate

...

a

...

virtual environment:


Code Block
$  environment
python3 -m venv venv
 && source venv/bin/activate

# 

Upgrade

...

pip,

...

then

...

install ewccli:

Code Block
$  ewccli
pip install --upgrade pip
 && pip install ewccli

Verify installation:

Code Block
$ ewc


Initial Commands

Once installed, you can start exploring EWC features. Here are some common commands:

1. List available hubs

Code Block
$ ewc hub list

2. Login

Code Block
$ ewc login

It will guide you through all steps and inputs needed.

3. Deploy an item from the hub

After checking which items can be deployed, you can start to deploy one, for example Pytroll item:

If you deploy from a machine in the same network of your tenancy:

Code Block
$ ewc hub deploy pytroll

If you deploy from a machine outside your tenancy:

Code Block
$ ewc hub deploy pytroll --external-ip

...