Skip to content

Download region specific forecast time series

Get region data analysis CLI

This script allows the user to download region data analysis of following models.

  • ECMWF HRES
  • ECMWF ENS
  • ECMWF SEAS

Info

To find the available reducer names for a particular model, you can use dataex_list_reducers.py.

Usage

$ dataex_region_data_analysis.py --model_type <str> --reducer <str> --asset_identifier <str> --unique_field <str> --output_format <str> --output <str>

Tip

Option names too long, you can always use their short forms. Check using --help

Options

asset_identifier : str
                   identifier for asset

unique_field     : str
                   unique fields in asset

output_format    : str
                   json or xlsx      

model_type       : str
                   Model names

reducer          : str
                   name of reducer to use

output           : str
                   output filename

The model type input is case-insensitive. Hence, ECMWF_ENS or ecmwf_ens are both valid.

Info

User asset information such as asset identifier and unique field can obtained from dataex_list_user_assets.py.

Example

dataex_region_data_analysis.py -mt ecmwf_hres -r rainfall_daily_weighted_average -ai a248c22c-08de-4c24-a0df-acea44b1850f -uf ADM2_EN -of xlsx -o ./hres_region_data.xlsx

Here, the short option names are utilized. The output is an excel file.